[-] 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:
1 parent
0b8e21fc01
commit
8fad7b9527
23 files changed
+153
-294
No files matched your search
@@ -26,7 +26,7 @@
|
||||
|
||||
{if isset($errors) && $errors}
|
||||
<div class="error">
|
||||
<p>{if $errors|@count > 1}{l s='There are'}{else}{l s='There is'}{/if} {$errors|@count} {if $errors|@count > 1}{l s='errors'}{else}{l s='error'}{/if} :</p>
|
||||
<p>{if $errors|@count > 1}{l s='There are %d errors' sprintf=$errors|@count}{else}{l s='There is %d error' sprintf=$errors|@count}{/if}</p>
|
||||
<ol>
|
||||
{foreach from=$errors key=k item=error}
|
||||
<li>{$error}</li>
|
||||
|
||||
Reference in new issue
Block a user