1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

scd: Nitpicks on the improved card prompts

* src/app-openpgp.c (get_prompt_info): Change wording and order
slightly.

--

The word "Card" was repeated too much in the prompt and moving
signatures to the bottom results in a more consistent layout
between the prompts with signcount and the prompts without.

Signed-off-by: Andre Heinecke <aheinecke@intevation.de>
This commit is contained in:
Andre Heinecke 2017-02-22 16:57:58 +01:00
parent aa61cb5bba
commit 143ca039e1
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C

View File

@ -1986,17 +1986,17 @@ get_prompt_info (app_t app, int chvno, unsigned long sigcount, int remaining)
disp_name = get_disp_name (app); disp_name = get_disp_name (app);
if (chvno == 1) if (chvno == 1)
{ {
result = xtryasprintf (_("Card number:\t%s%%0A" result = xtryasprintf (_("Number:\t%s%%0A"
"Signatures:\t%lu%%0A" "Holder:\t%s%%0A"
"Cardholder:\t%s"), "Signatures:\t%lu"),
serial, serial,
sigcount, disp_name? disp_name:"",
disp_name? disp_name:""); sigcount);
} }
else else
{ {
result = xtryasprintf (_("Card number:\t%s%%0A" result = xtryasprintf (_("Number:\t%s%%0A"
"Cardholder:\t%s"), "Holder:\t%s"),
serial, serial,
disp_name? disp_name:""); disp_name? disp_name:"");
} }