ソースを参照

UI: Remove the ability to select Swedish & Norwegian for System language
Switch doesn't natively support these languages, they should only be UI language.

Evan Husted 1 年間 前
コミット
de16d8fa3e

+ 1 - 51
src/Ryujinx/Assets/locales.json

@@ -4647,56 +4647,6 @@
         "zh_TW": "正體中文 (建議)"
       }
     },
-    {
-      "ID": "SettingsTabSystemSystemLanguageSwedish",
-      "Translations": {
-        "ar_SA": "",
-        "de_DE": "",
-        "el_GR": "",
-        "en_US": "Swedish",
-        "es_ES": "",
-        "fr_FR": "",
-        "he_IL": "",
-        "it_IT": "",
-        "ja_JP": "",
-        "ko_KR": "스웨덴어",
-        "no_NO": "Svensk",
-        "pl_PL": "",
-        "pt_BR": "Sueco",
-        "ru_RU": "",
-        "sv_SE": "Svenska",
-        "th_TH": "",
-        "tr_TR": "",
-        "uk_UA": "",
-        "zh_CN": "瑞典语",
-        "zh_TW": ""
-      }
-    },
-    {
-      "ID": "SettingsTabSystemSystemLanguageNorwegian",
-      "Translations": {
-        "ar_SA": "",
-        "de_DE": "",
-        "el_GR": "",
-        "en_US": "Norwegian",
-        "es_ES": "",
-        "fr_FR": "",
-        "he_IL": "",
-        "it_IT": "",
-        "ja_JP": "",
-        "ko_KR": "노르웨이어",
-        "no_NO": "Norsk",
-        "pl_PL": "",
-        "pt_BR": "Norueguês",
-        "ru_RU": "",
-        "sv_SE": "Norska",
-        "th_TH": "",
-        "tr_TR": "",
-        "uk_UA": "",
-        "zh_CN": "挪威语",
-        "zh_TW": ""
-      }
-    },
     {
       "ID": "SettingsTabSystemSystemTimeZone",
       "Translations": {
@@ -24123,4 +24073,4 @@
       }
     }
   ]
-}
+}

+ 0 - 6
src/Ryujinx/UI/Views/Settings/SettingsSystemView.axaml

@@ -133,12 +133,6 @@
                             <ComboBoxItem>
                                 <TextBlock Text="{ext:Locale SettingsTabSystemSystemLanguageBrazilianPortuguese}" />
                             </ComboBoxItem>
-                            <ComboBoxItem>
-                                <TextBlock Text="{ext:Locale SettingsTabSystemSystemLanguageSwedish}" />
-                            </ComboBoxItem>
-                            <ComboBoxItem>
-                                <TextBlock Text="{ext:Locale SettingsTabSystemSystemLanguageNorwegian}" />
-                            </ComboBoxItem>
                         </ComboBox>
                     </StackPanel>
                     <StackPanel