[-] BO : fix #PSCFV-2365 : add message for using the sprintf() in yours translations
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15473 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+7
-3
@@ -28,9 +28,13 @@
|
||||
|
||||
{block name="override_tpl"}
|
||||
|
||||
<div class="hint" style="display:block;">
|
||||
{l s='Some sentences to translate uses this syntax: %s...: You must let it in your translations.' sprintf='%d, %s, %1$s, %2$d'}
|
||||
</div><br /><br />
|
||||
|
||||
<p>
|
||||
{l s='Expressions to translate'} : <b>{$count}</b>.<br />
|
||||
{l s='Total missing expresssions:'} {$missing_translations|array_sum}<br />
|
||||
{l s='Expressions to translate: %d.' sprintf=$count}<br />
|
||||
{l s='Total missing expresssions: %d.' sprintf=$missing_translations|array_sum}<br />
|
||||
</p>
|
||||
|
||||
{if $post_limit_exceeded}
|
||||
@@ -38,7 +42,7 @@
|
||||
{if $limit_warning['error_type'] == 'suhosin'}
|
||||
{l s='Warning, your hosting provider is using the suhosin patch for PHP, which limits the maximum number of fields to post in a form:'}
|
||||
|
||||
<b>{$limit_warning['post.max_vars']}</b>{l s='for suhosin.post.max_vars.'}<br/>
|
||||
<b>{$limit_warning['post.max_vars']}</b> {l s='for suhosin.post.max_vars.'}<br/>
|
||||
<b>{$limit_warning['request.max_vars']}</b> {l s='for suhosin.request.max_vars.'}<br/>
|
||||
{l s='Please ask your hosting provider to increase the suhosin post and request a limit of'}
|
||||
{else}
|
||||
|
||||
+9
-4
@@ -28,11 +28,16 @@
|
||||
|
||||
{block name="override_tpl"}
|
||||
|
||||
<div class="hint" style="display:block;">{l s='Click on the titles to open fieldsets'}.</div><br /><br />
|
||||
<div class="hint" style="display:block;">
|
||||
<ul style="margin-left:30px;list-style-type:disc;">
|
||||
<li>{l s='Click on the titles to open fieldsets'}.</li>
|
||||
<li>{l s='Some sentences to translate uses this syntax: %s...: You must let it in your translations.' sprintf='%d, %s, %1$s, %2$d'}</li>
|
||||
</ul>
|
||||
</div><br /><br />
|
||||
|
||||
<p>
|
||||
{l s='Expressions to translate'} : <b>{$count}</b>.<br />
|
||||
{l s='Total missing expresssions:'} {$missing_translations|array_sum}.<br />
|
||||
{l s='Expressions to translate: %d.' sprintf=$count}<br />
|
||||
{l s='Total missing expresssions: %d.' sprintf=$missing_translations|array_sum}<br />
|
||||
</p>
|
||||
|
||||
{if $post_limit_exceeded}
|
||||
@@ -40,7 +45,7 @@
|
||||
{if $limit_warning['error_type'] == 'suhosin'}
|
||||
{l s='Warning, your hosting provider is using the suhosin patch for PHP, which limits the maximum number of fields to post in a form:'}
|
||||
|
||||
<b>{$limit_warning['post.max_vars']}</b>{l s='for suhosin.post.max_vars.'}<br/>
|
||||
<b>{$limit_warning['post.max_vars']}</b> {l s='for suhosin.post.max_vars.'}<br/>
|
||||
<b>{$limit_warning['request.max_vars']}</b> {l s='for suhosin.request.max_vars.'}<br/>
|
||||
{l s='Please ask your hosting provider to increase the suhosin post and request a limit of'}
|
||||
{else}
|
||||
|
||||
+8
-3
@@ -28,8 +28,13 @@
|
||||
|
||||
{block name="override_tpl"}
|
||||
|
||||
<div class="hint" style="display:block;">{l s='Click on the titles to open fieldsets'}.</div><br /><br />
|
||||
|
||||
<div class="hint" style="display:block;">
|
||||
<ul style="margin-left:30px;list-style-type:disc;">
|
||||
<li>{l s='Click on the titles to open fieldsets'}.</li>
|
||||
<li>{l s='Some sentences to translate uses this syntax: %s...: You must let it in your translations.' sprintf='%d, %s, %1$s, %2$d'}</li>
|
||||
</ul>
|
||||
</div><br /><br />
|
||||
|
||||
{$tinyMCE}
|
||||
|
||||
{if $post_limit_exceeded}
|
||||
@@ -37,7 +42,7 @@
|
||||
{if $limit_warning['error_type'] == 'suhosin'}
|
||||
{l s='Warning, your hosting provider is using the suhosin patch for PHP, which limits the maximum number of fields to post in a form:'}
|
||||
|
||||
<b>{$limit_warning['post.max_vars']}</b>{l s='for suhosin.post.max_vars.'}<br/>
|
||||
<b>{$limit_warning['post.max_vars']}</b> {l s='for suhosin.post.max_vars.'}<br/>
|
||||
<b>{$limit_warning['request.max_vars']}</b> {l s='for suhosin.request.max_vars.'}<br/>
|
||||
{l s='Please ask your hosting provider to increase the suhosin post and request a limit of'}
|
||||
{else}
|
||||
|
||||
+9
-4
@@ -28,11 +28,16 @@
|
||||
|
||||
{block name="override_tpl"}
|
||||
|
||||
<div class="hint" style="display:block;">{l s='Click on the titles to open fieldsets'}.</div><br /><br />
|
||||
<div class="hint" style="display:block;">
|
||||
<ul style="margin-left:30px;list-style-type:disc;">
|
||||
<li>{l s='Click on the titles to open fieldsets'}.</li>
|
||||
<li>{l s='Some sentences to translate uses this syntax: %s...: You must let it in your translations.' sprintf='%d, %s, %1$s, %2$d'}</li>
|
||||
</ul>
|
||||
</div><br /><br />
|
||||
|
||||
<p>
|
||||
{l s='Expressions to translate'} : <b>{$count}</b>.<br />
|
||||
{l s='Total missing expresssions:'} {$missing_translations}.<br />
|
||||
{l s='Expressions to translate: %d.' sprintf=$count}<br />
|
||||
{l s='Total missing expresssions: %d.' sprintf=$missing_translations}<br />
|
||||
</p>
|
||||
|
||||
{if $post_limit_exceeded}
|
||||
@@ -40,7 +45,7 @@
|
||||
{if $limit_warning['error_type'] == 'suhosin'}
|
||||
{l s='Warning, your hosting provider is using the suhosin patch for PHP, which limits the maximum number of fields to post in a form:'}
|
||||
|
||||
<b>{$limit_warning['post.max_vars']}</b>{l s='for suhosin.post.max_vars.'}<br/>
|
||||
<b>{$limit_warning['post.max_vars']}</b> {l s='for suhosin.post.max_vars.'}<br/>
|
||||
<b>{$limit_warning['request.max_vars']}</b> {l s='for suhosin.request.max_vars.'}<br/>
|
||||
{l s='Please ask your hosting provider to increase the suhosin post and request a limit of'}
|
||||
{else}
|
||||
|
||||
Reference in New Issue
Block a user