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 e5693fe447
commit 384d30d00c
7 files changed
+168 -68

No files matched your search

+1 -1
View File
@@ -243,7 +243,7 @@ static NSArray<SBVobSubTrack *> * LoadVobSubSubtitles(NSURL *theDirectory, NSStr
newTrack.URL = self.fileURL;
newTrack.alternate_group = 2;
newTrack.trackId = count++;
newTrack.language = [NSString stringWithFormat:@"%s", lang_for_code_s([track->language UTF8String])->iso639_2];;
newTrack.language = [MP42Languages ISO_639_2CodeForISO_639_1:track->language];
newTrack.duration = track->duration;
[self addTrack:newTrack];