mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-10 15:25:42 -07:00
update custom theme strings
This commit is contained in:
parent
ca36306254
commit
cdf129846d
12
Bloxstrap/Resources/Strings.Designer.cs
generated
12
Bloxstrap/Resources/Strings.Designer.cs
generated
@ -1064,7 +1064,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0} {1} is not a valid {2}.
|
||||
/// Looks up a localized string similar to {0}.{1} is not a valid {2}.
|
||||
/// </summary>
|
||||
public static string CustomTheme_Errors_ElementAttributeInvalidType {
|
||||
get {
|
||||
@ -1100,7 +1100,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0} can only have one {1} defined.
|
||||
/// Looks up a localized string similar to .
|
||||
/// </summary>
|
||||
public static string CustomTheme_Errors_ElementAttributeMultipleDefinitions {
|
||||
get {
|
||||
@ -1109,7 +1109,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0} {1} must be larger than {2}.
|
||||
/// Looks up a localized string similar to {0}.{1} must be larger than {2}.
|
||||
/// </summary>
|
||||
public static string CustomTheme_Errors_ElementAttributeMustBeLargerThanMin {
|
||||
get {
|
||||
@ -1118,7 +1118,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0} {1} must be smaller than {2}.
|
||||
/// Looks up a localized string similar to {0}.{1} must be smaller than {2}.
|
||||
/// </summary>
|
||||
public static string CustomTheme_Errors_ElementAttributeMustBeSmallerThanMax {
|
||||
get {
|
||||
@ -1191,7 +1191,7 @@ namespace Bloxstrap.Resources {
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Failed to setup custom bootstrapper: {0}.
|
||||
///Defaulting to Fluent..
|
||||
///Defaulting to {1}..
|
||||
/// </summary>
|
||||
public static string CustomTheme_Errors_SetupFailed {
|
||||
get {
|
||||
@ -1218,7 +1218,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0} Unknown {1} {2}.
|
||||
/// Looks up a localized string similar to {0} Unknown {1} '{2}'.
|
||||
/// </summary>
|
||||
public static string CustomTheme_Errors_UnknownEnumValue {
|
||||
get {
|
||||
|
@ -1296,75 +1296,96 @@ Please close any applications that may be using Roblox's files, and relaunch.</v
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.InvalidRoot" xml:space="preserve">
|
||||
<value>Theme XML root is not {0}</value>
|
||||
<comment>{0} is the element name (e.g. Button)</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.DialogAlreadyInitialised" xml:space="preserve">
|
||||
<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>
|
||||
<comment>{0} and {1} are numbers</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.VersionNotSet" xml:space="preserve">
|
||||
<value>{0} version is not set</value>
|
||||
<comment>{0} is the element name (e.g. Button)</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.VersionNotNumber" xml:space="preserve">
|
||||
<value>{0} version is not a number</value>
|
||||
<comment>{0} is the element name (e.g. Button)</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.VersionNotSupported" xml:space="preserve">
|
||||
<value>{0} version {1} is no longer supported</value>
|
||||
<comment>{0} is the element name (e.g. Button), {1} is the version number</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.VersionNotRecognised" xml:space="preserve">
|
||||
<value>{0} version {1} is not recognised</value>
|
||||
<comment>{0} is the element name (e.g. Button), {1} is the version number</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.ElementInvalidChild" xml:space="preserve">
|
||||
<value>{0} cannot have a child of {1}</value>
|
||||
<comment>{0} and {1} are element names (e.g. Button)</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.UnknownElement" xml:space="preserve">
|
||||
<value>Unknown element {0}</value>
|
||||
<comment>{0} is the element name (e.g. Button)</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.XMLParseFailed" xml:space="preserve">
|
||||
<value>Failed to parse the theme file: {0}</value>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.ElementAttributeConversionError" xml:space="preserve">
|
||||
<value>{0} has invalid {1}: {2}</value>
|
||||
<comment>{0} is the element name (e.g. Button), {1} is the attribute name (e.g. Text), {2} is the error reason</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.ElementAttributeMissing" xml:space="preserve">
|
||||
<value>Element {0} is missing the {1} attribute</value>
|
||||
<comment>{0} is the element name (e.g. Button), {1} is the attribute name (e.g. Text)</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.ElementAttributeInvalidType" xml:space="preserve">
|
||||
<value>{0} {1} is not a valid {2}</value>
|
||||
<value>{0}.{1} is not a valid {2}</value>
|
||||
<comment>{0}.{1} is the element & attribute name (e.g. Button.Text), {2} is the type name (e.g. string)</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.ElementAttributeMustBeLargerThanMin" xml:space="preserve">
|
||||
<value>{0} {1} must be larger than {2}</value>
|
||||
<value>{0}.{1} must be larger than {2}</value>
|
||||
<comment>{0}.{1} is the element & attribute name (e.g. Button.Text), {2} is a number</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.ElementAttributeMustBeSmallerThanMax" xml:space="preserve">
|
||||
<value>{0} {1} must be smaller than {2}</value>
|
||||
<value>{0}.{1} must be smaller than {2}</value>
|
||||
<comment>{0}.{1} is the element & attribute name (e.g. Button.Text), {2} is a number</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.UnknownEnumValue" xml:space="preserve">
|
||||
<value>{0} Unknown {1} {2}</value>
|
||||
<value>{0} Unknown {1} '{2}'</value>
|
||||
<comment>{0} is the element name (e.g. Button), {1} is the enum name (e.g. WindowCornerType), {2} is the value</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.ElementAttributeMultipleDefinitions" xml:space="preserve">
|
||||
<value>{0} can only have one {1} defined</value>
|
||||
<value />
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.ElementAttributeMultipleChildren" xml:space="preserve">
|
||||
<value>{0}.{1} can only have one child</value>
|
||||
<comment>{0}.{1} is the element & attribute name (e.g. Button.Text)</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.ElementMultipleChildren" xml:space="preserve">
|
||||
<value>{0} can only have one child</value>
|
||||
<comment>{0} is the element name (e.g. Button)</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.ElementAttributeMissingChild" xml:space="preserve">
|
||||
<value>{0}.{1} is missing it's child</value>
|
||||
<comment>{0}.{1} is the element & attribute name (e.g. Button.Text)</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.ElementAttributeParseError" xml:space="preserve">
|
||||
<value>{0}.{1} could not be parsed into a {2}</value>
|
||||
<comment>{0}.{1} is the element & attribute name (e.g. Button.Text), {2} is the type name (e.g. string)</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.ElementAttributeParseErrorNull" xml:space="preserve">
|
||||
<value>{0}.{1} {2} is null</value>
|
||||
<comment>{0}.{1} is the element & attribute name (e.g. Button.Text), {2} is the type name (e.g. string)</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.ElementAttributeBlacklistedUriScheme" xml:space="preserve">
|
||||
<value>{0}.{1} uses blacklisted scheme {2}</value>
|
||||
<comment>{0}.{1} is the element & attribute name (e.g. Button.Text), {2} is the URI scheme (e.g. http)</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.ElementTypeCreationFailed" xml:space="preserve">
|
||||
<value>{0} failed to create {1}: {2}</value>
|
||||
<comment>{0} is the element name (e.g. Button), {1} is the attribute name (e.g. Text), {2} is the error reason</comment>
|
||||
</data>
|
||||
<data name="CustomTheme.Editor.Title" xml:space="preserve">
|
||||
<value>Editing "{0}"</value>
|
||||
@ -1428,7 +1449,8 @@ Please close any applications that may be using Roblox's files, and relaunch.</v
|
||||
</data>
|
||||
<data name="CustomTheme.Errors.SetupFailed" xml:space="preserve">
|
||||
<value>Failed to setup custom bootstrapper: {0}.
|
||||
Defaulting to Fluent.</value>
|
||||
Defaulting to {1}.</value>
|
||||
<comment>{0} is the error reason, {1} is the theme name (e.g. Bloxstrap (Classic))</comment>
|
||||
</data>
|
||||
<data name="Menu.Appearance.CustomThemes.NoneSelected" xml:space="preserve">
|
||||
<value>No custom theme selected.</value>
|
||||
|
@ -78,7 +78,7 @@ namespace Bloxstrap.UI
|
||||
App.Logger.WriteException(LOG_IDENT, ex);
|
||||
|
||||
if (!App.LaunchSettings.QuietFlag.Active)
|
||||
ShowMessageBox(string.Format(Strings.CustomTheme_Errors_SetupFailed, ex.Message), MessageBoxImage.Error);
|
||||
ShowMessageBox(string.Format(Strings.CustomTheme_Errors_SetupFailed, ex.Message, "Bloxstrap"), MessageBoxImage.Error); // NOTE: Bloxstrap is the theme name
|
||||
|
||||
return GetBootstrapperDialog(BootstrapperStyle.FluentDialog);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user