diff options
author | stuconnolly <stuart02@gmail.com> | 2010-09-21 10:39:34 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-09-21 10:39:34 +0000 |
commit | c36387a52cf34318082d5fdbf9c48274f3c764a2 (patch) | |
tree | a0059bc8c3709e40812c109a7bcec44650d187fb /Source/SPDataImport.m | |
parent | e42ca858f56f62768da1118787c0bde0ad92fb93 (diff) | |
download | sequelpro-c36387a52cf34318082d5fdbf9c48274f3c764a2.tar.gz sequelpro-c36387a52cf34318082d5fdbf9c48274f3c764a2.tar.bz2 sequelpro-c36387a52cf34318082d5fdbf9c48274f3c764a2.zip |
Update Localizable.strings and resolve the use of multiple comments for the same string.
Diffstat (limited to 'Source/SPDataImport.m')
-rw-r--r-- | Source/SPDataImport.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPDataImport.m b/Source/SPDataImport.m index efc85bbc..11113a58 100644 --- a/Source/SPDataImport.m +++ b/Source/SPDataImport.m @@ -436,7 +436,7 @@ [mySQLConnection queryString:[NSString stringWithFormat:@"SET NAMES '%@'", connectionEncodingToRestore]]; } [self closeAndStopProgressSheet]; - SPBeginAlertSheet(NSLocalizedString(@"File read error", @"SQL read error title"), + SPBeginAlertSheet(NSLocalizedString(@"File read error", @"File read error title"), NSLocalizedString(@"OK", @"OK button"), nil, nil, [tableDocumentInstance parentWindow], self, nil, nil, [NSString stringWithFormat:NSLocalizedString(@"An error occurred when reading the file.\n\nOnly %ld queries were executed.\n\n(%@)", @"SQL read error, including detail from system"), (long)queriesPerformed, [exception reason]]); @@ -486,7 +486,7 @@ } else { displayEncoding = [NSString localizedNameOfStringEncoding:sqlEncoding]; } - SPBeginAlertSheet(NSLocalizedString(@"File read error", @"SQL read error title"), + SPBeginAlertSheet(NSLocalizedString(@"File read error", @"File read error title"), NSLocalizedString(@"OK", @"OK button"), nil, nil, [tableDocumentInstance parentWindow], self, nil, nil, [NSString stringWithFormat:NSLocalizedString(@"An error occurred when reading the file, as it could not be read in the encoding you selected (%@).\n\nOnly %ld queries were executed.", @"SQL encoding read error"), displayEncoding, (long)queriesPerformed]); @@ -763,7 +763,7 @@ // Report file read errors, and bail @catch (NSException *exception) { [self closeAndStopProgressSheet]; - SPBeginAlertSheet(NSLocalizedString(@"File read error", @"CSV read error title"), + SPBeginAlertSheet(NSLocalizedString(@"File read error", @"File read error title"), NSLocalizedString(@"OK", @"OK button"), nil, nil, [tableDocumentInstance parentWindow], self, nil, nil, [NSString stringWithFormat:NSLocalizedString(@"An error occurred when reading the file.\n\nOnly %ld rows were imported.\n\n(%@)", @"CSV read error, including detail string from system"), (long)rowsImported, [exception reason]]); @@ -812,7 +812,7 @@ } else { displayEncoding = [NSString localizedNameOfStringEncoding:csvEncoding]; } - SPBeginAlertSheet(NSLocalizedString(@"File read error", @"CSV read error title"), + SPBeginAlertSheet(NSLocalizedString(@"File read error", @"File read error title"), NSLocalizedString(@"OK", @"OK button"), nil, nil, [tableDocumentInstance parentWindow], self, nil, nil, [NSString stringWithFormat:NSLocalizedString(@"An error occurred when reading the file, as it could not be read using the encoding you selected (%@).\n\nOnly %ld rows were imported.", @"CSV encoding read error"), displayEncoding, (long)rowsImported]); |