From 45387ad3c7fb32b5ada54547a7cc30145067faad Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Fri, 12 May 2023 15:38:08 +0200 Subject: [PATCH] Add polish and turkish translation --- common_config.php | 2 ++ locale/{pl => pl_PL}/LC_MESSAGES/mail-hosting.mo | Bin locale/{pl => pl_PL}/LC_MESSAGES/mail-hosting.po | 0 locale/{tr => tr_TR}/LC_MESSAGES/mail-hosting.mo | Bin locale/{tr => tr_TR}/LC_MESSAGES/mail-hosting.po | 0 5 files changed, 2 insertions(+) rename locale/{pl => pl_PL}/LC_MESSAGES/mail-hosting.mo (100%) rename locale/{pl => pl_PL}/LC_MESSAGES/mail-hosting.po (100%) rename locale/{tr => tr_TR}/LC_MESSAGES/mail-hosting.mo (100%) rename locale/{tr => tr_TR}/LC_MESSAGES/mail-hosting.po (100%) diff --git a/common_config.php b/common_config.php index 850bc6b..c1fd542 100644 --- a/common_config.php +++ b/common_config.php @@ -31,7 +31,9 @@ const LANGUAGES = [ 'cs' => ['name' => 'čeština', 'locale' => 'cs_CZ', 'flag' => '🇨🇿', 'show_in_menu' => true, 'dir' => 'ltr'], 'de' => ['name' => 'Deutsch', 'locale' => 'de_DE', 'flag' => '🇩🇪', 'show_in_menu' => true, 'dir' => 'ltr'], 'en' => ['name' => 'English', 'locale' => 'en_GB', 'flag' => '🇬🇧', 'show_in_menu' => true, 'dir' => 'ltr'], + 'pl' => ['name' => 'Polski', 'locale' => 'pl_PL', 'flag' => '🇵🇱', 'show_in_menu' => true, 'dir' => 'ltr'], 'ru' => ['name' => 'Русский', 'locale' => 'ru_RU', 'flag' => '🇷🇺', 'show_in_menu' => true, 'dir' => 'ltr'], + 'tr' => ['name' => 'Türkçe', 'locale' => 'tr_TR', 'flag' => '🇹🇷', 'show_in_menu' => true, 'dir' => 'ltr'], ]; $language = 'en'; $locale = 'en_GB'; diff --git a/locale/pl/LC_MESSAGES/mail-hosting.mo b/locale/pl_PL/LC_MESSAGES/mail-hosting.mo similarity index 100% rename from locale/pl/LC_MESSAGES/mail-hosting.mo rename to locale/pl_PL/LC_MESSAGES/mail-hosting.mo diff --git a/locale/pl/LC_MESSAGES/mail-hosting.po b/locale/pl_PL/LC_MESSAGES/mail-hosting.po similarity index 100% rename from locale/pl/LC_MESSAGES/mail-hosting.po rename to locale/pl_PL/LC_MESSAGES/mail-hosting.po diff --git a/locale/tr/LC_MESSAGES/mail-hosting.mo b/locale/tr_TR/LC_MESSAGES/mail-hosting.mo similarity index 100% rename from locale/tr/LC_MESSAGES/mail-hosting.mo rename to locale/tr_TR/LC_MESSAGES/mail-hosting.mo diff --git a/locale/tr/LC_MESSAGES/mail-hosting.po b/locale/tr_TR/LC_MESSAGES/mail-hosting.po similarity index 100% rename from locale/tr/LC_MESSAGES/mail-hosting.po rename to locale/tr_TR/LC_MESSAGES/mail-hosting.po