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 --- Source/SPConnectionController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/SPConnectionController.m') 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")]; } } -- cgit v1.2.3