From bb1c92130eb4e663112281ac53e21e92fef9ed82 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Sat, 4 Feb 2023 13:46:59 +0100 Subject: [PATCH] Add Czech translation --- common_config.php | 1 + locale/{cs => cs_CZ}/LC_MESSAGES/onion-link-list.mo | Bin locale/{cs => cs_CZ}/LC_MESSAGES/onion-link-list.po | 0 3 files changed, 1 insertion(+) rename locale/{cs => cs_CZ}/LC_MESSAGES/onion-link-list.mo (100%) rename locale/{cs => cs_CZ}/LC_MESSAGES/onion-link-list.po (100%) diff --git a/common_config.php b/common_config.php index b29e91d..0500a12 100644 --- a/common_config.php +++ b/common_config.php @@ -20,6 +20,7 @@ const CANONICAL_URL = 'https://onions.danwin1210.de'; // our preferred domain fo const CAPTCHA = 0; // Captcha difficulty (0=off, 1=simple, 2=moderate, 3=extreme) // Language selection 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'], 'fa' => ['name' => 'فارسی', 'locale' => 'fa_IR', 'flag' => '🇮🇷', 'show_in_menu' => true, 'dir' => 'rtl'], diff --git a/locale/cs/LC_MESSAGES/onion-link-list.mo b/locale/cs_CZ/LC_MESSAGES/onion-link-list.mo similarity index 100% rename from locale/cs/LC_MESSAGES/onion-link-list.mo rename to locale/cs_CZ/LC_MESSAGES/onion-link-list.mo diff --git a/locale/cs/LC_MESSAGES/onion-link-list.po b/locale/cs_CZ/LC_MESSAGES/onion-link-list.po similarity index 100% rename from locale/cs/LC_MESSAGES/onion-link-list.po rename to locale/cs_CZ/LC_MESSAGES/onion-link-list.po