[*] BO : now you could translate a mobile theme

This commit is contained in:
lLefevre
2012-08-29 12:35:32 +00:00
parent 6d0751853c
commit 7c2e828a1b
7 changed files with 52 additions and 14 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
}
$(function()
{
var errorTitle = '{/literal}{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} :{literal}';
var errorTitle = '{/literal}{if $errors|@count > 1}{l s='There are %d errors:' sprintf=$errors|@count}{else}{l s='There is %d error:' sprintf=$errors|@count}{/if}:{literal}';
var errorMessage = '<ol>';
{/literal}
{foreach from=$errors key=k item=error}