Translate boss table

This commit is contained in:
Sakura Knoll
2022-07-21 20:53:17 +09:00 Unverified
parent f798689316
commit 5608266c9d
6 changed files with 38 additions and 5 deletions
+11
View File
@@ -21,6 +21,17 @@ export function listVersionData(locale?: string): VersionData[] {
return {
...omit(['krName'], version),
name: locale === 'ko-KR' ? version.krName : version.name,
superstring: version.superstring.map((row: any[]) => {
return row.map((stage: any) => {
return {
...stage,
label:
locale === 'ko-KR' && stage.krLabel != null
? stage.krLabel
: stage.label,
}
})
}),
}
})
.sort((a: any, b: any) => {