Last batch of localisation work.
This commit is contained in:
1 parent
a2e48e9895
commit
fbb7392ccc
8 files changed
+61
-12
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user