mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
agent: Fix string prepended to remotely initiated prompts.
* agent/command.c (cmd_setkeydesc): Use %0A and not \n. Make translatable. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
abec64f3cb
commit
aad8963f7b
@ -731,7 +731,7 @@ cmd_setkeydesc (assuan_context_t ctx, char *line)
|
|||||||
|
|
||||||
if (ctrl->restricted)
|
if (ctrl->restricted)
|
||||||
ctrl->server_local->keydesc = strconcat
|
ctrl->server_local->keydesc = strconcat
|
||||||
("Note: Request from a remote site.\n\n", desc, NULL);
|
(_("Note: Request from a remote site."), "%0A%0A", desc, NULL);
|
||||||
else
|
else
|
||||||
ctrl->server_local->keydesc = xtrystrdup (desc);
|
ctrl->server_local->keydesc = xtrystrdup (desc);
|
||||||
if (!ctrl->server_local->keydesc)
|
if (!ctrl->server_local->keydesc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user