JinxRyu/Ryujinx.Ava
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
..
Assets ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
Common ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
Helper Ava: Make Avalonia use our logging system (#4231) 2023-01-09 04:32:20 +01:00
Input Ava GUI: MainWindow Refactor (#4178) 2023-01-08 18:46:25 +01:00
Modules/Updater Ava GUI: MainWindow Refactor (#4178) 2023-01-08 18:46:25 +01:00
UI ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
App.axaml Ava GUI: Restructure Ryujinx.Ava (#4165) 2022-12-29 15:24:05 +01:00
App.axaml.cs Avalonia - Add source generator for locale items (#3999) 2023-01-03 19:45:08 +01:00
AppHost.cs ava: Cleanup AppHost (#4240) 2023-01-10 18:45:55 +01:00
Program.cs Add command line arguments to override docked mode (#4239) 2023-01-10 00:59:23 +01:00
Ryujinx.Ava.csproj ava: Generate Locale menu automatically (#4243) 2023-01-11 01:29:22 +01:00
Ryujinx.ico Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00