aboutsummaryrefslogtreecommitdiffstats
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
parentdcff7d1299bd0887736f7464698b61ef18a94416 (diff)
downloadsequelpro-b7bd2ae9a683652920a6c772eadeca2bac1e7b91.tar.gz
sequelpro-b7bd2ae9a683652920a6c772eadeca2bac1e7b91.tar.bz2
sequelpro-b7bd2ae9a683652920a6c772eadeca2bac1e7b91.zip
Localize favorites import error message and update strings.
-rw-r--r--Resources/English.lproj/ImportAccessory.stringsbin8656 -> 8916 bytes
-rw-r--r--Resources/English.lproj/Localizable.stringsbin226764 -> 229222 bytes
-rw-r--r--Source/SPConnectionController.h1
-rw-r--r--Source/SPFavoritesImporter.m3
4 files changed, 3 insertions, 1 deletions
diff --git a/Resources/English.lproj/ImportAccessory.strings b/Resources/English.lproj/ImportAccessory.strings
index ce2730dc..e176385f 100644
--- a/Resources/English.lproj/ImportAccessory.strings
+++ b/Resources/English.lproj/ImportAccessory.strings
Binary files differ
diff --git a/Resources/English.lproj/Localizable.strings b/Resources/English.lproj/Localizable.strings
index 8b9f8ecd..3b7d3a3f 100644
--- a/Resources/English.lproj/Localizable.strings
+++ b/Resources/English.lproj/Localizable.strings
Binary files differ
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];