diff --git a/admin-dev/themes/default/template/controllers/countries/helpers/list/list_footer.tpl b/admin-dev/themes/default/template/controllers/countries/helpers/list/list_footer.tpl index 57a2e9369..f512ab93f 100644 --- a/admin-dev/themes/default/template/controllers/countries/helpers/list/list_footer.tpl +++ b/admin-dev/themes/default/template/controllers/countries/helpers/list/list_footer.tpl @@ -25,27 +25,31 @@ {if $bulk_actions} -

+

{if $bulk_actions|count > 1} - - +
+ +
+ {else} {foreach $bulk_actions as $key => $params} {if $key == 'affectzone'} - +
+ +
{/if} - + {/foreach} {/if} -

+
{/if} diff --git a/admin-dev/themes/default/template/controllers/states/helpers/list/list_footer.tpl b/admin-dev/themes/default/template/controllers/states/helpers/list/list_footer.tpl index 57a2e9369..9a8924ab3 100644 --- a/admin-dev/themes/default/template/controllers/states/helpers/list/list_footer.tpl +++ b/admin-dev/themes/default/template/controllers/states/helpers/list/list_footer.tpl @@ -25,27 +25,29 @@ {if $bulk_actions} -

- {if $bulk_actions|count > 1} - {foreach $bulk_actions as $key => $params} {/foreach} - - {else} - {foreach $bulk_actions as $key => $params} - {if $key == 'affectzone'} + + + {else} + {foreach $bulk_actions as $key => $params} + {if $key == 'affectzone'} +

- {/if} - - {/foreach} - {/if} -

+
+ {/if} + + {/foreach} + {/if} {/if} diff --git a/admin-dev/themes/default/template/controllers/translations/helpers/view/main.tpl b/admin-dev/themes/default/template/controllers/translations/helpers/view/main.tpl index 549df1f24..3293564c2 100644 --- a/admin-dev/themes/default/template/controllers/translations/helpers/view/main.tpl +++ b/admin-dev/themes/default/template/controllers/translations/helpers/view/main.tpl @@ -70,9 +70,9 @@ {l s='Here you can modify translations for every line of code inside PrestaShop.'}
{l s='First, select a section (such as Back Office or Installed modules), and then click the flag representing the language you want to edit.'}

- -
+ +
{foreach $languages as $language} @@ -221,8 +221,8 @@
- -
+ +
diff --git a/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_errors.tpl b/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_errors.tpl index 334dc466b..d2cc59fd9 100644 --- a/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_errors.tpl +++ b/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_errors.tpl @@ -44,14 +44,13 @@
{else} -
+
{l s='Some sentences to translate use this syntax: %s... These are variables, and PrestaShop take care of replacing them before displaying your translation. You must leave these in your translations, and place them appropriately in your sentence.' sprintf='%d, %s, %1$s, %2$d'} -


- -

- {l s='Expressions to translate: %d.' sprintf=$count}
- {l s='Total missing expresssions: %d.' sprintf=$missing_translations|array_sum}
-

+
+
+

{l s='Expressions to translate:'} {l s='%d' sprintf=$count}

+

{l s='Total missing expresssions:'} {l s='%d' sprintf=$missing_translations|array_sum}

+
- - -
-
-

- {l s='This expression uses this special syntax:'} %d.
- {l s='You must use this syntax in your translations. Here are several examples:'} -

- -
-
- -

- {foreach $tabsArray as $k => $newLang} - {if !empty($newLang)} -
- - {$k} - {$newLang|count} {l s='expressions'} - {if isset($missing_translations[$k])}({$missing_translations[$k]} {l s='missing'}){/if} - -
- - {counter start=0 assign=irow} - {foreach $newLang as $key => $value}{counter} - - - - - {/foreach} -
{$key|stripslashes}= {*todo : md5 is already calculated in AdminTranslationsController*} - {if $key|strlen < $textarea_sized} - - {else} - - {/if} - {if isset($value.use_sprintf) && $value.use_sprintf} - - {$value.use_sprintf} - - {/if} -
+
+
+

+ {l s='This expression uses this special syntax:'} %d. + {l s='You must use this syntax in your translations. Here are several examples:'} +

+
-
- {/if} - {/foreach} + + + {foreach $tabsArray as $k => $newLang} + {if !empty($newLang)} +
+

+ {$k} - {$newLang|count} {l s='expressions'} + {if isset($missing_translations[$k])} {$missing_translations[$k]} {l s='missing'}{/if} +

+
+ + {counter start=0 assign=irow} + {foreach $newLang as $key => $value}{counter} + + + + + + + {/foreach} +
{$key|stripslashes}= {*todo : md5 is already calculated in AdminTranslationsController*} + {if $key|strlen < $textarea_sized} + + {else} + + {/if} + + {if isset($value.use_sprintf) && $value.use_sprintf} + + {$value.use_sprintf} + + {/if} +
+
+
+ {/if} + {/foreach} {/if} diff --git a/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_mails.tpl b/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_mails.tpl index 9d790fc36..62efacfdc 100644 --- a/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_mails.tpl +++ b/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_mails.tpl @@ -46,56 +46,66 @@ {else} -
-
-
- {$toggle_button} - - - - + +
+ {$toggle_button} + + + + - + -
-
-

- {l s='This expression uses this special syntax:'} %d.
- {l s='You must use this syntax in your translations. Here are several examples:'} -

-
    -
  • There are %d products ("%d" {l s='will be replaced by a number'}).
  • -
  • List of pages in %s: ("%s" {l s='will be replaced by a string'}).
  • -
  • Feature: %1$s (%2$d values) ("n$" {l s='is used for the order of the arguments'}).
  • -
+
+
+

+ {l s='This expression uses this special syntax:'} %d.
+ {l s='You must use this syntax in your translations. Here are several examples:'} +

+ +
-
- -

{l s='Core emails:'}

-

{l s='List of emails in the folder'} "mails/{$lang|strtolower}/"

- {$mail_content} - -

{l s='Module emails:'}

-

{l s='List of emails in the folder'} "modules/name_of_module/mails/{$lang|strtolower}/"

- {foreach $module_mails as $module_name => $mails} - {$mails['display']} - {/foreach} +
+
+

+ + {l s='Core emails:'} +

+

{l s='List of emails in the folder'} "mails/{$lang|strtolower}/"

+ {$mail_content} +
+
+

+ + {l s='Module emails:'} +

+

{l s='List of emails in the folder'} "modules/name_of_module/mails/{$lang|strtolower}/"

+ {foreach $module_mails as $module_name => $mails} + {$mails['display']} + {/foreach} +
{/if} diff --git a/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_modules.tpl b/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_modules.tpl index 21bb1b6c6..13f044ab9 100644 --- a/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_modules.tpl +++ b/admin-dev/themes/default/template/controllers/translations/helpers/view/translation_modules.tpl @@ -44,17 +44,16 @@ {else} -
-
+
+

{l s='Expressions to translate:'} {l s='%d' sprintf=$count}

+

{l s='Total missing expresssions:'} {l s='%d' sprintf=$missing_translations}

+