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

Diego Biurrun diego at biurrun.de
Sun Nov 5 14:49:34 CET 2006


On Sun, Nov 05, 2006 at 02:46:38PM +0100, mail at kraymer.de wrote:
> > On Sun, Nov 05, 2006 at 01:33:28PM +0100, mail at kraymer.de wrote:
> >> >
> >> > 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.

Looks good, if it compiles and works (it should), apply it.

Diego



More information about the MPlayer-dev-eng mailing list