Commit graph

9 commits

Author SHA1 Message Date
Potato1682
6c5bcd7677 Add Japanese translation 2022-03-02 12:41:45 +00:00
Observer KRypt0n_
50a5c7bdfc
Updated Spain, Chinese and Norwegian 2022-02-21 22:27:46 +02:00
Observer KRypt0n_
b1f5e237f8
Changed game integrity checking feature
- said button was moved to the settings
- fixed launcher state updating in some cases
2022-02-20 20:48:58 +02:00
Observer KRypt0n_
ebe22485e6
Implemented files verification feature (!45) 2022-02-20 16:49:03 +02:00
Observer KRypt0n_
f80399bb55
Fixed missing Chinese locale 2022-02-20 15:00:26 +02:00
Observer KRypt0n_
169c03ab47
Updated Chinese 2022-02-20 14:52:11 +02:00
Maroxy
e1ebc8ff2e
Add Locales for chinese 2022-02-20 13:40:58 +01:00
SiHuan
24702074d2
add zh-cn translation 2022-02-20 20:28:59 +08: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