aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-openpgp.c
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2017-02-22 15:57:58 +0000
committerAndre Heinecke <[email protected]>2017-02-22 16:11:02 +0000
commit143ca039e1e81140ae520cc1025f8e25c01acc80 (patch)
treec85622534e3bf5f14c3d54df449d77fa3902da01 /scd/app-openpgp.c
parentpo: Update the German translation (diff)
downloadgnupg-143ca039e1e81140ae520cc1025f8e25c01acc80.tar.gz
gnupg-143ca039e1e81140ae520cc1025f8e25c01acc80.zip
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r--scd/app-openpgp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index 90c26612c..f68d8bb1e 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -1986,17 +1986,17 @@ get_prompt_info (app_t app, int chvno, unsigned long sigcount, int remaining)
disp_name = get_disp_name (app);
if (chvno == 1)
{
- result = xtryasprintf (_("Card number:\t%s%%0A"
- "Signatures:\t%lu%%0A"
- "Cardholder:\t%s"),
+ result = xtryasprintf (_("Number:\t%s%%0A"
+ "Holder:\t%s%%0A"
+ "Signatures:\t%lu"),
serial,
- sigcount,
- disp_name? disp_name:"");
+ disp_name? disp_name:"",
+ sigcount);
}
else
{
- result = xtryasprintf (_("Card number:\t%s%%0A"
- "Cardholder:\t%s"),
+ result = xtryasprintf (_("Number:\t%s%%0A"
+ "Holder:\t%s"),
serial,
disp_name? disp_name:"");
}