Last batch of localisation work.

This commit is contained in:
Damiano Galassi committed 2016-10-26 10:50:46 +02:00
1 parent a2e48e9895
commit fbb7392ccc
8 files changed
+61 -12

No files matched your search

+1 -1
View File
@@ -167,7 +167,7 @@ static void *SBMetadataPrefsViewControllerContex = &SBMetadataPrefsViewControlle
- (NSString *)tokenField:(NSTokenField *)tokenField displayStringForRepresentedObject:(id)representedObject
{
if ([representedObject rangeOfString: @"{"].location == 0) {
return [(NSString *)representedObject substringWithRange:NSMakeRange(1, [(NSString *)representedObject length]-2)];
return [SBMetadataResult localizedDisplayNameForKey:representedObject];
}
return representedObject;