From 8445dc1e96f8de00ff89b728a9f6cf749cc2c2b0 Mon Sep 17 00:00:00 2001 From: rfelker Date: Thu, 30 Mar 2006 22:14:44 +0000 Subject: remove deprecated, never-used gnu gettext cruft. proper runtime message catalogs will be added with catgets in the (near?) future. this resolves complaints about mp_msg printing crap at startup when gettext was (stupidly) enabled by default even though it was not useful. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17999 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mp_msg.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'mp_msg.c') diff --git a/mp_msg.c b/mp_msg.c index c3c38a674b..d65d9f9767 100644 --- a/mp_msg.c +++ b/mp_msg.c @@ -43,19 +43,6 @@ void mp_msg_init(void){ char *env = getenv("MPLAYER_VERBOSE"); if (env) verbose = atoi(env); -#ifdef USE_I18N -#ifdef MP_DEBUG - fprintf(stdout, "Using GNU internationalization\n"); - fprintf(stdout, "Original domain: %s\n", textdomain(NULL)); - fprintf(stdout, "Original dirname: %s\n", bindtextdomain(textdomain(NULL),NULL)); -#endif - bindtextdomain("mplayer", PREFIX"/share/locale"); - textdomain("mplayer"); -#ifdef MP_DEBUG - fprintf(stdout, "Current domain: %s\n", textdomain(NULL)); - fprintf(stdout, "Current dirname: %s\n\n", bindtextdomain(textdomain(NULL),NULL)); -#endif -#endif for(i=0;i