From 45f4e290aa3611b8e2e5245567143a23998ae352 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Fri, 12 May 2023 15:19:10 +0200 Subject: [PATCH] Add turkish translation --- common.php | 1 + locale/{tr => tr_TR}/LC_MESSAGES/main-website.mo | Bin locale/{tr => tr_TR}/LC_MESSAGES/main-website.po | 0 3 files changed, 1 insertion(+) rename locale/{tr => tr_TR}/LC_MESSAGES/main-website.mo (100%) rename locale/{tr => tr_TR}/LC_MESSAGES/main-website.po (100%) diff --git a/common.php b/common.php index de0d14f..315f251 100644 --- a/common.php +++ b/common.php @@ -58,6 +58,7 @@ const LANGUAGES = [ 'en' => ['name' => 'English', 'locale' => 'en_GB', 'flag' => '🇬🇧', 'show_in_menu' => true, 'dir' => 'ltr'], 'pt-BR' => ['name' => 'Brazilian Portuguese', 'locale' => 'pt_BR', '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'], 'zh-Hans' => ['name' => '简体中文', 'locale' => 'zh_CN', 'flag' => '🇨🇳', 'show_in_menu' => true, 'dir' => 'ltr'], ]; $language = 'en'; diff --git a/locale/tr/LC_MESSAGES/main-website.mo b/locale/tr_TR/LC_MESSAGES/main-website.mo similarity index 100% rename from locale/tr/LC_MESSAGES/main-website.mo rename to locale/tr_TR/LC_MESSAGES/main-website.mo diff --git a/locale/tr/LC_MESSAGES/main-website.po b/locale/tr_TR/LC_MESSAGES/main-website.po similarity index 100% rename from locale/tr/LC_MESSAGES/main-website.po rename to locale/tr_TR/LC_MESSAGES/main-website.po