Explorar o código

misc: chore: [ci skip] oops forgot to localize the reset button & confirmation

Evan Husted hai 1 ano
pai
achega
6af388c623

+ 50 - 0
src/Ryujinx/Assets/locales.json

@@ -6122,6 +6122,56 @@
         "zh_TW": "關閉"
       }
     },
+    {
+      "ID": "SettingsButtonReset",
+      "Translations": {
+        "ar_SA": "",
+        "de_DE": "",
+        "el_GR": "",
+        "en_US": "Reset Settings",
+        "es_ES": "",
+        "fr_FR": "",
+        "he_IL": "",
+        "it_IT": "",
+        "ja_JP": "",
+        "ko_KR": "",
+        "no_NO": "",
+        "pl_PL": "",
+        "pt_BR": "",
+        "ru_RU": "",
+        "sv_SE": "",
+        "th_TH": "",
+        "tr_TR": "",
+        "uk_UA": "",
+        "zh_CN": "",
+        "zh_TW": ""
+      }
+    },
+    {
+      "ID": "SettingsButtonResetConfirm",
+      "Translations": {
+        "ar_SA": "",
+        "de_DE": "",
+        "el_GR": "",
+        "en_US": "I want to reset my settings.",
+        "es_ES": "",
+        "fr_FR": "",
+        "he_IL": "",
+        "it_IT": "",
+        "ja_JP": "",
+        "ko_KR": "",
+        "no_NO": "",
+        "pl_PL": "",
+        "pt_BR": "",
+        "ru_RU": "",
+        "sv_SE": "",
+        "th_TH": "",
+        "tr_TR": "",
+        "uk_UA": "",
+        "zh_CN": "",
+        "zh_TW": ""
+      }
+    },
     {
       "ID": "SettingsButtonOk",
       "Translations": {

+ 2 - 2
src/Ryujinx/UI/Windows/SettingsWindow.axaml

@@ -114,10 +114,10 @@
                 <Button
                     IsEnabled="{Binding WantsToReset}"
                     Margin="10"
-                    Content="Reset Settings"
+                    Content="{ext:Locale SettingsButtonReset}"
                     Command="{Binding ResetButton}" />
                 <CheckBox IsChecked="{Binding WantsToReset}"/>
-                <TextBlock Text="I want to reset my settings."/>
+                <TextBlock Text="{ext:Locale SettingsButtonResetConfirm}"/>
             </StackPanel>
             <ReversibleStackPanel
                 Grid.Column="2"