mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
Re-title skip button when update is a major one
This commit is contained in:
1 parent
f671b82e50
commit
59fbd37bb1
2 files changed
+7
No files matched your search
Vendored
+3
@@ -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";
|
||||
|
||||
|
||||
Vendored
+4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user