mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
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@intevation.de>
This commit is contained in:
parent
e6fa6b0ce8
commit
6158811304
@ -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, \
|
||||
|
Loading…
x
Reference in New Issue
Block a user