mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-29 05:24:26 +00:00
Use alerts instead of notifications
This commit is contained in:
1 parent
0cdb0976ef
commit
79cd07fc70
2 files changed
+2
-2
No files matched your search
Vendored
+1
-1
@@ -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";
|
||||
|
||||
Vendored
+1
-1
@@ -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)];
|
||||
|
||||
Reference in new issue
Block a user