aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2017-08-23 09:02:28 +0000
committerAndre Heinecke <[email protected]>2017-08-23 09:04:47 +0000
commit6158811304937b592601ef30c29c5a5cdbaa88ea (patch)
tree7c372692e19738f69224c0da8c4515b243ad1a34
parentpo: Update Japanese translation (diff)
downloadgnupg-6158811304937b592601ef30c29c5a5cdbaa88ea.tar.gz
gnupg-6158811304937b592601ef30c29c5a5cdbaa88ea.zip
agent: Fix string translation for Windows
* agent/agent.h (L_): Define agent_Lunderscore when simple gettext is used. -- This fixes a regression introduced by b3286af3 ENABLE_NLS is not defined if we use simple gettext and not gettext. GnuPG-Bug-Id: T3364 Signed-off-by: Andre Heinecke <[email protected]>
Diffstat (limited to '')
-rw-r--r--agent/agent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/agent.h b/agent/agent.h
index 815d9a543..f5df75e6e 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -320,7 +320,7 @@ typedef int (*lookup_ttl_t)(const char *hexgrip);
and uses that to translate a string according to the locale set for
the connection. The macro LunderscoreIMPL is used by i18n to
actually define the inline function when needed. */
-#ifdef ENABLE_NLS
+#if defined (ENABLE_NLS) || defined (USE_SIMPLE_GETTEXT)
#define L_(a) agent_Lunderscore (ctrl, (a))
#define LunderscorePROTO \
static inline const char *agent_Lunderscore (ctrl_t ctrl, \