Show localized track names in the document window.

This commit is contained in:
Damiano Galassi committed 2016-11-23 11:40:21 +01:00
1 parent dc2d01b321
commit 78f4a7f7af
7 files changed
+22 -23

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 langForISO_639_2Code:fileTrack.language]]
[MP42Languages.defaultManager localizedLangForISO_639_2Code: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 langForISO_639_2Code:fileTrack.language]]
[MP42Languages.defaultManager localizedLangForISO_639_2Code:fileTrack.language]]
action:@selector(setFollowsTrack:)
keyEquivalent:@""];
newItem.target = self;