mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
* g10.c (main): --openpgp disables --pgpX.
* keyedit.c (show_prefs): Make strings translatable.
This commit is contained in:
parent
2bffa31fcc
commit
9a80333f49
@ -1,3 +1,9 @@
|
||||
2003-02-22 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* g10.c (main): --openpgp disables --pgpX.
|
||||
|
||||
* keyedit.c (show_prefs): Make strings translatable.
|
||||
|
||||
2003-02-19 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* Makefile.am: Use @CAPLIBS@ to link in -lcap if we are using
|
||||
|
@ -1454,6 +1454,10 @@ main( int argc, char **argv )
|
||||
opt.s2k_mode = 3; /* iterated+salted */
|
||||
opt.s2k_digest_algo = DIGEST_ALGO_SHA1;
|
||||
opt.s2k_cipher_algo = CIPHER_ALGO_CAST5;
|
||||
opt.pgp2 = 0;
|
||||
opt.pgp6 = 0;
|
||||
opt.pgp7 = 0;
|
||||
opt.pgp8 = 0;
|
||||
break;
|
||||
case oPGP2: opt.pgp2 = 1; break;
|
||||
case oNoPGP2: opt.pgp2 = 0; break;
|
||||
|
@ -1488,7 +1488,8 @@ show_prefs (PKT_user_id *uid, int verbose)
|
||||
|
||||
if (verbose) {
|
||||
int any, des_seen=0, sha1_seen=0, uncomp_seen=0;
|
||||
tty_printf (" Cipher: ");
|
||||
tty_printf (" ");
|
||||
tty_printf (_("Cipher: "));
|
||||
for(i=any=0; prefs[i].type; i++ ) {
|
||||
if( prefs[i].type == PREFTYPE_SYM ) {
|
||||
const char *s = cipher_algo_to_string (prefs[i].value);
|
||||
@ -1510,7 +1511,8 @@ show_prefs (PKT_user_id *uid, int verbose)
|
||||
tty_printf (", ");
|
||||
tty_printf ("%s",cipher_algo_to_string(CIPHER_ALGO_3DES));
|
||||
}
|
||||
tty_printf ("\n Hash: ");
|
||||
tty_printf ("\n ");
|
||||
tty_printf (_("Digest: "));
|
||||
for(i=any=0; prefs[i].type; i++ ) {
|
||||
if( prefs[i].type == PREFTYPE_HASH ) {
|
||||
const char *s = digest_algo_to_string (prefs[i].value);
|
||||
@ -1532,7 +1534,8 @@ show_prefs (PKT_user_id *uid, int verbose)
|
||||
tty_printf (", ");
|
||||
tty_printf ("%s",digest_algo_to_string(DIGEST_ALGO_SHA1));
|
||||
}
|
||||
tty_printf ("\n Compression: ");
|
||||
tty_printf ("\n ");
|
||||
tty_printf (_("Compression: "));
|
||||
for(i=any=0; prefs[i].type; i++ ) {
|
||||
if( prefs[i].type == PREFTYPE_ZIP ) {
|
||||
const char *s=compress_algo_to_string(prefs[i].value);
|
||||
@ -1558,9 +1561,12 @@ show_prefs (PKT_user_id *uid, int verbose)
|
||||
}
|
||||
tty_printf ("%s",compress_algo_to_string(0));
|
||||
}
|
||||
tty_printf ("\n Features: ");
|
||||
if(uid->mdc_feature)
|
||||
{
|
||||
tty_printf ("\n ");
|
||||
tty_printf (_("Features: "));
|
||||
tty_printf ("MDC");
|
||||
}
|
||||
tty_printf ("\n");
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user