forked from mirrors/misskey
@@ -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>());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user