diff --git a/admin-dev/themes/default/template/controllers/attribute_generator/content.tpl b/admin-dev/themes/default/template/controllers/attribute_generator/content.tpl index 8a2be937c..26b69a2ac 100644 --- a/admin-dev/themes/default/template/controllers/attribute_generator/content.tpl +++ b/admin-dev/themes/default/template/controllers/attribute_generator/content.tpl @@ -65,7 +65,7 @@ {if $generate}
- {$combinations_size} {l s='product(s) successfully created.'} + {l s='%d product(s) successfully created.' sprintf=$combinations_size}
{/if} diff --git a/admin-dev/themes/default/template/controllers/carts/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/carts/helpers/view/view.tpl index b119a0774..c0bcebaf7 100755 --- a/admin-dev/themes/default/template/controllers/carts/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/carts/helpers/view/view.tpl @@ -51,7 +51,7 @@

{l s='Order information'}

{if $order->id} - {l s='Order #'}{$order->id|string_format:"%06d"} + {l s='Order #%d' sprintf=$order->id|string_format:"%06d"}

{l s='Made on:'} {dateFormat date=$order->date_add}



{else} diff --git a/admin-dev/themes/default/template/controllers/customers/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/customers/helpers/view/view.tpl index 667fd577e..02f5d7deb 100644 --- a/admin-dev/themes/default/template/controllers/customers/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/customers/helpers/view/view.tpl @@ -144,7 +144,7 @@
 
{else} - {$customer->firstname} {$customer->lastname} {l s='has never contacted you'} + {l s='%1$s %2$s has never contacted you' sprintf=[$customer->firstname, $customer->lastname]} {/if} {* display hook specified to this page : AdminCustomers *} @@ -262,7 +262,7 @@
 
{/if} {else} - {$customer->firstname} {$customer->lastname} {l s='has not placed any orders yet'} + {l s='%1$s %2$s has not placed any orders yet' sprintf=[$customer->firstname, $customer->lastname]} {/if} {if $products AND count($products)} @@ -334,7 +334,7 @@ {/foreach} {else} - {$customer->firstname} {$customer->lastname} {l s='has not registered any addresses yet'} + {l s='%1$s %2$s has not registered any addresses yet' sprintf=[$customer->firstname, $customer->lastname]} {/if}
 
@@ -362,7 +362,7 @@ {/foreach} {else} - {$customer->firstname} {$customer->lastname} {l s='has no discount vouchers'}. + {l s='%1$s %2$s has no discount vouchers' sprintf=[$customer->firstname, $customer->lastname]}. {/if}
 
diff --git a/admin-dev/themes/default/template/controllers/groups/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/groups/helpers/form/form.tpl index 8e8c9910e..d5102de0a 100644 --- a/admin-dev/themes/default/template/controllers/groups/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/groups/helpers/form/form.tpl @@ -171,7 +171,7 @@ {foreach $input['values'] key=key item=category } {$category.path} - {l s='Discount:'} {$category.reduction}{l s='%'} + {l s='Discount: %d%' sprintf=$category.reduction} diff --git a/admin-dev/themes/default/template/controllers/groups/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/groups/helpers/view/view.tpl index bfc31fa81..a0f783c68 100755 --- a/admin-dev/themes/default/template/controllers/groups/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/groups/helpers/view/view.tpl @@ -31,7 +31,7 @@