From ee01393b5fddb2dac7c305f8522f1dd4ad56e18d Mon Sep 17 00:00:00 2001 From: Kian-ting Tan Date: Wed, 21 Jun 2023 17:06:01 +0000 Subject: [PATCH] Update 2 files - /src/i18n/languages.js - /src/services/locale/locale.service.js --- src/i18n/languages.js | 2 +- src/services/locale/locale.service.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/i18n/languages.js b/src/i18n/languages.js index 432829f6..33a98f8e 100644 --- a/src/i18n/languages.js +++ b/src/i18n/languages.js @@ -17,7 +17,7 @@ const languages = [ 'ja', 'ja_easy', 'ko', - 'nan', + 'nan-TW', 'nb', 'nl', 'oc', diff --git a/src/services/locale/locale.service.js b/src/services/locale/locale.service.js index e1c84c0a..2747c178 100644 --- a/src/services/locale/locale.service.js +++ b/src/services/locale/locale.service.js @@ -19,7 +19,7 @@ const internalToBackendLocaleMulti = codes => { const getLanguageName = (code) => { const specialLanguageNames = { ja_easy: 'やさしいにほんご', - nan_TW: '臺語(閩南語)', + nan-TW: '臺語(閩南語)', zh: '简体中文', zh_Hant: '繁體中文' }