1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-18 17:46:40 +00:00
Ryujinx/Ryujinx.Ava/UI/Views/Main
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
..
MainMenuBarView.axaml ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
MainMenuBarView.axaml.cs ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
MainStatusBarView.axaml Ava GUI: MainWindow Refactor (#4178) 2023-01-08 18:46:25 +01:00
MainStatusBarView.axaml.cs ava: Fixes regressions from refactoring (#4237) 2023-01-09 03:37:20 +00:00
MainViewControls.axaml Ava GUI: MainWindow Refactor (#4178) 2023-01-08 18:46:25 +01:00
MainViewControls.axaml.cs ava: Fixes regressions from refactoring (#4237) 2023-01-09 03:37:20 +00:00