From 669c369ce7264193335bc7648effc59f33c804d7 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sun, 18 Apr 2021 12:06:34 -0700 Subject: [PATCH] Add missing localization strings to Sparkle.strings --- Sparkle/Base.lproj/Sparkle.strings | 25 +++++++++++++++++++++++++ Sparkle/SPUBasicUpdateDriver.m | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/Sparkle/Base.lproj/Sparkle.strings b/Sparkle/Base.lproj/Sparkle.strings index 48acd4d4..40e1021a 100644 --- a/Sparkle/Base.lproj/Sparkle.strings +++ b/Sparkle/Base.lproj/Sparkle.strings @@ -14,6 +14,22 @@ "%@ %@ is currently the newest version available.\n(You are currently running version %@.)" = "%1$@ %2$@ is currently the newest version available.\n(You are currently running version %3$@.)"; +"No valid update information could be loaded." = "No valid update information could be loaded."; + +"No new update has been checked because the installation will require interaction, which has been prevented." = "No new update has been checked because the installation will require interaction, which has been prevented."; + +"A new update is available but cannot be installed because interaction has been prevented." = "A new update is available but cannot be installed because interaction has been prevented."; + +"An error occurred while running the updater. Please try again later." = "An error occurred while running the updater. Please try again later."; + +"An error occurred while encoding the installer parameters. Please try again later." = "An error occurred while encoding the installer parameters. Please try again later."; + +"An error occurred while starting the installer. Please try again later." = "An error occurred while starting the installer. Please try again later."; + +"An error occurred while connecting to the installer. Please try again later." = "An error occurred while connecting to the installer. Please try again later."; + +"An error occurred while launching the installer. Please try again later." = "An error occurred while launching the installer. Please try again later."; + "Update Installed" = "Update Installed"; "%@ is now updated to version %@!" = "%@ is now updated to version %@!"; @@ -26,6 +42,9 @@ /* Description text for SUUpdateAlert when the update informational with no download. */ "%@ %@ is now available--you have %@. Would you like to learn more about this update on the web?" = "%1$@ %2$@ is now available—you have %3$@. Would you like to learn more about this update on the web?"; +/* Critical downloadable update */ +"%@ %@ is now available--you have %@. This is an important update; would you like to download it now?" = "%1$@ %2$@ is now available--you have %3$@. This is an important update; would you like to download it now?"; + "%@ downloaded" = "%@ downloaded"; "%@ of %@" = "%1$@ of %2$@"; @@ -44,6 +63,10 @@ "An error occurred while parsing the update feed." = "An error occurred while parsing the update feed."; +"An error occurred while downloading the update feed." = "An error occurred while downloading the update feed."; + +"Failed to resume installing update." = "Failed to resume installing update."; + "An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@."; "An important update to %@ is ready to install" = "An important update to %@ is ready to install"; @@ -68,6 +91,8 @@ "Install and Relaunch" = "Install and Relaunch"; +"Install on Quit" = "Install on Quit"; + /* Take care not to overflow the status window. */ "Installing update..." = "Installing update…"; diff --git a/Sparkle/SPUBasicUpdateDriver.m b/Sparkle/SPUBasicUpdateDriver.m index fa072a6b..49929c1a 100644 --- a/Sparkle/SPUBasicUpdateDriver.m +++ b/Sparkle/SPUBasicUpdateDriver.m @@ -187,7 +187,7 @@ } else { localizedDescription = SULocalizedString(@"Update Error!", nil); recoverySuggestion = SULocalizedString(@"No valid update information could be loaded.", nil); - recoveryOption = @"Cancel Update"; + recoveryOption = SULocalizedString(@"Cancel Update", nil); } NSError *notFoundError =