Changeset View
Changeset View
Standalone View
Standalone View
b/agent/agent.h
Context not available. | |||||
and uses that to translate a string according to the locale set for | and uses that to translate a string according to the locale set for | ||||
the connection. The macro LunderscoreIMPL is used by i18n to | the connection. The macro LunderscoreIMPL is used by i18n to | ||||
actually define the inline function when needed. */ | actually define the inline function when needed. */ | ||||
#ifdef ENABLE_NLS | |||||
#define L_(a) agent_Lunderscore (ctrl, (a)) | #define L_(a) agent_Lunderscore (ctrl, (a)) | ||||
#define LunderscorePROTO \ | #define LunderscorePROTO \ | ||||
static inline const char *agent_Lunderscore (ctrl_t ctrl, \ | static inline const char *agent_Lunderscore (ctrl_t ctrl, \ | ||||
Context not available. | |||||
return ctrl? i18n_localegettext (ctrl->lc_messages, string) \ | return ctrl? i18n_localegettext (ctrl->lc_messages, string) \ | ||||
/* */: gettext (string); \ | /* */: gettext (string); \ | ||||
} | } | ||||
#else | |||||
#define L_(a) (a) | |||||
#endif | |||||
/*-- gpg-agent.c --*/ | /*-- gpg-agent.c --*/ | ||||
Context not available. |