diff options
author | David Shaw <[email protected]> | 2004-08-27 17:32:31 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-08-27 17:32:31 +0000 |
commit | ea279f1bae48f86f7456f25900c1fa5fbea3e8d5 (patch) | |
tree | d4f32b736c6e0bfa0bdf26c3971a5e5be979496a /g10/sign.c | |
parent | * gpgkeys_ldap.c (get_key, search_key), gpgkeys_hkp.c (get_key, (diff) | |
download | gnupg-ea279f1bae48f86f7456f25900c1fa5fbea3e8d5.tar.gz gnupg-ea279f1bae48f86f7456f25900c1fa5fbea3e8d5.zip |
* encode.c, exec.c, g10.c, sign.c: Some translatable string cleanup.
Change some "this" to `this'.
Diffstat (limited to 'g10/sign.c')
-rw-r--r-- | g10/sign.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/g10/sign.c b/g10/sign.c index 1550350bc..0dbf5a7d9 100644 --- a/g10/sign.c +++ b/g10/sign.c @@ -762,12 +762,13 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr, if( outfile ) { if( !(out = iobuf_create( outfile )) ) { - log_error(_("can't create %s: %s\n"), outfile, strerror(errno) ); + log_error(_("can't create file `%s': %s\n"), + outfile, strerror(errno) ); rc = G10ERR_CREATE_FILE; goto leave; } else if( opt.verbose ) - log_info(_("writing to `%s'\n"), outfile ); + log_info(_("writing to file `%s'\n"), outfile ); } else if( (rc = open_outfile( fname, opt.armor? 1: detached? 2:0, &out ))) goto leave; @@ -791,8 +792,8 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr, select_algo_from_prefs(pk_list,PREFTYPE_HASH, opt.def_digest_algo, NULL)!=opt.def_digest_algo) - log_info(_("forcing digest algorithm %s (%d) " - "violates recipient preferences\n"), + log_info(_("WARNING: forcing digest algorithm %s (%d)" + " violates recipient preferences\n"), digest_algo_to_string(opt.def_digest_algo), opt.def_digest_algo); } @@ -860,8 +861,8 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr, else if(!opt.expert && pk_list && select_algo_from_prefs(pk_list,PREFTYPE_ZIP, compr_algo,NULL)!=compr_algo) - log_info(_("forcing compression algorithm %s (%d) " - "violates recipient preferences\n"), + log_info(_("WARNING: forcing compression algorithm %s (%d)" + " violates recipient preferences\n"), compress_algo_to_string(compr_algo),compr_algo); /* algo 0 means no compression */ @@ -888,7 +889,7 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr, for( sl = strlist_last(filenames); sl; sl = strlist_prev( filenames, sl ) ) { if( !(inp = iobuf_open(sl->d)) ) { - log_error(_("can't open %s: %s\n"), + log_error(_("can't open file `%s': %s\n"), sl->d, strerror(errno) ); rc = G10ERR_OPEN_FILE; goto leave; @@ -998,12 +999,13 @@ clearsign_file( const char *fname, STRLIST locusr, const char *outfile ) if( outfile ) { if( !(out = iobuf_create( outfile )) ) { - log_error(_("can't create %s: %s\n"), outfile, strerror(errno) ); + log_error(_("can't create file `%s': %s\n"), + outfile, strerror(errno) ); rc = G10ERR_CREATE_FILE; goto leave; } else if( opt.verbose ) - log_info(_("writing to `%s'\n"), outfile ); + log_info(_("writing to file `%s'\n"), outfile ); } else if( (rc = open_outfile( fname, 1, &out )) ) goto leave; |