Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ccgus/fmdb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonathan Hammer <jhammer@mac.com>2018-08-14 23:05:44 +0300
committerGitHub <noreply@github.com>2018-08-14 23:05:44 +0300
commit17ac6f37da2776695e6e64c6bfe62cd3d4d300ce (patch)
tree651bf8e0cae7852037c593ebe3272ecc1a80bd59 /src
parent439559d887e3b1920a5e61b6f9110637397a9706 (diff)
Use NSLocalizedStringFromTable
Use NSLocalizedStringFromTable instead of NSLocalizedString in order to avoid polluting the global Localizable.strings table
Diffstat (limited to 'src')
-rwxr-xr-xsrc/fmdb/FMDatabaseQueue.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmdb/FMDatabaseQueue.m b/src/fmdb/FMDatabaseQueue.m
index de01398..da296b9 100755
--- a/src/fmdb/FMDatabaseQueue.m
+++ b/src/fmdb/FMDatabaseQueue.m
@@ -282,7 +282,7 @@ static const void * const kDispatchQueueSpecificKey = &kDispatchQueueSpecificKey
FMDBRelease(self);
return err;
#else
- NSString *errorMessage = NSLocalizedString(@"Save point functions require SQLite 3.7", nil);
+ NSString *errorMessage = NSLocalizedStringFromTable(@"Save point functions require SQLite 3.7", @"FMDB", nil);
if (self.logsErrors) NSLog(@"%@", errorMessage);
return [NSError errorWithDomain:@"FMDatabase" code:0 userInfo:@{NSLocalizedDescriptionKey : errorMessage}];
#endif