From 58dfaf395ee5a06358bedf10e1f1300b74826782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szab=C3=B3=20Gerg=C5=91?= Date: Fri, 28 Apr 2017 09:01:21 +0200 Subject: [PATCH] Improve translations --- modules/cms/controllers/themes/_theme_list_item.htm | 2 +- modules/cms/lang/en/lang.php | 4 ++-- modules/cms/lang/hu/lang.php | 6 +++--- modules/system/controllers/updates/_install_plugins.htm | 3 +-- modules/system/controllers/updates/_install_themes.htm | 3 +-- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/modules/cms/controllers/themes/_theme_list_item.htm b/modules/cms/controllers/themes/_theme_list_item.htm index ce25138da..afcb578f6 100644 --- a/modules/cms/controllers/themes/_theme_list_item.htm +++ b/modules/cms/controllers/themes/_theme_list_item.htm @@ -8,7 +8,7 @@

getConfigValue('name', $theme->getDirName())) ?>

-

+

getConfigValue('homepage', '#')).'">'.e($author).'', e(trans('cms::lang.theme.by_author'))) ?>

getConfigValue('description', 'The theme description is not provided.')) ?> diff --git a/modules/cms/lang/en/lang.php b/modules/cms/lang/en/lang.php index aab798565..7bab451cc 100644 --- a/modules/cms/lang/en/lang.php +++ b/modules/cms/lang/en/lang.php @@ -7,7 +7,7 @@ return [ 'file_already_exists' => "File ':name' already exists.", 'error_saving' => "Error saving file ':name'. Please check write permissions.", 'error_creating_directory' => 'Error creating directory :name. Please check write permissions.', - 'invalid_file_extension'=>'Invalid file extension: :invalid. Allowed extensions are: :allowed.', + 'invalid_file_extension' => 'Invalid file extension: :invalid. Allowed extensions are: :allowed.', 'error_deleting' => "Error deleting the template file ':name'. Please check write permissions.", 'delete_success' => 'Templates deleted: :count.', 'file_name_required' => 'The File Name field is required.', @@ -24,7 +24,7 @@ return [ ], 'theme' => [ 'not_found_name' => "The theme ':name' is not found.", - 'by' => 'By', + 'by_author' => 'By :name', 'active' => [ 'not_set' => 'The active theme is not set.', 'not_found' => 'The active theme is not found.' diff --git a/modules/cms/lang/hu/lang.php b/modules/cms/lang/hu/lang.php index f1061d01c..654bc4b02 100644 --- a/modules/cms/lang/hu/lang.php +++ b/modules/cms/lang/hu/lang.php @@ -7,11 +7,11 @@ return [ 'file_already_exists' => "Már létezik ':name' nevű fájl.", 'error_saving' => "Hiba a(z) ':name' fájl mentésekor. Ellenőrizze az írási engedélyeket.", 'error_creating_directory' => 'Hiba a(z) :name könyvtár létrehozásakor. Ellenőrizze az írási engedélyeket.', - 'invalid_file_extension'=>'Érvénytelen fájl kiterjesztés: :invalid. Az engedélyezett kiterjesztések: :allowed.', + 'invalid_file_extension' => 'Érvénytelen kiterjesztés: :invalid. Engedélyezett kiterjesztések: :allowed.', 'error_deleting' => "Hiba a(z) ':name' sablonfájl törlésekor. Ellenőrizze az írási engedélyeket.", 'delete_success' => 'A sablonok törlése sikerült: :count.', 'file_name_required' => 'A Fájlnév mező kitöltése kötelező.', - 'safe_mode_enabled' => 'A biztonságos mód jelenleg engedélyezett.' + 'safe_mode_enabled' => 'A biztonságos mód jelenleg aktív.' ], 'dashboard' => [ 'active_theme' => [ @@ -24,7 +24,7 @@ return [ ], 'theme' => [ 'not_found_name' => "A következő téma nem található: ':name'", - 'by' => 'Fejlesztő:', + 'by_author' => 'Fejlesztő: :name', 'active' => [ 'not_set' => 'Nincs beállítva az aktív téma.', 'not_found' => 'Az aktív téma nem található.' diff --git a/modules/system/controllers/updates/_install_plugins.htm b/modules/system/controllers/updates/_install_plugins.htm index 53144734c..df0fe834f 100644 --- a/modules/system/controllers/updates/_install_plugins.htm +++ b/modules/system/controllers/updates/_install_plugins.htm @@ -1,4 +1,3 @@ -

@@ -46,7 +45,7 @@

-

+

-

+