Made the error message localisable.
This commit is contained in:
1 parent
384d30d00c
commit
6f31037011
9 files changed
+48
-24
No files matched your search
@@ -170,7 +170,8 @@ static int readMkvPacket(struct StdIoStream *ioStream, TrackInfo *trackInfo, ui
|
||||
|
||||
if (!_matroskaFile) {
|
||||
if (outError) {
|
||||
*outError = MP42Error(@"The movie could not be opened.", @"The file is not a matroska file.", 100);
|
||||
*outError = MP42Error(MP42LocalizedString(@"The movie could not be opened.", @"mkv error message"),
|
||||
MP42LocalizedString(@"The file is not a matroska file.", @"mkv error message"), 100);
|
||||
}
|
||||
|
||||
[self release];
|
||||
|
||||
Reference in new issue
Block a user