diff options
author | David Shaw <[email protected]> | 2003-11-21 01:11:25 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-11-21 01:11:25 +0000 |
commit | 85a80265c7cac8f04faf54c9ed1d263846d6c150 (patch) | |
tree | 0eccd6ba1422e472564d8221b05e755db277950d /g10/misc.c | |
parent | * util.h: Add prototype for match_multistr(). (diff) | |
download | gnupg-85a80265c7cac8f04faf54c9ed1d263846d6c150.tar.gz gnupg-85a80265c7cac8f04faf54c9ed1d263846d6c150.zip |
* seskey.c (do_encode_md): Comment about earlier (pre-PGP 2.3) encodings.
* misc.c (compress_algo_to_string): Translate "Uncompressed". Requested by
Tommi Vainikainen. (string_to_compress_algo): Include multi-string for
"uncompressed|none".
Diffstat (limited to 'g10/misc.c')
-rw-r--r-- | g10/misc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/g10/misc.c b/g10/misc.c index 5583787e8..7ee6d2d67 100644 --- a/g10/misc.c +++ b/g10/misc.c @@ -549,7 +549,7 @@ compress_algo_to_string(int algo) switch(algo) { case COMPRESS_ALGO_NONE: - s="Uncompressed"; + s=_("Uncompressed"); break; case COMPRESS_ALGO_ZIP: @@ -573,7 +573,10 @@ compress_algo_to_string(int algo) int string_to_compress_algo(const char *string) { - if(ascii_strcasecmp(string,"uncompressed")==0) + /* NOTE TO TRANSLATOR: See doc/TRANSLATE about this string. */ + if(match_multistr(_("uncompressed|none"),string)) + return 0; + else if(ascii_strcasecmp(string,"uncompressed")==0) return 0; else if(ascii_strcasecmp(string,"none")==0) return 0; |