aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-i18n.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-i18n.h')
-rw-r--r--e-util/e-i18n.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/e-util/e-i18n.h b/e-util/e-i18n.h
index e10ad4fa2b..c376a22014 100644
--- a/e-util/e-i18n.h
+++ b/e-util/e-i18n.h
@@ -43,7 +43,11 @@ BEGIN_GNOME_DECLS
#ifdef ENABLE_NLS
# include <libintl.h>
# undef _
-# define _(String) dgettext (PACKAGE, String)
+# ifdef GNOME_EXPLICIT_TRANSLATION_DOMAIN
+# define _(String) dgettext (GNOME_EXPLICIT_TRANSLATION_DOMAIN, String)
+# else
+# define _(String) dgettext (PACKAGE, String)
+# endif
# ifdef gettext_noop
# define N_(String) gettext_noop (String)
# else