summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2005-07-20 14:52:38 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2005-07-20 14:52:38 +0000
commit3304eb34c14c7f369c1ace0f39c3df47724caf54 (patch)
tree05475d811bae41022e65af27b1b2ffebee026c1e /config.h.in
parent6db0f946028a72a4551c2967cbfe9c1e3a82daa8 (diff)
Relevant BUGIDs: none
Purpose of commit: new feature Commit summary: --------------- Mark message strings for translation
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index acf6c435..d9c445b3 100644
--- a/config.h.in
+++ b/config.h.in
@@ -243,6 +243,15 @@
`char[]'. */
#undef YYTEXT_POINTER
+#ifdef ENABLE_NLS
+#include <libintl.h>
+#define _(msgid) dgettext("Linux-PAM", msgid)
+#define N_(msgid) msgid
+#else
+#define _(msgid) (msgid)
+#define N_(msgid) msgid
+#endif /* ENABLE_NLS */
+
#ifdef MEMORY_DEBUG
/*
* this is basically a hack - we need to include a semiarbitrary