parent
a279bd4d49
commit
062d5170df
|
@ -1,14 +1,7 @@
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
### General
|
|
||||||
-
|
|
||||||
|
|
||||||
### Client
|
### Client
|
||||||
-
|
- Fix: キャッシュを削除しないとクライアントが使用できないことがある問題を修正
|
||||||
|
|
||||||
### Server
|
|
||||||
-
|
|
||||||
|
|
||||||
|
|
||||||
## 2025.6.2
|
## 2025.6.2
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ export class I18n<T extends ILocale> {
|
||||||
|
|
||||||
console.error(`Unexpected locale key: ${String(p)}`);
|
console.error(`Unexpected locale key: ${String(p)}`);
|
||||||
|
|
||||||
return p;
|
return new Proxy({} as any, new Handler<TTarget[keyof TTarget] & ILocale>());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ export class I18n<T extends ILocale> {
|
||||||
|
|
||||||
console.error(`Unexpected locale key: ${String(p)}`);
|
console.error(`Unexpected locale key: ${String(p)}`);
|
||||||
|
|
||||||
return p;
|
return new Proxy((() => p) as any, new Handler<TTarget[keyof TTarget] & ILocale>());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue