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 81fae60f5..4455c007a 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 @@ -92,7 +92,7 @@
{foreach $modules_translations as $theme_name => $theme} -

>{l s='Theme:'} {if $theme_name === $default_theme_name}{l s='default'}{else}{$theme_name}{/if}

+ {if $theme_name}

>{l s='Theme:'} {$theme_name}

{/if} {foreach $theme as $module_name => $module}

{l s='Module:'} {$module_name}

{foreach $module as $template_name => $newLang} @@ -107,7 +107,7 @@ {$missing_translations_module = 0} {/if}
- {if $theme_name === 'default'}{l s='default'}{else}{$theme_name}{/if} - {$template_name} + {if $theme_name}{$theme_name} - {/if}{$template_name} {$newLang|count} {l s='expressions'} ({$missing_translations_module})
diff --git a/controllers/admin/AdminTranslationsController.php b/controllers/admin/AdminTranslationsController.php index 3456183b3..9b360eb8b 100644 --- a/controllers/admin/AdminTranslationsController.php +++ b/controllers/admin/AdminTranslationsController.php @@ -127,7 +127,7 @@ class AdminTranslationsControllerCore extends AdminController $this->l('%1$s (Language: %2$s, Theme: %3$s)'), $this->translations_informations[$this->type_selected]['name'], $this->lang_selected->name, - $this->theme_selected + $this->theme_selected ? $this->theme_selected : $this->l('none') ); // Set vars for all forms