diff --git a/RemnantSaveGuardian/Views/Pages/SettingsPage.xaml b/RemnantSaveGuardian/Views/Pages/SettingsPage.xaml
index 88b3bc5..5cefedd 100644
--- a/RemnantSaveGuardian/Views/Pages/SettingsPage.xaml
+++ b/RemnantSaveGuardian/Views/Pages/SettingsPage.xaml
@@ -113,7 +113,7 @@
-
+
diff --git a/RemnantSaveGuardian/Views/Pages/SettingsPage.xaml.cs b/RemnantSaveGuardian/Views/Pages/SettingsPage.xaml.cs
index d6726db..d8fda71 100644
--- a/RemnantSaveGuardian/Views/Pages/SettingsPage.xaml.cs
+++ b/RemnantSaveGuardian/Views/Pages/SettingsPage.xaml.cs
@@ -66,6 +66,7 @@ public SettingsPage(ViewModels.SettingsViewModel viewModel)
else
cmbSwitchLanguage.SelectedItem = culture.NativeName;
}
+ cmbSwitchLanguage.SelectionChanged += cmbSwitchLanguage_SelectionChanged;
radThemeLight.IsChecked = Properties.Settings.Default.Theme == "Light";
@@ -314,6 +315,7 @@ private void cmbSwitchLanguage_SelectionChanged(object sender, SelectionChangedE
WPFLocalizeExtension.Engine.LocalizeDictionary.Instance.Culture = culture;
Application.Current.MainWindow.Language = System.Windows.Markup.XmlLanguage.GetLanguage(culture.IetfLanguageTag);
Properties.Settings.Default.Language = langs[cmbSwitchLanguage.SelectedIndex].Name;
+ Logger.Success(Loc.T("Language_change_notice_{chosenLanguage}", new() { { "chosenLanguage", culture.DisplayName } }));
}
}
}
diff --git a/RemnantSaveGuardian/locales/Strings.Designer.cs b/RemnantSaveGuardian/locales/Strings.Designer.cs
index 0c5ac35..1d0f731 100644
--- a/RemnantSaveGuardian/locales/Strings.Designer.cs
+++ b/RemnantSaveGuardian/locales/Strings.Designer.cs
@@ -303,6 +303,15 @@ public static string Choose_a_backup_to_restore_from_the_list_ {
}
}
+ ///
+ /// Looks up a localized string similar to Collapse All.
+ ///
+ public static string Collapse_All {
+ get {
+ return ResourceManager.GetString("Collapse All", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Confirm Delete.
///
@@ -411,6 +420,15 @@ public static string Exit_the_game_before_restoring_a_save_backup_ {
}
}
+ ///
+ /// Looks up a localized string similar to Expand All.
+ ///
+ public static string Expand_All {
+ get {
+ return ResourceManager.GetString("Expand All", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Export save files.
///
@@ -555,6 +573,15 @@ public static string Keep {
}
}
+ ///
+ /// Looks up a localized string similar to Language changed to {chosenLanguage}. You may have to restart to app for the change to fully apply..
+ ///
+ public static string Language_change_notice__chosenLanguage_ {
+ get {
+ return ResourceManager.GetString("Language_change_notice_{chosenLanguage}", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Last backup save date.
///
diff --git a/RemnantSaveGuardian/locales/Strings.resx b/RemnantSaveGuardian/locales/Strings.resx
index 4ec8c16..557dcad 100644
--- a/RemnantSaveGuardian/locales/Strings.resx
+++ b/RemnantSaveGuardian/locales/Strings.resx
@@ -435,4 +435,7 @@
Select language
+
+ Language changed to {chosenLanguage}. You may have to restart to app for the change to fully apply.
+
\ No newline at end of file