agent: Fix string prepended to remotely initiated prompts.
authorWerner Koch <wk@gnupg.org>
Fri, 19 Dec 2014 11:03:38 +0000 (12:03 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 19 Dec 2014 11:03:38 +0000 (12:03 +0100)
* agent/command.c (cmd_setkeydesc): Use %0A and not \n. Make
translatable.

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/command.c

index c875f55..eba766b 100644 (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)