From e853ce6672f1548cb2e5cc120e7b6fa1b7ce63a7 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sun, 1 Aug 2010 16:37:07 +0000 Subject: - Make SSH titlebar strings and preferences' favourite "Last Used" menu item localisable --- Resources/English.lproj/Localizable.strings | Bin 159964 -> 160398 bytes Source/SPConnectionController.m | 4 ++-- Source/SPPreferenceController.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/English.lproj/Localizable.strings b/Resources/English.lproj/Localizable.strings index 70e42f3a..5f3667bd 100644 Binary files a/Resources/English.lproj/Localizable.strings and b/Resources/English.lproj/Localizable.strings differ diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m index bd239e6c..7dc40181 100644 --- a/Source/SPConnectionController.m +++ b/Source/SPConnectionController.m @@ -318,10 +318,10 @@ [tableDocument setTitlebarStatus:@"SSH Disconnected"]; [self failConnectionWithTitle:NSLocalizedString(@"SSH connection failed!", @"SSH connection failed title") errorMessage:[theTunnel lastError] detail:[sshTunnel debugMessages]]; } else if (newState == PROXY_STATE_CONNECTED) { - [tableDocument setTitlebarStatus:@"SSH Connected"]; + [tableDocument setTitlebarStatus:NSLocalizedString(@"SSH Connected", @"SSH connected titlebar marker")]; [self initiateMySQLConnection]; } else { - [tableDocument setTitlebarStatus:@"SSH Connecting…"]; + [tableDocument setTitlebarStatus:NSLocalizedString(@"SSH Connecting…", @"SSH connecting titlebar marker")]; } } diff --git a/Source/SPPreferenceController.m b/Source/SPPreferenceController.m index ab8ec067..2d798204 100644 --- a/Source/SPPreferenceController.m +++ b/Source/SPPreferenceController.m @@ -1149,7 +1149,7 @@ [defaultFavoritePopup removeAllItems]; // Use the last used favorite - [defaultFavoritePopup addItemWithTitle:@"Last Used"]; + [defaultFavoritePopup addItemWithTitle:NSLocalizedString(@"Last Used", @"Last Used entry in favorites menu")]; [[defaultFavoritePopup menu] addItem:[NSMenuItem separatorItem]]; // Add all favorites to the menu -- cgit v1.2.3