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