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 b0f0bd01e..d75c82432 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 @@ -73,9 +73,9 @@
- -
- {foreach $translations_type as $type => $array} {/foreach} @@ -83,9 +83,9 @@
- -
- {foreach $themes as $theme} @@ -94,12 +94,11 @@
- {foreach from=$languages item=language} -
+ +
-
- {/foreach} -
- {*{foreach $languages as $language} - - {$language['iso_code']} - - {/foreach}*}
@@ -132,32 +124,30 @@ {l s='Add / Update a language'}
-
-

- {l s='You can add or update a language directly from the PrestaShop website here:'}
- {l s='If you choose to update an existing language pack, all of your previous customization\'s in the theme named "Default" will be lost. This includes Front Office expressions and default email templates.'} -

- {if $packs_to_update || $packs_to_install} - -
- -
- - {else} -

{l s='Cannot connect to the PrestaShop website to get the language list.'}

- {/if} -
+

+ {l s='You can add or update a language directly from the PrestaShop website here:'}
+ {l s='If you choose to update an existing language pack, all of your previous customization\'s in the theme named "Default" will be lost. This includes Front Office expressions and default email templates.'} +

+ {if $packs_to_update || $packs_to_install} + +
+ +
+ + {else} +

{l s='Cannot connect to the PrestaShop website to get the language list.'}

+ {/if} @@ -168,33 +158,29 @@ {l s='Import a language pack manually'} -
-
-

- {l s='If the language file format is: isocode.gzip (e.g. us.gzip), and the language corresponding to this package does not exist, it will automatically be created.'} - {l s='Warning: This will replace all of the existing data inside the destination language.'} -

-
- -
- -
-
-
- -
- -
-
-
-
- -
-
+

+ {l s='If the language file format is: isocode.gzip (e.g. us.gzip), and the language corresponding to this package does not exist, it will automatically be created.'} + {l s='Warning: This will replace all of the existing data inside the destination language.'} +

+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
@@ -211,9 +197,9 @@ {l s='Choose which theme you\'d like to export your translations to. '}

- -
- {foreach $languages as $language} {/foreach} @@ -221,9 +207,9 @@
- -
- {foreach $themes as $theme} {/foreach} @@ -231,7 +217,7 @@
-
+
@@ -250,43 +236,41 @@ {l s='If necessary'}, {l s='you must first create a new language.'}.

-
- -
- -
-
- -
+ +
+
-
- -
- -
-
- -
+
+
-
+ +
+ +
+
+ +
+
+
+
diff --git a/controllers/admin/AdminTranslationsController.php b/controllers/admin/AdminTranslationsController.php index 279ccb6fe..b2c80b915 100644 --- a/controllers/admin/AdminTranslationsController.php +++ b/controllers/admin/AdminTranslationsController.php @@ -1525,7 +1525,9 @@ class AdminTranslationsControllerCore extends AdminController var openAll = \''.html_entity_decode($this->l('Expand all fieldsets'), ENT_NOQUOTES, 'UTF-8').'\'; var closeAll = \''.html_entity_decode($this->l('Close all fieldsets'), ENT_NOQUOTES, 'UTF-8').'\'; - +
+ +
'; return $str_output; }