From 12f96bb1a4e375511ce3138a0ad3761e51655a36 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Wed, 30 Mar 2022 13:12:17 +0100 Subject: [PATCH] Updated translation contributors, added Basque to language options --- .github/translators.txt | 6 ++++++ app/Config/app.php | 2 +- app/Http/Middleware/Localization.php | 1 + resources/lang/en/settings.php | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/translators.txt b/.github/translators.txt index 93a9c21f6..d9e886fad 100644 --- a/.github/translators.txt +++ b/.github/translators.txt @@ -232,3 +232,9 @@ msevgen :: Turkish Khroners :: French MASOUD HOSSEINY (masoudme) :: Persian Thomerson Roncally (roncallyt) :: Portuguese, Brazilian +metaarch :: Bulgarian +Xabi (xabikip) :: Basque +pedromcsousa :: Portuguese +Nir Louk (looknear) :: Hebrew +Alex (qianmengnet) :: Chinese Simplified +stothew :: German diff --git a/app/Config/app.php b/app/Config/app.php index 2329043b6..10359639a 100644 --- a/app/Config/app.php +++ b/app/Config/app.php @@ -71,7 +71,7 @@ return [ 'locale' => env('APP_LANG', 'en'), // Locales available - 'locales' => ['en', 'ar', 'bg', 'bs', 'ca', 'cs', 'da', 'de', 'de_informal', 'es', 'es_AR', 'et', 'fa', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'lt', 'lv', 'nl', 'nb', 'pt', 'pt_BR', 'sk', 'sl', 'sv', 'pl', 'ru', 'th', 'tr', 'uk', 'vi', 'zh_CN', 'zh_TW'], + 'locales' => ['en', 'ar', 'bg', 'bs', 'ca', 'cs', 'da', 'de', 'de_informal', 'es', 'es_AR', 'et', 'eu', 'fa', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'lt', 'lv', 'nl', 'nb', 'pt', 'pt_BR', 'sk', 'sl', 'sv', 'pl', 'ru', 'th', 'tr', 'uk', 'vi', 'zh_CN', 'zh_TW'], // Application Fallback Locale 'fallback_locale' => 'en', diff --git a/app/Http/Middleware/Localization.php b/app/Http/Middleware/Localization.php index d8e1253e5..83de55eb3 100644 --- a/app/Http/Middleware/Localization.php +++ b/app/Http/Middleware/Localization.php @@ -29,6 +29,7 @@ class Localization 'es' => 'es_ES', 'es_AR' => 'es_AR', 'et' => 'et_EE', + 'eu' => 'eu_ES', 'fr' => 'fr_FR', 'he' => 'he_IL', 'hr' => 'hr_HR', diff --git a/resources/lang/en/settings.php b/resources/lang/en/settings.php index 3adefc2eb..7461c9d4e 100755 --- a/resources/lang/en/settings.php +++ b/resources/lang/en/settings.php @@ -277,6 +277,7 @@ return [ 'es' => 'Español', 'es_AR' => 'Español Argentina', 'et' => 'Eesti keel', + 'eu' => 'Euskara', 'fr' => 'Français', 'he' => 'עברית', 'hr' => 'Hrvatski',