mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-09-11 18:28:50 +02:00
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. |
||
---|---|---|
.. | ||
MainMenuBarView.axaml | ||
MainMenuBarView.axaml.cs | ||
MainStatusBarView.axaml | ||
MainStatusBarView.axaml.cs | ||
MainViewControls.axaml | ||
MainViewControls.axaml.cs |