mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-10 15:25:42 -07:00
update localisation
This commit is contained in:
parent
4d50381115
commit
a037c9f867
15
Bloxstrap/Resources/Strings.Designer.cs
generated
15
Bloxstrap/Resources/Strings.Designer.cs
generated
@ -188,7 +188,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Failed to extract all files.
|
||||
/// Looks up a localized string similar to Failed to extract files.
|
||||
/// </summary>
|
||||
public static string Bootstrapper_ExtractionFailed_Title {
|
||||
get {
|
||||
@ -235,7 +235,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Failed to apply all modifications.
|
||||
/// Looks up a localized string similar to Failed to apply modifications.
|
||||
/// </summary>
|
||||
public static string Bootstrapper_ModificationsFailed_Title {
|
||||
get {
|
||||
@ -991,6 +991,15 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Failed to preview theme: {0}.
|
||||
/// </summary>
|
||||
public static string CustomTheme_Editor_Errors_PreviewFailed {
|
||||
get {
|
||||
return ResourceManager.GetString("CustomTheme.Editor.Errors.PreviewFailed", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Open Theme Directory.
|
||||
/// </summary>
|
||||
@ -1218,7 +1227,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Custom bootstrappers can only have a maximum of {0} elements, got {1}..
|
||||
/// Looks up a localized string similar to Custom bootstrappers can only have a maximum of {0} elements, got {1}.
|
||||
/// </summary>
|
||||
public static string CustomTheme_Errors_TooManyElements {
|
||||
get {
|
||||
|
@ -1274,13 +1274,13 @@ Please close any applications that may be using Roblox's files, and relaunch.</v
|
||||
<value>Roblox no longer supports Windows 7 or 8.1. To continue playing Roblox, please upgrade to Windows 10 or newer.</value>
|
||||
</data>
|
||||
<data name="Bootstrapper.ExtractionFailed.Title" xml:space="preserve">
|
||||
<value>Failed to extract all files</value>
|
||||
<value>Failed to extract files</value>
|
||||
</data>
|
||||
<data name="Bootstrapper.ExtractionFailed.Message" xml:space="preserve">
|
||||
<value>Some content may be missing. Force a Roblox reinstallation in settings to fix this.</value>
|
||||
</data>
|
||||
<data name="Bootstrapper.ModificationsFailed.Title" xml:space="preserve">
|
||||
<value>Failed to apply all modifications</value>
|
||||
<value>Failed to apply modifications</value>
|
||||
</data>
|
||||
<data name="Bootstrapper.ModificationsFailed.Message" xml:space="preserve">
|
||||
<value>Not all modifications will be present in the current launch.</value>
|
||||
@ -1302,7 +1302,7 @@ Please close any applications that may be using Roblox's files, and relaunch.</v
|
||||
<value>Custom dialog has already been initialised</value>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.TooManyElements" xml:space="preserve">
|
||||
<value>Custom bootstrappers can only have a maximum of {0} elements, got {1}.</value>
|
||||
<value>Custom bootstrappers can only have a maximum of {0} elements, got {1}</value>
|
||||
<comment>{0} and {1} are numbers</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.VersionNotSet" xml:space="preserve">
|
||||
@ -1496,4 +1496,7 @@ Defaulting to {1}.</value>
|
||||
<data name="CustomTheme.Editor.Save.Success.Description" xml:space="preserve">
|
||||
<value>Your theme has been saved!</value>
|
||||
</data>
|
||||
<data name="CustomTheme.Editor.Errors.PreviewFailed" xml:space="preserve">
|
||||
<value>Failed to preview theme: {0}</value>
|
||||
</data>
|
||||
</root>
|
@ -416,7 +416,7 @@ namespace Bloxstrap.UI.Elements.Bootstrapper
|
||||
private static UIElement HandleXmlElement_BloxstrapCustomBootstrapper_Fake(CustomDialog dialog, XElement xmlElement)
|
||||
{
|
||||
// this only exists to error out the theme if someone tries to use two BloxstrapCustomBootstrappers
|
||||
throw new Exception($"{xmlElement.Parent!.Name} cannot have a child of {xmlElement.Name}");
|
||||
throw new CustomThemeException("CustomTheme.Errors.ElementInvalidChild", xmlElement.Parent!.Name, xmlElement.Name);
|
||||
}
|
||||
|
||||
private static DummyFrameworkElement HandleXmlElement_TitleBar(CustomDialog dialog, XElement xmlElement)
|
||||
|
@ -50,7 +50,7 @@ namespace Bloxstrap.UI.ViewModels.Editor
|
||||
App.Logger.WriteLine(LOG_IDENT, "Failed to preview custom theme");
|
||||
App.Logger.WriteException(LOG_IDENT, ex);
|
||||
|
||||
Frontend.ShowMessageBox($"Failed to preview theme: {ex.Message}", MessageBoxImage.Error, MessageBoxButton.OK);
|
||||
Frontend.ShowMessageBox(string.Format(Strings.CustomTheme_Editor_Errors_PreviewFailed, ex.Message), MessageBoxImage.Error, MessageBoxButton.OK);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user