mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-09-28 14:32:02 -05: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": "한국어",
|
||||
"MenuBarFileOpenApplet": "애플릿 열기",
|
||||
"MenuBarFileOpenAppletOpenMiiAppletToolTip": "독립 실행형 모드에서 Mii 편집기 애플릿 열기",
|
||||
"SettingsTabInputDirectMouseAccess": "직접 마우스 접속",
|
||||
@@ -610,4 +611,4 @@
|
||||
"UserProfilesRecoverLostAccounts": "잃어버린 계정 복구",
|
||||
"Recover": "복구",
|
||||
"UserProfilesRecoverHeading": "다음 계정에 대한 저장 발견"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user