summaryrefslogtreecommitdiffstats
path: root/mp_msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'mp_msg.h')
-rw-r--r--mp_msg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mp_msg.h b/mp_msg.h
index 0f2776f922..3a81603992 100644
--- a/mp_msg.h
+++ b/mp_msg.h
@@ -4,6 +4,9 @@
// defined in mplayer.c and mencoder.c
extern int verbose;
+/* No-op macro to mark translated strings in the sources */
+#define _(x) x
+
// verbosity elevel:
/* Only messages level MSGL_FATAL-MSGL_STATUS should be translated,
@@ -111,6 +114,9 @@ int mp_msg_test(int mod, int lev);
#include "config.h"
+char *mp_gtext(const char *string);
+#define mp_tmsg mp_msg
+
#ifdef __GNUC__
void mp_msg(int mod, int lev, const char *format, ... ) __attribute__ ((format (printf, 3, 4)));
# ifdef MP_DEBUG