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

Diego Biurrun diego at biurrun.de
Sun Nov 5 14:25:45 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 :)

> --- 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.

Diego



More information about the MPlayer-dev-eng mailing list