[MPlayer-dev-eng] Some MSGTR for demux_mkv.c

mail at kraymer.de mail at kraymer.de
Sun Nov 5 14:46:38 CET 2006


> On Sun, Nov 05, 2006 at 01:33:28PM +0100, mail at kraymer.de wrote:
>> > Hello folks,
>> >
>> > I made my first attempts to alter source code to extract messages.
>> > Obvious purpose is to make translations possible.
>>
>> Hm, I forgot to add #includes (mp_msg.h and help_en.h) to demux_mkv.c
>> to make use of the messages (compile error without them). Not sure
>> though if this was correctly done.
>
> Well, you should compile your stuff :)

Yes, I should have.

>> --- help/help_mp-en.h	(revision 20687)
>> +++ help/help_mp-en.h	(working copy)
>> @@ -611,6 +611,28 @@
>>  #define MSGTR_NoBindFound "No bind found for key '%s'."
>>  #define MSGTR_FailedToOpen "Failed to open %s.\n"
>>
>> +#define MSGTR_ZlibInitializationFailed "[mkv] zlib initialization
>> failed.\n"
>
> Somewhere below is a place where all the other demuxer messages are.
> Also, they use a MSGTR_MPDEMUX prefix.  Otherwise looks OK.


Found it. In the updated patch, I'm using MSGTR_MPDEMUX_MKV_* now.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp_msg_demux_mkv_updated.patch
Type: text/x-patch
Size: 11835 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20061105/a0d62366/attachment.bin>


More information about the MPlayer-dev-eng mailing list