From 2e969d72c23be87a310746d89f67af18509d267f Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Thu, 17 Oct 2024 15:25:22 +0100 Subject: [PATCH] add version text to the exception dialog --- Bloxstrap/Resources/Strings.Designer.cs | 9 +++++++++ Bloxstrap/Resources/Strings.resx | 3 +++ Bloxstrap/UI/Elements/Dialogs/ExceptionDialog.xaml | 14 +++++++++----- .../UI/Elements/Dialogs/ExceptionDialog.xaml.cs | 2 ++ 4 files changed, 23 insertions(+), 5 deletions(-) diff --git a/Bloxstrap/Resources/Strings.Designer.cs b/Bloxstrap/Resources/Strings.Designer.cs index cf5e6a6..ad28195 100644 --- a/Bloxstrap/Resources/Strings.Designer.cs +++ b/Bloxstrap/Resources/Strings.Designer.cs @@ -974,6 +974,15 @@ namespace Bloxstrap.Resources { } } + /// + /// Looks up a localized string similar to Version {0}. + /// + public static string Dialog_Exception_Version { + get { + return ResourceManager.GetString("Dialog.Exception.Version", resourceCulture); + } + } + /// /// Looks up a localized string similar to The chosen bootstrapper icon could not be loaded. /// diff --git a/Bloxstrap/Resources/Strings.resx b/Bloxstrap/Resources/Strings.resx index 4d9d54b..6b7fe31 100644 --- a/Bloxstrap/Resources/Strings.resx +++ b/Bloxstrap/Resources/Strings.resx @@ -1236,4 +1236,7 @@ Would you like to enable test mode? Icons Name of the folder that gets created according to the "create shortcut icons" option. Ensure that it is a valid folder name. + + Version {0} + \ No newline at end of file diff --git a/Bloxstrap/UI/Elements/Dialogs/ExceptionDialog.xaml b/Bloxstrap/UI/Elements/Dialogs/ExceptionDialog.xaml index 1debcfd..1c7e744 100644 --- a/Bloxstrap/UI/Elements/Dialogs/ExceptionDialog.xaml +++ b/Bloxstrap/UI/Elements/Dialogs/ExceptionDialog.xaml @@ -40,11 +40,15 @@ - -