[git] GnuPG - branch, master, updated. gnupg-2.1.23-11-g6158811
by Andre Heinecke
cvs at cvs.gnupg.org
Wed Aug 23 11:12:07 CEST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".
The branch, master has been updated
via 6158811304937b592601ef30c29c5a5cdbaa88ea (commit)
from e6fa6b0ce823effd721c807b2b292287af91c642 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6158811304937b592601ef30c29c5a5cdbaa88ea
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Wed Aug 23 11:02:28 2017 +0200
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 <aheinecke at intevation.de>
diff --git a/agent/agent.h b/agent/agent.h
index 815d9a5..f5df75e 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, \
-----------------------------------------------------------------------
Summary of changes:
agent/agent.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list