From 997d186de3408e3ca8fe1dc6ab7b677de1742b86 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Tue, 30 Jul 2024 00:59:55 +0800 Subject: [PATCH] Fix i18n, cc #178 #118 --- src/i18n/i18n.js | 4 ++-- src/i18n/locales/zh-tw.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/i18n/i18n.js b/src/i18n/i18n.js index 96318da5..9cc4941d 100644 --- a/src/i18n/i18n.js +++ b/src/i18n/i18n.js @@ -59,7 +59,7 @@ i18n da, de, vi, - pt, + "pt-BR": pt, fa, hi, mr, @@ -70,7 +70,7 @@ i18n pa, hy, ar, - zh_tw, + "zh-TW": zh_tw, he, }, }); diff --git a/src/i18n/locales/zh-tw.js b/src/i18n/locales/zh-tw.js index a5c0f934..f9cae242 100644 --- a/src/i18n/locales/zh-tw.js +++ b/src/i18n/locales/zh-tw.js @@ -1,7 +1,7 @@ const traditionalChinese = { name: "Traditional Chinese", native_name: "繁體中文", - code: "zh-tw", + code: "zh-TW", }; const zh_tw = {