1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-28 21:50:02 +02:00
gnupg/agent
Werner Koch e76d4c05b2
agent: Use different translation func for Pinentry strings.
* po/Makevars (XGETTEXT_OPTIONS): Add keyword "L_".
* common/i18n.c (i18n_localegettext): New stub.
* common/i18n.h: Expand the LunderscoreIMPL macro.
* agent/agent.h (L_): New.
(LunderscoreIMPL): New.
* agent/call-pinentry.c (setup_qualitybar): Add arg ctrl anc change
caller.
* agent/findkey.c (try_unprotect_cb): Add local var ctrl.
* agent/genkey.c (check_passphrase_constraints): Replace xtryasprintf
by xtrystrdup to avoid gcc warning.  Unfortinately this changes the
string.
(agent_ask_new_passphrase): Cleanup the use of initial_errtext.
--

Static strings in gpg-agent need to be translated according to the
locale set by the caller.  This is required so that a gpg-agent can be
started in one locale and a gpg can be run in another.  If we don't do
this the static strings (prompt, buttons) are not or in the wrong
locale translated while dynamic strings (e.g. key description) uses
the locale of gpg.

This is only the first part of the change the actual local switching
still needs to be implemented.

Debian-bug-id: 788983
Signed-off-by: Werner Koch <wk@gnupg.org>
2015-06-30 21:58:45 +02:00
..
agent.h agent: Use different translation func for Pinentry strings. 2015-06-30 21:58:45 +02:00
cache.c gpg: Improve passphrase caching. 2014-09-17 15:12:08 +02:00
call-pinentry.c agent: Use different translation func for Pinentry strings. 2015-06-30 21:58:45 +02:00
call-scd.c Rename DBG_ASSUAN to DBG_IPC and add separate DBG_EXTPROG. 2015-04-06 13:42:17 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command-ssh.c agent: Use different translation func for Pinentry strings. 2015-06-30 21:58:45 +02:00
command.c Show passphrase constraints errors as password prompt errors 2015-06-29 15:53:49 +02:00
cvt-openpgp.c agent: Send the new SETKEYINFO command to the Pinentry. 2015-04-14 18:41:05 +02:00
cvt-openpgp.h Implement unattended OpenPGP secret key import. 2013-05-22 10:14:57 +02:00
divert-scd.c agent: Use different translation func for Pinentry strings. 2015-06-30 21:58:45 +02:00
findkey.c agent: Use different translation func for Pinentry strings. 2015-06-30 21:58:45 +02:00
genkey.c agent: Use different translation func for Pinentry strings. 2015-06-30 21:58:45 +02:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c agent: Prepare for Libassuan with Cygwin support. 2015-06-29 21:28:59 +02:00
keyformat.txt gpg: Finish experimental support for Ed25519. 2014-05-07 13:27:43 +02:00
learncard.c agent: Add --force option for LEARN. 2015-04-03 17:33:11 +09:00
Makefile.am Remove obsolete directories from AM_CPPFLAGS. 2015-04-10 13:11:59 +02:00
pkdecrypt.c agent: Replace some sprintf. 2014-12-02 14:13:53 +01:00
pksign.c scd: fix for 64-bit arch. 2015-03-09 11:00:03 +09:00
preset-passphrase.c common: Remove two JNLIB_ macros (jnlib merge). 2015-04-24 16:10:15 +02:00
protect-tool.c common: Remove two JNLIB_ macros (jnlib merge). 2015-04-24 16:10:15 +02:00
protect.c agent: Fix use of imported but unprotected openpgp keys. 2015-01-29 16:26:07 +01:00
t-protect.c Implement unattended OpenPGP secret key import. 2013-05-22 10:14:57 +02:00
trans.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
trustlist.c agent: Use different translation func for Pinentry strings. 2015-06-30 21:58:45 +02:00
w32main.c Make use of the *_NAME etc macros. 2013-11-18 14:09:47 +01:00
w32main.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00