mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Fix some hardcoded strings
This commit is contained in:
parent
af68a4f0dd
commit
0875f3adac
22
Bloxstrap/Resources/Strings.Designer.cs
generated
22
Bloxstrap/Resources/Strings.Designer.cs
generated
@ -279,6 +279,28 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Style preview - Click the X button at the top right to close.
|
||||
/// </summary>
|
||||
public static string Bootstrapper_StylePreview_ImageCancel
|
||||
{
|
||||
get
|
||||
{
|
||||
return ResourceManager.GetString("Bootstrapper.StylePreview.ImageCancel", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Style preview - Click Cancel to close.
|
||||
/// </summary>
|
||||
public static string Bootstrapper_StylePreview_TextCancel
|
||||
{
|
||||
get
|
||||
{
|
||||
return ResourceManager.GetString("Bootstrapper.StylePreview.TextCancel", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Browse.
|
||||
/// </summary>
|
||||
|
@ -192,6 +192,14 @@ Your ReShade configuration files will still be saved, and you can locate them by
|
||||
<data name="Bootstrapper.WMFNotFound" xml:space="preserve">
|
||||
<value>Roblox requires the use of Windows Media Foundation components. You appear to be missing them, likely because you are using an N edition of Windows. Please install them first, and then launch Roblox.</value>
|
||||
</data>
|
||||
<data name="Bootstrapper.StylePreview.ImageCancel" xml:space="preserve">
|
||||
<value>Style preview - Click the X button at the top right to close</value>
|
||||
<comment>Text for style previews that use an X button. Currently only applies to Byfron</comment>
|
||||
</data>
|
||||
<data name="Bootstrapper.StylePreview.TextCancel" xml:space="preserve">
|
||||
<value>Style preview - Click Cancel to close</value>
|
||||
<comment>Text for style previews that use text button that says "Cancel"</comment>
|
||||
</data>
|
||||
<data name="Common.Browse" xml:space="preserve">
|
||||
<value>Browse</value>
|
||||
</data>
|
||||
|
@ -79,7 +79,7 @@
|
||||
<ui:Button Content="{Binding ConfirmButtonText, Mode=OneTime}" Appearance="Primary" Command="{Binding ConfirmSettingsCommand, Mode=OneWay}" IsEnabled="{Binding ConfirmButtonEnabled, Mode=OneWay}" />
|
||||
</StatusBarItem>
|
||||
<StatusBarItem Grid.Column="2" Padding="4,0,0,0">
|
||||
<ui:Button Content="Cancel" Command="{Binding CloseWindowCommand, Mode=OneWay}" />
|
||||
<ui:Button Content="{x:Static resources:Strings.Common_Cancel}" Command="{Binding CloseWindowCommand, Mode=OneWay}" />
|
||||
</StatusBarItem>
|
||||
</StatusBar>
|
||||
</Grid>
|
||||
|
@ -23,9 +23,9 @@ namespace Bloxstrap.UI.ViewModels.Menu
|
||||
IBootstrapperDialog dialog = App.Settings.Prop.BootstrapperStyle.GetNew();
|
||||
|
||||
if (App.Settings.Prop.BootstrapperStyle == BootstrapperStyle.ByfronDialog)
|
||||
dialog.Message = "Style preview - Click the X button at the top right to close";
|
||||
dialog.Message = Resources.Strings.Bootstrapper_StylePreview_ImageCancel;
|
||||
else
|
||||
dialog.Message = "Style preview - Click Cancel to close";
|
||||
dialog.Message = Resources.Strings.Bootstrapper_StylePreview_TextCancel;
|
||||
|
||||
dialog.CancelEnabled = true;
|
||||
dialog.ShowBootstrapper();
|
||||
|
Loading…
Reference in New Issue
Block a user