From 19c82c66d01a42f8ff388314fd6018e2f7306fc9 Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Tue, 11 Mar 2025 19:01:29 +0000 Subject: [PATCH] localise appearance menu page --- Bloxstrap/Resources/Strings.Designer.cs | 45 +++++++++++++++++++ Bloxstrap/Resources/Strings.resx | 15 +++++++ .../Settings/Pages/AppearancePage.xaml | 8 ++-- .../Settings/AppearanceViewModel.cs | 4 +- 4 files changed, 66 insertions(+), 6 deletions(-) diff --git a/Bloxstrap/Resources/Strings.Designer.cs b/Bloxstrap/Resources/Strings.Designer.cs index 353e05e..fcd4ff2 100644 --- a/Bloxstrap/Resources/Strings.Designer.cs +++ b/Bloxstrap/Resources/Strings.Designer.cs @@ -486,6 +486,15 @@ namespace Bloxstrap.Resources { } } + /// + /// Looks up a localized string similar to Edit. + /// + public static string Common_Edit { + get { + return ResourceManager.GetString("Common.Edit", resourceCulture); + } + } + /// /// Looks up a localized string similar to Export. /// @@ -648,6 +657,15 @@ namespace Bloxstrap.Resources { } } + /// + /// Looks up a localized string similar to Rename. + /// + public static string Common_Rename { + get { + return ResourceManager.GetString("Common.Rename", resourceCulture); + } + } + /// /// Looks up a localized string similar to Reset. /// @@ -2392,6 +2410,33 @@ namespace Bloxstrap.Resources { } } + /// + /// Looks up a localized string similar to Failed to delete custom theme {0}: {1}. + /// + public static string Menu_Appearance_CustomThemes_DeleteFailed { + get { + return ResourceManager.GetString("Menu.Appearance.CustomThemes.DeleteFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No custom theme selected.. + /// + public static string Menu_Appearance_CustomThemes_NoneSelected { + get { + return ResourceManager.GetString("Menu.Appearance.CustomThemes.NoneSelected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to rename custom theme {0}: {1}. + /// + public static string Menu_Appearance_CustomThemes_RenameFailed { + get { + return ResourceManager.GetString("Menu.Appearance.CustomThemes.RenameFailed", resourceCulture); + } + } + /// /// Looks up a localized string similar to Configure how Bloxstrap should look.. /// diff --git a/Bloxstrap/Resources/Strings.resx b/Bloxstrap/Resources/Strings.resx index 0f45f53..61738c4 100644 --- a/Bloxstrap/Resources/Strings.resx +++ b/Bloxstrap/Resources/Strings.resx @@ -1430,4 +1430,19 @@ Please close any applications that may be using Roblox's files, and relaunch.Failed to setup custom bootstrapper: {0}. Defaulting to Fluent. + + No custom theme selected. + + + Rename + + + Edit + + + Failed to delete custom theme {0}: {1} + + + Failed to rename custom theme {0}: {1} + \ No newline at end of file diff --git a/Bloxstrap/UI/Elements/Settings/Pages/AppearancePage.xaml b/Bloxstrap/UI/Elements/Settings/Pages/AppearancePage.xaml index 3463389..4454a80 100644 --- a/Bloxstrap/UI/Elements/Settings/Pages/AppearancePage.xaml +++ b/Bloxstrap/UI/Elements/Settings/Pages/AppearancePage.xaml @@ -102,12 +102,12 @@ - - - + + + - +