Commit 7a18bd90 authored by Felix Paul Kühne's avatar Felix Paul Kühne

track selector: capitalize track flavors

parent cc7c8641
......@@ -55,8 +55,9 @@
[VLCPlaybackInfoTrackTVTitleView registerInCollectionView:self.audioTrackCollectionView];
[VLCPlaybackInfoTrackTVTitleView registerInCollectionView:self.subtitleTrackCollectionView];
self.audioDataSource.title = NSLocalizedString(@"AUDIO", nil);
self.subtitleDataSource.title = NSLocalizedString(@"SUBTITLES", nil);
NSLocale *currentLocale = [NSLocale currentLocale];
self.audioDataSource.title = [NSLocalizedString(@"AUDIO", nil) capitalizedStringWithLocale:currentLocale];
self.subtitleDataSource.title = [NSLocalizedString(@"SUBTITLES", nil) capitalizedStringWithLocale:currentLocale];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(mediaPlayerChanged) name:VLCPlaybackControllerPlaybackMetadataDidChange object:nil];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment