[Mplayer-cvslog] CVS: main mp_msg.h,1.13,1.14
Alex Beregszaszi
alex at mplayer.dev.hu
Fri Mar 15 20:55:37 CET 2002
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv19891
Modified Files:
mp_msg.h
Log Message:
added _() wrapper 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 19:55:34 -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 _(String) gettext(String)
+#else
+#define _(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