[MPlayer-dev-eng] [PATCH] Make stream messages translatable
Diego Biurrun
diego at biurrun.de
Mon May 9 13:03:27 CEST 2011
On Mon, May 09, 2011 at 12:07:39PM +0200, Ingo Brückl wrote:
> Subject says it all.
>
> --- stream/stream.c (revision 33447)
> +++ stream/stream.c (working copy)
> @@ -171,10 +171,10 @@
> for(i = 0 ; options[i] != NULL ; i += 2) {
> - mp_msg(MSGT_OPEN,MSGL_DBG2, "Set stream arg %s=%s\n",
> + mp_msg(MSGT_OPEN,MSGL_DBG2, MSGTR_SetStreamArg,
> options[i],options[i+1]);
> @@ -208,10 +208,10 @@
>
> - mp_msg(MSGT_OPEN,MSGL_V, "STREAM: [%s] %s\n",sinfo->name,filename);
> - mp_msg(MSGT_OPEN,MSGL_V, "STREAM: Description: %s\n",sinfo->info);
> - mp_msg(MSGT_OPEN,MSGL_V, "STREAM: Author: %s\n", sinfo->author);
> - mp_msg(MSGT_OPEN,MSGL_V, "STREAM: Comment: %s\n", sinfo->comment);
> + mp_msg(MSGT_OPEN,MSGL_V, MSGTR_StreamInfoFilename,sinfo->name,filename);
> + mp_msg(MSGT_OPEN,MSGL_V, MSGTR_StreamInfoDescription,sinfo->info);
> + mp_msg(MSGT_OPEN,MSGL_V, MSGTR_StreamInfoAuthor, sinfo->author);
> + mp_msg(MSGT_OPEN,MSGL_V, MSGTR_StreamInfoComment, sinfo->comment);
We do not translate verbose or debug messages.
Diego
More information about the MPlayer-dev-eng
mailing list