Commit graph

12 commits

Author SHA1 Message Date
Tiger Soldier
b2aef08471 Adding translation for zh-cn (Simplified Chinese)
Note that I changed the language names to lookup from {lang}-{region} instead of
just {lang}, because Genshin Impact supports both zh-cn and zh-tw locales.
zh-tw's tranlsation is different zh-cn.
2023-03-06 09:49:08 -08:00
Observer KRypt0n_
e008a97822
feat(i18n): changed default language from en to en-us
More like style change because it anyway is being replaced at app start
2023-03-04 23:28:52 +02:00
Observer KRypt0n_
f109454cb7 fix(i18n): forced format_lang to return regions for language codes
Standard German language code is `de` but game API requires it to be `de-de`.
With this change formatted locales always will have
region so always will fit game requirements
2023-03-04 23:24:39 +02:00
Observer KRypt0n_
38c2532f49
fix: added regions to SUPPORTED_LANGUAGES
This fixes error related to background picture loading
2023-03-01 20:11:41 +02:00
Observer KRypt0n_
ad0893ec8b
fix(i18n): changed format of selected launcher language in config file 2023-02-26 15:07:40 +02:00
Mar0xy
6284233cfa Add de 2023-02-26 10:03:47 +00:00
Observer KRypt0n_
c7a92718db
refactor(i18n): changed i18n mod again, nothing important 2023-02-25 17:16:35 +02:00
Observer KRypt0n_
681ad01835
feat(i18n): added localization to first run window 2023-02-25 16:06:43 +02:00
Observer KRypt0n_
cbd91c42aa
feat(i18n): added automatic default launcher language selection
Improved `i18n` mod to list supported languages and some other stuff

As well was added `get_default_lang` function
which will return language key based on current system language.
This function is called at the first launcher start
to update default `launcher.language` config property, so user will immediately
have proper language in initial setup window
2023-02-25 14:24:04 +02:00
Observer KRypt0n_
bf3e58e21c
settings: added showing of installed game version 2023-01-28 21:18:24 +02:00
Observer KRypt0n_
d38d098882
General settings: added wine & dxvk selection UI 2023-01-19 14:03:11 +02:00
Observer KRypt0n_
d6b5eb6411
relm4 init commit 2023-01-18 18:37:53 +02:00