From d4551454033170b5340c1b12a3a25cc3a4f9aa49 Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Tue, 11 Mar 2025 10:07:55 +0000 Subject: [PATCH] add to strings --- Bloxstrap/Bootstrapper.cs | 4 +-- Bloxstrap/Resources/Strings.Designer.cs | 36 +++++++++++++++++++++++++ Bloxstrap/Resources/Strings.resx | 12 +++++++++ 3 files changed, 50 insertions(+), 2 deletions(-) diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index a7adcc9..b08b409 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -259,9 +259,9 @@ namespace Bloxstrap { // show some balloon tips if (!_packageExtractionSuccess) - Frontend.ShowBalloonTip("Failed to extract files", "Some content may be missing. Please force a Roblox reinstallation in settings.", ToolTipIcon.Warning); + Frontend.ShowBalloonTip(Strings.Bootstrapper_ExtractionFailed_Title, Strings.Bootstrapper_ExtractionFailed_Message, ToolTipIcon.Warning); else if (!allModificationsApplied) - Frontend.ShowBalloonTip("Failed to apply modifications", "Not all modifications will be present with the current launch.", ToolTipIcon.Warning); + Frontend.ShowBalloonTip(Strings.Bootstrapper_ModificationsFailed_Title, Strings.Bootstrapper_ModificationsFailed_Message, ToolTipIcon.Warning); StartRoblox(); } diff --git a/Bloxstrap/Resources/Strings.Designer.cs b/Bloxstrap/Resources/Strings.Designer.cs index fd14b8f..90a9e40 100644 --- a/Bloxstrap/Resources/Strings.Designer.cs +++ b/Bloxstrap/Resources/Strings.Designer.cs @@ -169,6 +169,24 @@ namespace Bloxstrap.Resources { } } + /// + /// Looks up a localized string similar to Some content may be missing. Force a Roblox reinstallation in settings to fix this.. + /// + public static string Bootstrapper_ExtractionFailed_Message { + get { + return ResourceManager.GetString("Bootstrapper.ExtractionFailed.Message", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to extract all files. + /// + public static string Bootstrapper_ExtractionFailed_Title { + get { + return ResourceManager.GetString("Bootstrapper.ExtractionFailed.Title", resourceCulture); + } + } + /// /// Looks up a localized string similar to Bloxstrap tried to upgrade Roblox but can't because Roblox's files are still in use. /// @@ -198,6 +216,24 @@ namespace Bloxstrap.Resources { } } + /// + /// Looks up a localized string similar to Not all modifications will be present in the current launch.. + /// + public static string Bootstrapper_ModificationsFailed_Message { + get { + return ResourceManager.GetString("Bootstrapper.ModificationsFailed.Message", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to apply all modifications. + /// + public static string Bootstrapper_ModificationsFailed_Title { + get { + return ResourceManager.GetString("Bootstrapper.ModificationsFailed.Title", resourceCulture); + } + } + /// /// Looks up a localized string similar to Bloxstrap does not have enough disk space to download and install Roblox. Please free up some disk space and try again.. /// diff --git a/Bloxstrap/Resources/Strings.resx b/Bloxstrap/Resources/Strings.resx index c8a5479..2b7baef 100644 --- a/Bloxstrap/Resources/Strings.resx +++ b/Bloxstrap/Resources/Strings.resx @@ -1267,4 +1267,16 @@ Please close any applications that may be using Roblox's files, and relaunch.All Bloxstrap logs Label that appears next to a checkbox + + Failed to extract all files + + + Some content may be missing. Force a Roblox reinstallation in settings to fix this. + + + Failed to apply all modifications + + + Not all modifications will be present in the current launch. + \ No newline at end of file