# HG changeset patch # User alex # Date 1016226468 0 # Node ID 870ba1ffdbf92dae9cb7229af711b95cbeec9a89 # Parent c1eeb9416fd10b7a9c26b5a68dc082861bcc02fa added mp_gettext macro for i18n diff -r c1eeb9416fd1 -r 870ba1ffdbf9 mp_msg.h --- a/mp_msg.h Fri Mar 15 20:48:42 2002 +0000 +++ b/mp_msg.h Fri Mar 15 21:07:48 2002 +0000 @@ -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 +#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 )