From 3a47bfe4b17c330ef26229fea8ffe4b8b1fab33c Mon Sep 17 00:00:00 2001 From: Changwoo Ryu Date: Wed, 17 Feb 1999 03:59:39 +0000 Subject: Removed the suspicious `#ifdef HAVE_DGETTEXT...' switch. Now `progname 1999-02-17 Changwoo Ryu * poptint.h: Removed the suspicious `#ifdef HAVE_DGETTEXT...' switch. Now `progname --help' messages should be translated. svn path=/trunk/; revision=637 --- support/ChangeLog | 5 +++++ support/poptint.h | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'support') diff --git a/support/ChangeLog b/support/ChangeLog index bd1b2eee..838c49a4 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,3 +1,8 @@ +1999-02-17 Changwoo Ryu + + * poptint.h: Removed the suspicious `#ifdef HAVE_DGETTEXT...' + switch. Now `progname --help' messages should be translated. + 1998-12-24 Jeff Garzik * poptparse.[ch]: poptParseArgvString cleanups... diff --git a/support/poptint.h b/support/poptint.h index 8fc6a84c..57dd839b 100644 --- a/support/poptint.h +++ b/support/poptint.h @@ -49,14 +49,10 @@ struct poptContext_s { #ifdef HAVE_GETTEXT #define _(foo) gettext(foo) -#else -#define _(foo) (foo) -#endif - -#ifdef HAVE_DGETTEXT #define D_(dom, str) dgettext(dom, str) #define POPT_(foo) D_("popt", foo) #else +#define _(foo) (foo) #define POPT_(foo) (foo) #define D_(dom, str) (str) #endif -- cgit v1.2.1