From b3366583c95618801669e9d890cfb2b865b5f934 Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Fri, 5 Jul 2024 10:34:23 +0400 Subject: [PATCH] Revise exception help message --- Bloxstrap/Resources/Strings.Designer.cs | 31 ++----------------- Bloxstrap/Resources/Strings.resx | 13 ++------ .../UI/Elements/Dialogs/ExceptionDialog.xaml | 14 ++++----- .../Elements/Dialogs/ExceptionDialog.xaml.cs | 18 ----------- 4 files changed, 12 insertions(+), 64 deletions(-) diff --git a/Bloxstrap/Resources/Strings.Designer.cs b/Bloxstrap/Resources/Strings.Designer.cs index bce2f218..af9ccfdb 100644 --- a/Bloxstrap/Resources/Strings.Designer.cs +++ b/Bloxstrap/Resources/Strings.Designer.cs @@ -712,7 +712,9 @@ public static string Dialog_Exception_Info_1 { } /// - /// Looks up a localized string similar to Please report this exception through a GitHub issue or in our Discord chat, along with a copy of the log file that was created.. + /// Looks up a localized string similar to Check the [Bloxstrap Wiki]({0}) first to see if this problem has already been addressed with a fix. + /// + ///If not, then please report this exception through a [GitHub issue]({1}) along with a copy of the log file that was created.. /// public static string Dialog_Exception_Info_2 { get { @@ -720,33 +722,6 @@ public static string Dialog_Exception_Info_2 { } } - /// - /// Looks up a localized string similar to Submit report.... - /// - public static string Dialog_Exception_SubmitReport { - get { - return ResourceManager.GetString("Dialog.Exception.SubmitReport", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Submit report via Discord. - /// - public static string Dialog_Exception_SubmitReportDiscord { - get { - return ResourceManager.GetString("Dialog.Exception.SubmitReportDiscord", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Submit report via GitHub. - /// - public static string Dialog_Exception_SubmitReportGithub { - get { - return ResourceManager.GetString("Dialog.Exception.SubmitReportGithub", resourceCulture); - } - } - /// /// Looks up a localized string similar to Bloxstrap Exception. /// diff --git a/Bloxstrap/Resources/Strings.resx b/Bloxstrap/Resources/Strings.resx index 6627e963..b5eadc22 100644 --- a/Bloxstrap/Resources/Strings.resx +++ b/Bloxstrap/Resources/Strings.resx @@ -319,16 +319,9 @@ Click for more information An exception occurred while running Bloxstrap - Please report this exception through a GitHub issue or in our Discord chat, along with a copy of the log file that was created. - - - Submit report... - - - Submit report via Discord - - - Submit report via GitHub + Check the [Bloxstrap Wiki]({0}) first to see if this problem has already been addressed with a fix. + +If not, then please report this exception through a [GitHub issue]({1}) along with a copy of the log file that was created. Bloxstrap Exception diff --git a/Bloxstrap/UI/Elements/Dialogs/ExceptionDialog.xaml b/Bloxstrap/UI/Elements/Dialogs/ExceptionDialog.xaml index 4f6dec11..92be6229 100644 --- a/Bloxstrap/UI/Elements/Dialogs/ExceptionDialog.xaml +++ b/Bloxstrap/UI/Elements/Dialogs/ExceptionDialog.xaml @@ -1,9 +1,12 @@ - - +