[-] FO : #PSCFV-2149 : Front office translations are connected width sprintf()
This commit is contained in:
@@ -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}
|
||||
Reference in New Issue
Block a user