fix string not being localised
Some checks are pending
CI (Debug) / build (push) Waiting to run
CI (Release) / build (push) Waiting to run
CI (Release) / release (push) Blocked by required conditions
CI (Release) / release-test (push) Blocked by required conditions

This commit is contained in:
bluepilledgreat 2025-03-16 02:15:57 +00:00
parent 950277d1e9
commit 4d50381115
3 changed files with 13 additions and 1 deletions

View File

@ -1036,6 +1036,15 @@ namespace Bloxstrap.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Your theme has been saved!.
/// </summary>
public static string CustomTheme_Editor_Save_Success_Description {
get {
return ResourceManager.GetString("CustomTheme.Editor.Save.Success.Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Editing &quot;{0}&quot;.
/// </summary>

View File

@ -1493,4 +1493,7 @@ Defaulting to {1}.</value>
<data name="Menu.Integrations.MultiInstanceLaunching.Description" xml:space="preserve">
<value>Allows for having more than one Roblox game client instance open simultaneously.</value>
</data>
<data name="CustomTheme.Editor.Save.Success.Description" xml:space="preserve">
<value>Your theme has been saved!</value>
</data>
</root>

View File

@ -64,7 +64,7 @@ namespace Bloxstrap.UI.ViewModels.Editor
{
File.WriteAllText(path, Code);
CodeChanged = false;
ThemeSavedCallback.Invoke(true, "Your theme has been saved!");
ThemeSavedCallback.Invoke(true, Strings.CustomTheme_Editor_Save_Success_Description);
}
catch (Exception ex)
{