diff --git a/Bloxstrap/Resources/Strings.Designer.cs b/Bloxstrap/Resources/Strings.Designer.cs index 5e08cc0..f07e6e6 100644 --- a/Bloxstrap/Resources/Strings.Designer.cs +++ b/Bloxstrap/Resources/Strings.Designer.cs @@ -856,6 +856,69 @@ namespace Bloxstrap.Resources { } } + /// + /// Looks up a localized string similar to Save changes to {0}?. + /// + public static string CustomTheme_Editor_ConfirmSave { + get { + return ResourceManager.GetString("CustomTheme.Editor.ConfirmSave", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Open Theme Directory. + /// + public static string CustomTheme_Editor_OpenThemeDirectory { + get { + return ResourceManager.GetString("CustomTheme.Editor.OpenThemeDirectory", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Preview. + /// + public static string CustomTheme_Editor_Preview { + get { + return ResourceManager.GetString("CustomTheme.Editor.Preview", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Save. + /// + public static string CustomTheme_Editor_Save { + get { + return ResourceManager.GetString("CustomTheme.Editor.Save", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to An error occurred while saving your theme.. + /// + public static string CustomTheme_Editor_Save_Error { + get { + return ResourceManager.GetString("CustomTheme.Editor.Save.Error", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Theme successfully saved!. + /// + public static string CustomTheme_Editor_Save_Success { + get { + return ResourceManager.GetString("CustomTheme.Editor.Save.Success", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Editing "{0}". + /// + public static string CustomTheme_Editor_Title { + get { + return ResourceManager.GetString("CustomTheme.Editor.Title", resourceCulture); + } + } + /// /// Looks up a localized string similar to {0}.{1} uses blacklisted scheme {2}. /// diff --git a/Bloxstrap/Resources/Strings.resx b/Bloxstrap/Resources/Strings.resx index cd38f6e..e307593 100644 --- a/Bloxstrap/Resources/Strings.resx +++ b/Bloxstrap/Resources/Strings.resx @@ -1366,4 +1366,25 @@ Please close any applications that may be using Roblox's files, and relaunch. {0} failed to create {1}: {2} + + Editing "{0}" + + + Theme successfully saved! + + + An error occurred while saving your theme. + + + Save changes to {0}? + + + Save + + + Preview + + + Open Theme Directory + \ No newline at end of file diff --git a/Bloxstrap/UI/Elements/Editor/BootstrapperEditorWindow.xaml b/Bloxstrap/UI/Elements/Editor/BootstrapperEditorWindow.xaml index f167ef3..31b9449 100644 --- a/Bloxstrap/UI/Elements/Editor/BootstrapperEditorWindow.xaml +++ b/Bloxstrap/UI/Elements/Editor/BootstrapperEditorWindow.xaml @@ -8,6 +8,7 @@ xmlns:dmodels="clr-namespace:Bloxstrap.UI.ViewModels.Editor" xmlns:local="clr-namespace:Bloxstrap.UI.Elements.Editor" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:resources="clr-namespace:Bloxstrap.Resources" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" Title="{Binding Path=Title, Mode=OneTime}" Width="1000" @@ -48,7 +49,7 @@ Grid.Row="2" Margin="10" Command="{Binding Path=OpenThemeFolderCommand, Mode=OneTime}" - Content="Open Theme Folder" /> + Content="{x:Static resources:Strings.CustomTheme_Editor_OpenThemeDirectory}" /> + Content="{x:Static resources:Strings.CustomTheme_Editor_Preview}" /> + Content="{x:Static resources:Strings.CustomTheme_Editor_Save}" />