summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangwoo Ryu <cwryu@adam.kaist.ac.kr>1999-02-17 03:59:39 +0000
committerChangwoo Ryu <cwryu@src.gnome.org>1999-02-17 03:59:39 +0000
commit3a47bfe4b17c330ef26229fea8ffe4b8b1fab33c (patch)
tree68cf5deb761240888fa762c874a1a87566b191d9
parentb713073000438f0ac564ea3d7a2ead80f22b1b7a (diff)
downloadgnome-common-3a47bfe4b17c330ef26229fea8ffe4b8b1fab33c.tar.gz
Removed the suspicious `#ifdef HAVE_DGETTEXT...' switch. Now `progname
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
-rw-r--r--support/ChangeLog5
-rw-r--r--support/poptint.h6
2 files changed, 6 insertions, 5 deletions
diff --git a/support/ChangeLog b/support/ChangeLog
index bd1b2ee..838c49a 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -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...
diff --git a/support/poptint.h b/support/poptint.h
index 8fc6a84..57dd839 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