1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +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:
Werner Koch 2014-12-19 12:03:38 +01:00
parent abec64f3cb
commit aad8963f7b

View File

@ -731,7 +731,7 @@ cmd_setkeydesc (assuan_context_t ctx, char *line)
if (ctrl->restricted)
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
ctrl->server_local->keydesc = xtrystrdup (desc);
if (!ctrl->server_local->keydesc)