aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-01-29 16:10:04 +0000
committerstuconnolly <stuart02@gmail.com>2012-01-29 16:10:04 +0000
commitb7bd2ae9a683652920a6c772eadeca2bac1e7b91 (patch)
tree8da41c2071173af408a749336b6f7f3d776392f4 /Source
parentdcff7d1299bd0887736f7464698b61ef18a94416 (diff)
downloadsequelpro-b7bd2ae9a683652920a6c772eadeca2bac1e7b91.tar.gz
sequelpro-b7bd2ae9a683652920a6c772eadeca2bac1e7b91.tar.bz2
sequelpro-b7bd2ae9a683652920a6c772eadeca2bac1e7b91.zip
Localize favorites import error message and update strings.
Diffstat (limited to 'Source')
-rw-r--r--Source/SPConnectionController.h1
-rw-r--r--Source/SPFavoritesImporter.m3
2 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h
index 306342c2..a069253b 100644
--- a/Source/SPConnectionController.h
+++ b/Source/SPConnectionController.h
@@ -76,6 +76,7 @@
BOOL automaticFavoriteSelection;
BOOL cancellingConnection;
BOOL isConnecting;
+
#ifndef SP_REFACTOR /* ivars */
// Standard details
NSInteger previousType;
diff --git a/Source/SPFavoritesImporter.m b/Source/SPFavoritesImporter.m
index 7726a949..60b483d5 100644
--- a/Source/SPFavoritesImporter.m
+++ b/Source/SPFavoritesImporter.m
@@ -70,7 +70,8 @@
else {
error = [NSError errorWithDomain:NSCocoaErrorDomain
code:NSFileNoSuchFileError
- userInfo:[NSDictionary dictionaryWithObject:@"Import file does not exist." forKey:NSLocalizedDescriptionKey]];
+ userInfo:[NSDictionary dictionaryWithObject:NSLocalizedString(@"Import file does not exist.", @"import file does not exist message")
+ forKey:NSLocalizedDescriptionKey]];
}
[self _informDelegateOfImportCompletion:error];