[MPlayer-DOCS] r33454 - in trunk: help/help_mp-en.h stream/stream.c

ib subversion at mplayerhq.hu
Wed May 11 13:35:38 CEST 2011


Author: ib
Date: Wed May 11 13:35:38 2011
New Revision: 33454

Log:
Make stream messages translatable.

Replace fixed strings by symbolic constants.

Modified:
   trunk/help/help_mp-en.h

Changes in other areas also in this revision:
Modified:
   trunk/stream/stream.c

Modified: trunk/help/help_mp-en.h
==============================================================================
--- trunk/help/help_mp-en.h	Wed May 11 08:59:51 2011	(r33453)
+++ trunk/help/help_mp-en.h	Wed May 11 13:35:38 2011	(r33454)
@@ -1894,6 +1894,17 @@ static const char help_text[]=
 #define MSGTR_CantOpenBluray "Couldn't open Blu-ray device: %s\n"
 #define MSGTR_CantOpenDVD "Couldn't open DVD device: %s (%s)\n"
 
+#define MSGTR_URLParsingFailed "URL parsing failed on url %s\n"
+#define MSGTR_FailedSetStreamOption "Failed to set stream option %s=%s\n"
+#define MSGTR_StreamNeedType "Streams need a type!\n"
+#define MSGTR_StreamProtocolNULL "Stream type %s has protocols == NULL, it's a bug\n"
+#define MSGTR_StreamCantHandleURL "No stream found to handle url %s\n"
+#define MSGTR_StreamNULLFilename "open_output_stream(), NULL filename, report this bug\n"
+#define MSGTR_StreamErrorWritingCapture "Error writing capture file: %s\n"
+#define MSGTR_StreamSeekFailed "Seek failed\n"
+#define MSGTR_StreamNotSeekable "Stream not seekable!\n"
+#define MSGTR_StreamCannotSeekBackward "Cannot seek backward in linear streams!\n"
+
 // stream_cdda.c
 #define MSGTR_MPDEMUX_CDDA_CantOpenCDDADevice "Can't open CDDA device.\n"
 #define MSGTR_MPDEMUX_CDDA_CantOpenDisc "Can't open disc.\n"


More information about the MPlayer-DOCS mailing list