[Mplayer-cvslog] CVS: main mp_msg.h,1.13,1.14

Alex Beregszaszi alex at mplayer.dev.hu
Fri Mar 15 22:07:52 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv6870

Modified Files:
	mp_msg.h 
Log Message:
added mp_gettext macro for i18n

Index: mp_msg.h
===================================================================
RCS file: /cvsroot/mplayer/main/mp_msg.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- mp_msg.h	23 Feb 2002 15:12:45 -0000	1.13
+++ mp_msg.h	15 Mar 2002 21:07:48 -0000	1.14
@@ -69,6 +69,14 @@
 void mp_msg_init(int verbose);
 void mp_msg_c( int x, const char *format, ... );
 
+#include "config.h"
+
+#ifdef USE_I18N
+#include <libintl.h>
+#define mp_gettext(String) gettext(String)
+#else
+#define mp_gettext(String) String
+#endif
 
 #ifdef __GNUC__
 #define mp_msg(mod,lev, args... ) mp_msg_c((mod<<8)|lev, ## args )




More information about the MPlayer-cvslog mailing list