fix(frontend): ロード時の言語判定結果が保存されない問題を修正 (#16956)

* fix(frontend): ロード時の言語判定結果が保存されない問題を修正

* Update Changelog
This commit is contained in:
かっこかり 2025-12-08 10:17:13 +09:00 committed by GitHub
parent da3b3af984
commit 73cc30f50f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,7 @@
-
### Client
-
- Fix: 初回読み込み時などに、言語設定で不整合が発生することがある問題を修正
### Server
-

View File

@ -70,6 +70,8 @@
importAppScript();
});
}
localStorage.setItem('lang', lang);
//#endregion
async function addStyle(styleText) {

View File

@ -42,6 +42,8 @@
console.error('invalid lang value detected!!!', typeof lang, lang);
lang = 'en-US';
}
localStorage.setItem('lang', lang);
//#endregion
//#region Script