0.9.12cvs3
authorChristoph Hohmann <reboot@gmx.ch>
Wed, 30 Jun 2004 16:00:42 +0000 (16:00 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Wed, 30 Jun 2004 16:00:42 +0000 (16:00 +0000)
* configure.ac
        better 'localedir'

* src/common/intl.h
        allow plugins to define TEXTDOMAIN for the _(...) macro

configure.ac
src/common/intl.h

index 7b0ae6f6696b414cd4818c0b14eb76f7c2a5c455..9dd9af3a24a66e0d72f4079e2370547e70c43308 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=12
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=2
+EXTRA_VERSION=3
 EXTRA_RELEASE=
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
index 3cb08bf7ba05580b4e9d953ff6a481a0e63e7916..7757003fc4568e3c0f6ec54d8f7830f7122748f0 100644 (file)
@@ -3,7 +3,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