Use alerts instead of notifications

This commit is contained in:
Zorg committed 2021-05-29 07:52:50 -07:00
1 parent 0cdb0976ef
commit 79cd07fc70
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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";
+1 -1
View File
@@ -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)];