Removed the suspicious `#ifdef HAVE_DGETTEXT...' switch. Now `progname
authorChangwoo Ryu <cwryu@adam.kaist.ac.kr>
Wed, 17 Feb 1999 03:59:39 +0000 (03:59 +0000)
committerChangwoo Ryu <cwryu@src.gnome.org>
Wed, 17 Feb 1999 03:59:39 +0000 (03:59 +0000)
1999-02-17  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

* poptint.h: Removed the suspicious `#ifdef HAVE_DGETTEXT...'
switch.  Now `progname --help' messages should be translated.

svn path=/trunk/; revision=637

support/ChangeLog
support/poptint.h

index bd1b2ee..838c49a 100644 (file)
@@ -1,3 +1,8 @@
+1999-02-17  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>
+
+       * poptint.h: Removed the suspicious `#ifdef HAVE_DGETTEXT...'
+       switch.  Now `progname --help' messages should be translated.
+
 1998-12-24  Jeff Garzik  <jgarzik@pobox.com>
 
        * poptparse.[ch]:  poptParseArgvString cleanups...
index 8fc6a84..57dd839 100644 (file)
@@ -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