added missing localizations

This commit is contained in:
michael starke
2017-09-02 09:42:12 +02:00
parent 1ed9bc2856
commit e8bdd3b2b8
6 changed files with 7 additions and 7 deletions

View File

@@ -236,9 +236,9 @@ NSString *const MPDidChangeStoredKeyFilesSettings = @"com.hicknhack.macpass.MPDi
- (void)checkForUpdates:(id)sender {
#if defined(DEBUG) || defined(NO_SPARKLE)
NSAlert *alert = [[NSAlert alloc] init];
alert.messageText = @"Updates are disabled!";
alert.messageText = NSLocalizedString(@"Updates are disabled!", @"Message text for disabled updates alert!");
alert.informativeText = [NSString stringWithFormat:@"Sparkle updates are disabled for this build of %@!", NSApp.applicationName];
[alert addButtonWithTitle:@"Ok"];
[alert addButtonWithTitle:NSLocalizedString(@"OK", @"Ok button")];
[alert runModal];
#else
[[SUUpdater sharedUpdater] checkForUpdates:sender];