mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Comment typ fixes.
Workaround for bad translations of the capability menu.
This commit is contained in:
parent
bc15e25d7a
commit
aa9aec7068
6 changed files with 28 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-12-03 Werner Koch <wk@g10code.com>
|
||||
|
||||
* keygen.c (ask_key_flags): Add a translation remark and implement
|
||||
a workaround.
|
||||
|
||||
2007-11-28 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* sig-check.c (do_check): Code to try both the incorrect and
|
||||
|
|
17
g10/keygen.c
17
g10/keygen.c
|
@ -1343,13 +1343,26 @@ print_key_flags(int flags)
|
|||
static unsigned int
|
||||
ask_key_flags(int algo,int subkey)
|
||||
{
|
||||
/* TRANSLATORS: Please use only plain ASCII characters for the
|
||||
translation. If this is not possible use single digits. Here is
|
||||
a description of the fucntions:
|
||||
|
||||
s = Toggle signing capability
|
||||
e = Toggle encryption capability
|
||||
a = Toggle authentication capability
|
||||
q = Finish
|
||||
*/
|
||||
const char *togglers=_("SsEeAaQq");
|
||||
char *answer=NULL;
|
||||
unsigned int current=0;
|
||||
unsigned int possible=openpgp_pk_algo_usage(algo);
|
||||
|
||||
if(strlen(togglers)!=8)
|
||||
BUG();
|
||||
if ( strlen(togglers) != 8 )
|
||||
{
|
||||
tty_printf ("NOTE: Bad translation at %s:%d. "
|
||||
"Please report.\n", __FILE__, __LINE__);
|
||||
togglers = "11223300";
|
||||
}
|
||||
|
||||
/* Only primary keys may certify. */
|
||||
if(subkey)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue