diff --git a/Sparkle/Base.lproj/Sparkle.strings b/Sparkle/Base.lproj/Sparkle.strings index 86423b2a..c70941db 100644 --- a/Sparkle/Base.lproj/Sparkle.strings +++ b/Sparkle/Base.lproj/Sparkle.strings @@ -14,9 +14,6 @@ "%@ %@ 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$@.)"; -/* An appcast feed error when checking for updates and no appcast items are retrieved */ -"No valid update information could be loaded." = "No valid update information could be loaded."; - "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 starting the installer. Please try again later." = "An error occurred while starting the installer. Please try again later."; diff --git a/Sparkle/SPUBasicUpdateDriver.m b/Sparkle/SPUBasicUpdateDriver.m index 859e9eb7..72ee92c4 100644 --- a/Sparkle/SPUBasicUpdateDriver.m +++ b/Sparkle/SPUBasicUpdateDriver.m @@ -203,17 +203,17 @@ } break; } - - recoveryOption = @"OK"; } else { // When no updates are found in the appcast, or latest appcast item info // was not provided (i.e, for a background update check) - // In the case no info was provided for a background check, the error isn't shown anywhere - localizedDescription = SULocalizedString(@"Update Error!", nil); - recoverySuggestion = SULocalizedString(@"No valid update information could be loaded.", nil); - recoveryOption = SULocalizedString(@"Cancel Update", nil); + // We will need to assume the user is up to date if the feed doen't have any applicable update items + // There could be update items on channels the updater is not subscribed to for example. But we can't tell the user about them. + localizedDescription = SULocalizedString(@"You're up-to-date!", "Status message shown when the user checks for updates but is already current or the feed doesn't contain any updates."); + recoverySuggestion = [NSString stringWithFormat:SULocalizedString(@"%@ %@ is currently the newest version available.", nil), [self.host name], [self.host displayVersion]]; } + recoveryOption = SULocalizedString(@"OK", nil); + NSError *notFoundError = [NSError errorWithDomain:SUSparkleErrorDomain diff --git a/Sparkle/ja.lproj/Sparkle.strings b/Sparkle/ja.lproj/Sparkle.strings index d7c2654f..f3a631ae 100644 --- a/Sparkle/ja.lproj/Sparkle.strings +++ b/Sparkle/ja.lproj/Sparkle.strings @@ -14,9 +14,6 @@ "%@ %@ is currently the newest version available.\n(You are currently running version %@.)" = "%1$@ %2$@は現在入手できる最新バージョンです。\n(現在使用中のバージョンは%3$@です。)"; -/* An appcast feed error when checking for updates and no appcast items are retrieved */ -"No valid update information could be loaded." = "有効なアップデート情報が取得できませんでした。"; - "An error occurred while running the updater. Please try again later." = "アップデータを実行中にエラーが発生しました。あとでやり直してください。"; "An error occurred while starting the installer. Please try again later." = "インストーラを始動中にエラーが発生しました。あとでやり直してください。";