feat: localization

This commit is contained in:
2026-03-21 17:27:32 +07:00 Unverified
parent 83047fb0ad
commit 588056403c
5 changed files with 116 additions and 903 deletions
+20 -3
View File
@@ -103,9 +103,26 @@ export interface RelicStore {
Sets: RelicSetMap;
}
export interface EnkaLocs {
en: Record<string, string>;
}
export type EnkaLocsLanguage = Record<string, string>;
export type EnkaLocs = {
[k in
| "zh-cn"
| "zh-tw"
| "de"
| "en"
| "es"
| "fr"
| "id"
| "ja"
| "ko"
| "pt"
| "ru"
| "th"
| "vi"
| "tr"
| "it"]: EnkaLocsLanguage;
};
export const SubstatOrder: Record<string, number> = {
FIGHT_PROP_CRITICAL: 1,