Ryujinx-uplift/Ryujinx.Ava/Assets/Locales
Ac_K 2355c2af62
ava: Generate Locale menu automatically (#4243)
Currently in `MenuMainBarView.axaml` we list all available languages and hardcode the language name with the language key.
It's a bit bad beause if we want to add a new language, we have to edit the `csproj` and the `axaml` with the translated language name and the language code.
I've put all translations in their respective locale files, add code into `MainMenuBarView` constructor to generate the menu automatically. Now we just have to edit the `csproj` if we want to add a new language.
2023-01-11 01:29:22 +01:00
..
de_DE.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
el_GR.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
en_US.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
es_ES.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
fr_FR.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
it_IT.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
ja_JP.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
ko_KR.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
pl_PL.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
pt_BR.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
ru_RU.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
tr_TR.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
uk_UA.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
zh_CN.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
zh_TW.json ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00