From 0022a9b508996e86455c6651a361ef40988d117b Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Mon, 7 Apr 2025 10:47:49 +0800 Subject: [PATCH] fix: fix issue with install app no label (#8326) --- frontend/src/store/modules/global.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/store/modules/global.ts b/frontend/src/store/modules/global.ts index 76b65d7f2..4f71d0580 100644 --- a/frontend/src/store/modules/global.ts +++ b/frontend/src/store/modules/global.ts @@ -71,6 +71,9 @@ const GlobalStore = defineStore({ this.csrfToken = token; }, updateLanguage(language: any) { + if (language === 'pt-BR') { + language = 'pt-br'; + } this.language = language; localStorage.setItem('lang', language); },