Commit graph

4 commits

Author SHA1 Message Date
Observer KRypt0n_
d1ebf567b7
Added generic types for Locales.translate() 2022-02-20 14:46:58 +02:00
Observer KRypt0n_
75f2ad66ed
Added initial Chinese game version support
- added `zh-cn` locale
- added `server` field to `config.yaml` file that indicates
  currently using game server - `global` or `cn`
  its default value is based on the system language
- `constants.paths.gameDataDir` returns path based on `server` config property
- `constants.placeholders.uppercase.full` was changed to an object:
  + global: <global game name>
  + cn: <cn game name>
- in `constants.uri.*` changed second fields:
  + api
  + telemetry
  they're following the same format as `full` placeholder
- `constants.versionsUri()` and
  `constants.backgroundUri()` are functions now
  their output depends on server you're passing as a parameter
- added `Game.server` field (global / cn)
- `PatchInfo` type now contains `server` field
- `Patch.getPatchInfo()` also depends on `Game.server` value
- reworked `Background.get()` method to support cn game api
2022-02-20 13:29:06 +02:00
Observer KRypt0n_
0868bf13ef
Added ToS violation warning window
- also added additional IPC pull purging during the start of the launcher
2022-01-30 21:33:12 +02:00
Observer KRypt0n_
425c7f4db0
Several changes
- added blank analytics window
- added roadmap goal
- removed `components.sass` file;
  its content was moved to `settings.sass`
- updated Spain and Italian
- made preparations for tos violation warning window
- improved `Button` component
- added `constants.uri.discord` and
  `constants.placeholders.uppercase.company_alterego` fields
- updated empathize version, added proper windows centering
2022-01-30 01:18:41 +02:00