From 0b5d077cdc9272e26377c3830a52b23ed2d76a7b Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Sun, 22 Jan 2023 14:40:57 +0100 Subject: [PATCH] Add Chinese translation --- common.php | 1 + .../{zh_Hans => zh_CN}/LC_MESSAGES/main-website.mo | Bin .../{zh_Hans => zh_CN}/LC_MESSAGES/main-website.po | 0 3 files changed, 1 insertion(+) rename locale/{zh_Hans => zh_CN}/LC_MESSAGES/main-website.mo (100%) rename locale/{zh_Hans => zh_CN}/LC_MESSAGES/main-website.po (100%) diff --git a/common.php b/common.php index 866f31f..ff555d8 100644 --- a/common.php +++ b/common.php @@ -46,6 +46,7 @@ const LANGUAGES = [ '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'], 'ru' => ['name' => 'ะ ัƒััะบะธะน', 'locale' => 'ru_RU', 'flag' => '๐Ÿ‡ท๐Ÿ‡บ', 'show_in_menu' => true, 'dir' => 'ltr'], + 'zh-Hans' => ['name' => '็ฎ€ไฝ“ไธญๆ–‡', 'locale' => 'zh_CN', 'flag' => '๐Ÿ‡จ๐Ÿ‡ณ', 'show_in_menu' => true, 'dir' => 'ltr'], ]; $language = 'en'; $locale = 'en_GB'; diff --git a/locale/zh_Hans/LC_MESSAGES/main-website.mo b/locale/zh_CN/LC_MESSAGES/main-website.mo similarity index 100% rename from locale/zh_Hans/LC_MESSAGES/main-website.mo rename to locale/zh_CN/LC_MESSAGES/main-website.mo diff --git a/locale/zh_Hans/LC_MESSAGES/main-website.po b/locale/zh_CN/LC_MESSAGES/main-website.po similarity index 100% rename from locale/zh_Hans/LC_MESSAGES/main-website.po rename to locale/zh_CN/LC_MESSAGES/main-website.po