summaryrefslogtreecommitdiff
path: root/src/core/nls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nls.h')
-rw-r--r--src/core/nls.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/nls.h b/src/core/nls.h
index dfa640d..3709d6d 100644
--- a/src/core/nls.h
+++ b/src/core/nls.h
@@ -1,11 +1,12 @@
#ifndef NLS_H
#define NLS_H
+#include <config.h>
+
#if ENABLE_NLS
-#include <config.h>
#include <libintl.h>
-#define _(S) gettext(S)
+#define _(S) dgettext(PACKAGE, S)
#define init_nls() \
do{ \
bindtextdomain(PACKAGE, LOCALEDIR); \