diff --git a/ShareX/Properties/Resources.Designer.cs b/ShareX/Properties/Resources.Designer.cs index c64b918dfcd..8012a8b613e 100644 --- a/ShareX/Properties/Resources.Designer.cs +++ b/ShareX/Properties/Resources.Designer.cs @@ -2215,24 +2215,6 @@ internal static System.Drawing.Bitmap notebook { } } - /// - /// Looks up a localized string similar to The OCR output has been copied to your clipboard.. - /// - internal static string OCRForm_AutoComplete { - get { - return ResourceManager.GetString("OCRForm_AutoComplete", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Error occurred during OCR processing, or no text was returned.. - /// - internal static string OCRForm_AutoCompleteFail { - get { - return ResourceManager.GetString("OCRForm_AutoCompleteFail", resourceCulture); - } - } - /// /// Looks up a localized resource of type System.Byte[]. /// diff --git a/ShareX/Properties/Resources.resx b/ShareX/Properties/Resources.resx index 101c5949d73..6689d0a1fbb 100644 --- a/ShareX/Properties/Resources.resx +++ b/ShareX/Properties/Resources.resx @@ -950,9 +950,6 @@ Please run ShareX as administrator to change personal folder path. hotkey - - Error occurred during OCR processing, or no text was returned. - Hotkeys enabled. @@ -1081,9 +1078,6 @@ Middle click to close Clipboard is empty or contains unknown data. - - The OCR output has been copied to your clipboard. - Screenshot delay: {0}s diff --git a/ShareX/TaskHelpers.cs b/ShareX/TaskHelpers.cs index 9fa2a7dd893..572b14366ea 100644 --- a/ShareX/TaskHelpers.cs +++ b/ShareX/TaskHelpers.cs @@ -1427,11 +1427,6 @@ private static async Task AsyncOCRImage(Bitmap bmp, string filePath = null, Task string textFilePath = Path.ChangeExtension(filePath, "txt"); File.WriteAllText(textFilePath, result, Encoding.UTF8); } - - if (!taskSettings.GeneralSettings.DisableNotifications && taskSettings.GeneralSettings.ShowToastNotificationAfterTaskCompleted) - { - ShowNotificationTip(Resources.OCRForm_AutoComplete); - } } else { @@ -1439,11 +1434,6 @@ private static async Task AsyncOCRImage(Bitmap bmp, string filePath = null, Task { ClipboardHelpers.Clear(); }); - - if (!taskSettings.GeneralSettings.DisableNotifications && taskSettings.GeneralSettings.ShowToastNotificationAfterTaskCompleted) - { - ShowNotificationTip(Resources.OCRForm_AutoCompleteFail); - } } PlayNotificationSoundAsync(NotificationSound.ActionCompleted, taskSettings);