moved localization mappings in CONFIG.DS4.i18nKeys

- moved all mappings in CONFIG.DS4 that belong to localization
  into common parent CONFIG.DS4.i18nKeys
- adapted logic in ds4.ts to not overwrite entries in
   CONFIG.DS4.i18nKeys
- adapted calls to config in templates
This commit is contained in:
Gesina Schwalbe 2021-01-24 17:47:47 +01:00
parent a5d91eca71
commit d831f376e1
18 changed files with 333 additions and 352 deletions

View file

@ -1,7 +1,7 @@
import { ModifiableData } from "../common/common-data";
import { DS4 } from "../config";
export type ItemType = keyof typeof DS4.itemTypes;
export type ItemType = keyof typeof DS4.i18nKeys.itemTypes;
export type DS4ItemDataType =
| DS4Weapon