From 062d5170dfcc11f2175664cfbacb5e3ebf510238 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Mon, 16 Jun 2025 19:51:26 +0900 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20=E3=82=AD=E3=83=A3=E3=83=83?= =?UTF-8?q?=E3=82=B7=E3=83=A5=E3=82=92=E5=89=8A=E9=99=A4=E3=81=97=E3=81=AA?= =?UTF-8?q?=E3=81=84=E3=81=A8=E3=82=AF=E3=83=A9=E3=82=A4=E3=82=A2=E3=83=B3?= =?UTF-8?q?=E3=83=88=E3=81=8C=E4=BD=BF=E7=94=A8=E3=81=A7=E3=81=8D=E3=81=AA?= =?UTF-8?q?=E3=81=84=E3=81=93=E3=81=A8=E3=81=8C=E3=81=82=E3=82=8B=E5=95=8F?= =?UTF-8?q?=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #16196 --- CHANGELOG.md | 9 +-------- packages/frontend-shared/js/i18n.ts | 4 ++-- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8976e0e91..6e34067658 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,7 @@ ## Unreleased -### General -- - ### Client -- - -### Server -- - +- Fix: キャッシュを削除しないとクライアントが使用できないことがある問題を修正 ## 2025.6.2 diff --git a/packages/frontend-shared/js/i18n.ts b/packages/frontend-shared/js/i18n.ts index db06ad7f42..25581b969a 100644 --- a/packages/frontend-shared/js/i18n.ts +++ b/packages/frontend-shared/js/i18n.ts @@ -72,7 +72,7 @@ export class I18n { console.error(`Unexpected locale key: ${String(p)}`); - return p; + return new Proxy({} as any, new Handler()); } } @@ -141,7 +141,7 @@ export class I18n { console.error(`Unexpected locale key: ${String(p)}`); - return p; + return new Proxy((() => p) as any, new Handler()); } }