diff options
author | Max <post@wickenrode.com> | 2015-10-25 20:07:47 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-10-25 20:07:47 +0100 |
commit | 80272af56eb0236f4c56e60bf0661f036c6e311b (patch) | |
tree | b4da8d0d747386eb533f015c01bddcdcb3f4c241 /Source | |
parent | a1916cf9812e7ff0a958dfa0bdc9436a84782e02 (diff) | |
download | sequelpro-80272af56eb0236f4c56e60bf0661f036c6e311b.tar.gz sequelpro-80272af56eb0236f4c56e60bf0661f036c6e311b.tar.bz2 sequelpro-80272af56eb0236f4c56e60bf0661f036c6e311b.zip |
Add table collation to the table info area
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPTableInfo.m | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPTableInfo.m b/Source/SPTableInfo.m index 66758e3f..942cf63f 100644 --- a/Source/SPTableInfo.m +++ b/Source/SPTableInfo.m @@ -192,8 +192,7 @@ } [info addObject:[NSString stringWithFormat:NSLocalizedString(@"size: %@", @"Table Info Section : table size on disk"), [NSString stringForByteSize:[[tableStatus objectForKey:@"Data_length"] longLongValue]]]]; - [info addObject:[NSString stringWithFormat:NSLocalizedString(@"encoding: %@", @"Table Info Section : table charset"), [tableDataInstance tableEncoding]]]; - //[info addObject:[NSString stringWithFormat:NSLocalizedString(@"collation: %@", @"Table Info Section : table collation"), [tableStatus objectForKey:@"Collation"]]]; + [info addObject:[NSString stringWithFormat:NSLocalizedString(@"encoding: %1$@ (%2$@)", @"Table Info Section : $1 = table charset, $2 = table collation"), [tableDataInstance tableEncoding], [tableStatus objectForKey:@"Collation"]]]; if (![[tableStatus objectForKey:@"Auto_increment"] isNSNull]) { [info addObject:[NSString stringWithFormat:NSLocalizedString(@"auto_increment: %@", @"Table Info Section : current value of auto_increment"), |