diff options
author | stuconnolly <stuart02@gmail.com> | 2012-01-29 16:10:04 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-01-29 16:10:04 +0000 |
commit | b7bd2ae9a683652920a6c772eadeca2bac1e7b91 (patch) | |
tree | 8da41c2071173af408a749336b6f7f3d776392f4 | |
parent | dcff7d1299bd0887736f7464698b61ef18a94416 (diff) | |
download | sequelpro-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.strings | bin | 8656 -> 8916 bytes | |||
-rw-r--r-- | Resources/English.lproj/Localizable.strings | bin | 226764 -> 229222 bytes | |||
-rw-r--r-- | Source/SPConnectionController.h | 1 | ||||
-rw-r--r-- | Source/SPFavoritesImporter.m | 3 |
4 files changed, 3 insertions, 1 deletions
diff --git a/Resources/English.lproj/ImportAccessory.strings b/Resources/English.lproj/ImportAccessory.strings Binary files differindex ce2730dc..e176385f 100644 --- a/Resources/English.lproj/ImportAccessory.strings +++ b/Resources/English.lproj/ImportAccessory.strings diff --git a/Resources/English.lproj/Localizable.strings b/Resources/English.lproj/Localizable.strings Binary files differindex 8b9f8ecd..3b7d3a3f 100644 --- a/Resources/English.lproj/Localizable.strings +++ b/Resources/English.lproj/Localizable.strings 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]; |