Always use extended language tags when possible.

This commit is contained in:
Damiano Galassi committed 2016-11-26 13:14:14 +01:00
1 parent aa1f5487b4
commit 658a12fc4c
15 files changed
+184 -116

No files matched your search

+2 -2
View File
@@ -55,7 +55,7 @@
NSMenuItem *newItem = [[NSMenuItem alloc] initWithTitle:[NSString stringWithFormat:@"%@ - %@ - %@",
fileTrack.trackId ? [NSString stringWithFormat:@"%d", fileTrack.trackId] : @"na",
fileTrack.name,
[MP42Languages.defaultManager localizedLangForISO_639_2Code:fileTrack.language]]
[MP42Languages.defaultManager localizedLangForExtendedTag:fileTrack.language]]
action:@selector(setFallbackTrack:)
keyEquivalent:@""];
newItem.target = self;
@@ -85,7 +85,7 @@
NSMenuItem *newItem = [[NSMenuItem alloc] initWithTitle:[NSString stringWithFormat:@"%@ - %@ - %@",
fileTrack.trackId ? [NSString stringWithFormat:@"%d", fileTrack.trackId] : @"na",
fileTrack.name,
[MP42Languages.defaultManager localizedLangForISO_639_2Code:fileTrack.language]]
[MP42Languages.defaultManager localizedLangForExtendedTag:fileTrack.language]]
action:@selector(setFollowsTrack:)
keyEquivalent:@""];
newItem.target = self;