Made the error message localisable.

This commit is contained in:
Damiano Galassi committed 2016-11-23 12:09:15 +01:00
1 parent 384d30d00c
commit 6f31037011
9 files changed
+48 -24

No files matched your search

+2 -1
View File
@@ -252,7 +252,8 @@ static NSArray<SBVobSubTrack *> * LoadVobSubSubtitles(NSURL *theDirectory, NSStr
if (!self.tracks.count) {
if (outError) {
*outError = MP42Error(@"The file could not be opened.", @"The file is not a idx file, or it does not contain any subtitles.", 100);
*outError = MP42Error(MP42LocalizedString(@"The file could not be opened.", @"vobsub error message"),
MP42LocalizedString(@"The file is not a idx file, or it does not contain any subtitles.", @"vobsub error message"), 100);
}
[self release];