feat: localization
This commit is contained in:
+20
-3
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user