From 97ed3c8fb101b8c9deb3012d348d3d779a399a4e Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Thu, 14 May 2020 14:58:30 +0800 Subject: [PATCH] i18n --- .../business/components/common/head/LanguageSwitch.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/business/components/common/head/LanguageSwitch.vue b/frontend/src/business/components/common/head/LanguageSwitch.vue index 6f773ecf22..98c596d7f5 100644 --- a/frontend/src/business/components/common/head/LanguageSwitch.vue +++ b/frontend/src/business/components/common/head/LanguageSwitch.vue @@ -47,16 +47,16 @@ this.$setLang(lang); switch (lang) { case ZH_CN: - this.language = '简体中文'; + this.language = this.languageMap[ZH_CN]; break; case ZH_TW: - this.language = '繁體中文'; + this.language = this.languageMap[ZH_TW]; break; case EN_US: - this.language = 'English'; + this.language = this.languageMap[EN_US]; break; default: - this.language = '简体中文'; + this.language = this.languageMap[ZH_CN]; break; } },