Use the iso639_2 to store the language in MP42Track.
This commit is contained in:
1 parent
4ea4fa3d19
commit
d503c045fb
5 files changed
+14
-10
No files matched your search
@@ -10,6 +10,7 @@
|
||||
#import "SBMediaTagsController.h"
|
||||
|
||||
#import <MP42Foundation/MP42File.h>
|
||||
#import <MP42Foundation/MP42Languages.h>
|
||||
|
||||
@implementation SBSoundViewController
|
||||
{
|
||||
@@ -54,7 +55,7 @@
|
||||
NSMenuItem *newItem = [[NSMenuItem alloc] initWithTitle:[NSString stringWithFormat:@"%@ - %@ - %@",
|
||||
fileTrack.trackId ? [NSString stringWithFormat:@"%d", fileTrack.trackId] : @"na",
|
||||
fileTrack.name,
|
||||
fileTrack.language]
|
||||
[MP42Languages langForISO_639_2Code:fileTrack.language]]
|
||||
action:@selector(setFallbackTrack:)
|
||||
keyEquivalent:@""];
|
||||
newItem.target = self;
|
||||
@@ -84,7 +85,7 @@
|
||||
NSMenuItem *newItem = [[NSMenuItem alloc] initWithTitle:[NSString stringWithFormat:@"%@ - %@ - %@",
|
||||
fileTrack.trackId ? [NSString stringWithFormat:@"%d", fileTrack.trackId] : @"na",
|
||||
fileTrack.name,
|
||||
fileTrack.language]
|
||||
[MP42Languages langForISO_639_2Code:fileTrack.language]]
|
||||
action:@selector(setFollowsTrack:)
|
||||
keyEquivalent:@""];
|
||||
newItem.target = self;
|
||||
|
||||
Reference in new issue
Block a user