mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-19 00:51:30 -07:00
add string to translations
This commit is contained in:
parent
c58a8ab739
commit
ab8034c13b
9
Bloxstrap/Resources/Strings.Designer.cs
generated
9
Bloxstrap/Resources/Strings.Designer.cs
generated
@ -1520,6 +1520,15 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Are you sure you want to cancel the installation?.
|
||||
/// </summary>
|
||||
public static string Installer_ShouldCancel {
|
||||
get {
|
||||
return ResourceManager.GetString("Installer.ShouldCancel", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Bloxstrap Installer.
|
||||
/// </summary>
|
||||
|
@ -1192,4 +1192,7 @@ Please manually delete Bloxstrap.exe from the install location or try restarting
|
||||
<data name="Common.RobloxNotInstalled" xml:space="preserve">
|
||||
<value>Roblox has not yet been installed. Please launch Roblox using Bloxstrap at least once before trying to use this option.</value>
|
||||
</data>
|
||||
<data name="Installer.ShouldCancel" xml:space="preserve">
|
||||
<value>Are you sure you want to cancel the installation?</value>
|
||||
</data>
|
||||
</root>
|
@ -9,6 +9,7 @@ using Bloxstrap.UI.Elements.Installer.Pages;
|
||||
using Bloxstrap.UI.Elements.Base;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Reflection.Metadata.Ecma335;
|
||||
using Bloxstrap.Resources;
|
||||
|
||||
namespace Bloxstrap.UI.Elements.Installer
|
||||
{
|
||||
@ -102,7 +103,7 @@ namespace Bloxstrap.UI.Elements.Installer
|
||||
if (Finished)
|
||||
return;
|
||||
|
||||
var result = Frontend.ShowMessageBox("Are you sure you want to cancel the installation?", MessageBoxImage.Warning, MessageBoxButton.YesNo);
|
||||
var result = Frontend.ShowMessageBox(Strings.Installer_ShouldCancel, MessageBoxImage.Warning, MessageBoxButton.YesNo);
|
||||
|
||||
if (result != MessageBoxResult.Yes)
|
||||
e.Cancel = true;
|
||||
|
Loading…
Reference in New Issue
Block a user