Re-title skip button when update is a major one

This commit is contained in:
Zorg committed 2021-05-09 23:03:05 -07:00
1 parent f671b82e50
commit 59fbd37bb1
2 files changed
+7

No files matched your search

+3
View File
@@ -98,6 +98,9 @@
without a download but with a URL. */
"Learn More..." = "Learn More…";
/* When the update to download or install is a major (usually paid) one */
"Skip Major Upgrade" = "Skip Major Upgrade";
/* the unit for megabytes */
"MB" = "MB";
+4
View File
@@ -369,6 +369,10 @@ static NSString *const SUUpdateAlertTouchBarIndentifier = @"" SPARKLE_BUNDLE_IDE
// We should be explicit that the update will be installed on quit
self.laterButton.title = SULocalizedString(@"Install on Quit", @"Alternate title for 'Remind Me Later' button when downloaded updates can be resumed");
}
if (self.state.majorUpgrade) {
self.skipButton.title = SULocalizedString(@"Skip Major Upgrade", nil);
}
if ([self.updateItem isCriticalUpdate]) {
self.skipButton.hidden = YES;