[-] FO : #PSCFV-2149 : Front office translations are connected width sprintf()

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15230 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre committed 2012-05-11 14:25:25 +00:00
1 parent 0b8e21fc01
commit 8fad7b9527
23 files changed
+153 -294

No files matched your search

+5 -3
View File
@@ -26,7 +26,9 @@
{if $category->id == 1 OR $nb_products == 0}
{l s='There are no products.'}
{else}
{if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if} 
{$nb_products} 
{if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if}
{if $nb_products == 1}
{l s='There is %d product.' sprintf=$nb_products}
{else}
{l s='There are %d products.' sprintf=$nb_products}
{/if}
{/if}