mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-24 19:44:15 -07:00
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.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"Language": "Türkçe",
|
||||
"MenuBarFileOpenApplet": "Applet'i Aç",
|
||||
"MenuBarFileOpenAppletOpenMiiAppletToolTip": "Mii Editör Applet'ini Bağımsız Mod'da Aç",
|
||||
"SettingsTabInputDirectMouseAccess": "Doğrudan Mouse Erişimi",
|
||||
@@ -610,4 +611,4 @@
|
||||
"UserProfilesRecoverLostAccounts": "Kayıp Hesapları Kurtar",
|
||||
"Recover": "Kurtar",
|
||||
"UserProfilesRecoverHeading": "Aşağıdaki hesaplar için kayıtlar bulundu"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user