aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-08-01 16:37:07 +0000
committerrowanbeentje <rowan@beent.je>2010-08-01 16:37:07 +0000
commite853ce6672f1548cb2e5cc120e7b6fa1b7ce63a7 (patch)
tree6ff85c35a79999a6dfd7cc7708f71f5f9953aded
parent99ac3b5a59e43296984fd794eefc500e0e314f54 (diff)
downloadsequelpro-e853ce6672f1548cb2e5cc120e7b6fa1b7ce63a7.tar.gz
sequelpro-e853ce6672f1548cb2e5cc120e7b6fa1b7ce63a7.tar.bz2
sequelpro-e853ce6672f1548cb2e5cc120e7b6fa1b7ce63a7.zip
- Make SSH titlebar strings and preferences' favourite "Last Used" menu item localisable
-rw-r--r--Resources/English.lproj/Localizable.stringsbin159964 -> 160398 bytes
-rw-r--r--Source/SPConnectionController.m4
-rw-r--r--Source/SPPreferenceController.m2
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
--- a/Resources/English.lproj/Localizable.strings
+++ b/Resources/English.lproj/Localizable.strings
Binary files 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