2005-02-16 [colin] 1.0.1cvs11.3
[claws.git] / src / common / intl.h
index 5ce3ad8200b8c4534f9e69b6a7250799a97ad577..7faa1d8c48702bf832e783c04d248c46fea245c0 100644 (file)
@@ -7,7 +7,11 @@
 
 #ifdef ENABLE_NLS
 #  include <libintl.h>
-#  define _(String) gettext(String)
+#  ifndef TEXTDOMAIN
+#    define _(String) gettext(String)
+#  else
+#    define _(String) dgettext(TEXTDOMAIN, String)
+#  endif /* TEXTDOMAIN */
 #  ifdef gettext_noop
 #    define N_(String) gettext_noop(String)
 #  else