From 79cd07fc7035e1854c789613be727519d7af2dd1 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sat, 29 May 2021 07:52:50 -0700 Subject: [PATCH] Use alerts instead of notifications --- Sparkle/Base.lproj/Sparkle.strings | 2 +- Sparkle/SUUpdateAlert.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sparkle/Base.lproj/Sparkle.strings b/Sparkle/Base.lproj/Sparkle.strings index 497a4269..4b305e80 100644 --- a/Sparkle/Base.lproj/Sparkle.strings +++ b/Sparkle/Base.lproj/Sparkle.strings @@ -95,7 +95,7 @@ "Are you sure you want to skip this upgrade?" = "Are you sure you want to skip this upgrade?"; /* Confirmation message for skipping major upgrade and future updates */ -"Skipping this major upgrade will opt out of notifications for future updates." = "Skipping this major upgrade will opt out of notifications for future updates."; +"Skipping this major upgrade will opt out of alerts for future updates." = "Skipping this major upgrade will opt out of alerts for future updates."; /* Skipping major upgrade */ "Skip Upgrade" = "Skip Upgrade"; diff --git a/Sparkle/SUUpdateAlert.m b/Sparkle/SUUpdateAlert.m index a3e95b49..c2f51ac2 100644 --- a/Sparkle/SUUpdateAlert.m +++ b/Sparkle/SUUpdateAlert.m @@ -141,7 +141,7 @@ static NSString *const SUUpdateAlertTouchBarIndentifier = @"" SPARKLE_BUNDLE_IDE if (self.state.majorUpgrade) { NSAlert *alert = [[NSAlert alloc] init]; alert.alertStyle = NSAlertStyleInformational; - alert.informativeText = SULocalizedString(@"Skipping this major upgrade will opt out of notifications for future updates.", nil); + alert.informativeText = SULocalizedString(@"Skipping this major upgrade will opt out of alerts for future updates.", nil); alert.messageText = SULocalizedString(@"Are you sure you want to skip this upgrade?", nil); [alert addButtonWithTitle:SULocalizedString(@"Skip Upgrade", nil)];