aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/keygen.c')
-rw-r--r--g10/keygen.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index 64c075065..a74c9a2f2 100644
--- a/g10/keygen.c
+++ b/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)