From c9cb14082f01b7cb2fb79d5225f617147587b681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=84=86=E8=96=AF=E9=A5=BC?= Date: Thu, 19 Dec 2024 15:12:49 +0800 Subject: [PATCH] feat(database): Universal.Configs.Languages Update Universal.json Update database.mjs --- src/database/Universal.json | 10 +++++----- src/function/database.mjs | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/database/Universal.json b/src/database/Universal.json index 5d3494d1..b007b8f7 100644 --- a/src/database/Universal.json +++ b/src/database/Universal.json @@ -45,12 +45,12 @@ "SL": ["sl", "sl-SI", "slv"], "SV": ["sv", "sv-SE", "swe"], "IS": ["is", "is-IS", "isl"], - "ZH": ["zh", "cmn", "zho", "zh-CN", "zh-Hans", "cmn-Hans", "zh-TW", "zh-Hant", "cmn-Hant", "zh-HK", "yue-Hant", "yue"], - "ZH-CN": ["zh-CN", "zh-Hans", "cmn-Hans", "zho"], - "ZH-HANS": ["zh-Hans", "cmn-Hans", "zh-CN", "zho"], + "ZH": ["zh", "cmn", "zho", "zh-CN", "zh-Hans", "zh-Hans-SG", "cmn-Hans", "zh-TW", "zh-Hant", "zh-Hant-TW", "cmn-Hant", "zh-HK", "yue-Hant", "yue"], + "ZH-CN": ["zh-CN", "zh-Hans", "cmn-Hans", "zh-Hans-SG", "zho"], + "ZH-HANS": ["zh-Hans", "zh-Hans-SG", "cmn-Hans", "zh-CN", "zho"], "ZH-HK": ["zh-HK", "yue-Hant", "yue", "zho"], - "ZH-TW": ["zh-TW", "zh-Hant", "cmn-Hant", "zho"], - "ZH-HANT": ["zh-Hant", "cmn-Hant", "zh-TW", "zho"], + "ZH-TW": ["zh-TW", "zh-Hant-TW", "zh-Hant", "cmn-Hant", "zho"], + "ZH-HANT": ["zh-Hant", "zh-Hant-TW", "cmn-Hant", "zh-TW", "zho"], "YUE": ["yue", "yue-Hant", "zh-HK", "zho"], "YUE-HK": ["yue-Hant", "yue", "zh-HK", "zho"] } diff --git a/src/function/database.mjs b/src/function/database.mjs index c62ea4ac..c6a8456b 100644 --- a/src/function/database.mjs +++ b/src/function/database.mjs @@ -46,12 +46,12 @@ export default { SL: ["sl", "sl-SI", "slv"], SV: ["sv", "sv-SE", "swe"], IS: ["is", "is-IS", "isl"], - ZH: ["zh", "cmn", "zho", "zh-CN", "zh-Hans", "cmn-Hans", "zh-TW", "zh-Hant", "cmn-Hant", "zh-HK", "yue-Hant", "yue"], - "ZH-CN": ["zh-CN", "zh-Hans", "cmn-Hans", "zho"], - "ZH-HANS": ["zh-Hans", "cmn-Hans", "zh-CN", "zho"], + ZH: ["zh", "cmn", "zho", "zh-CN", "zh-Hans", "zh-Hans-SG", "cmn-Hans", "zh-TW", "zh-Hant", "zh-Hant-TW", "cmn-Hant", "zh-HK", "yue-Hant", "yue"], + "ZH-CN": ["zh-CN", "zh-Hans", "cmn-Hans", "zh-Hans-SG", "zho"], + "ZH-HANS": ["zh-Hans", "zh-Hans-SG", "cmn-Hans", "zh-CN", "zho"], "ZH-HK": ["zh-HK", "yue-Hant", "yue", "zho"], - "ZH-TW": ["zh-TW", "zh-Hant", "cmn-Hant", "zho"], - "ZH-HANT": ["zh-Hant", "cmn-Hant", "zh-TW", "zho"], + "ZH-TW": ["zh-TW", "zh-Hant-TW", "zh-Hant", "cmn-Hant", "zho"], + "ZH-HANT": ["zh-Hant", "zh-Hant-TW", "cmn-Hant", "zh-TW", "zho"], YUE: ["yue", "yue-Hant", "zh-HK", "zho"], "YUE-HK": ["yue-Hant", "yue", "zh-HK", "zho"], },