diff options
author | David Shaw <[email protected]> | 2004-10-28 02:14:06 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-10-28 02:14:06 +0000 |
commit | d89c701acb2e6dfd0f6ada6742a6057ad4698dcb (patch) | |
tree | e110b2492c984fc9f371d9582ce8abb4ad0fb85c /g10/sign.c | |
parent | * delkey.c, export.c, keyedit.c, pkclist.c, revoke.c, skclist.c: Fix a few (diff) | |
download | gnupg-d89c701acb2e6dfd0f6ada6742a6057ad4698dcb.tar.gz gnupg-d89c701acb2e6dfd0f6ada6742a6057ad4698dcb.zip |
* keyring.c: Make some strings translatable.
* exec.c, sign.c: Change "can't open file" to "can't open" and "can't
create file" to "can't create" to be consistent with other strings so we
don't have to translate both.
Diffstat (limited to 'g10/sign.c')
-rw-r--r-- | g10/sign.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/g10/sign.c b/g10/sign.c index 6a1e4da22..5a0b0ed67 100644 --- a/g10/sign.c +++ b/g10/sign.c @@ -775,8 +775,7 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr, else out = iobuf_create( outfile ); if( !out ) { - log_error(_("can't create file `%s': %s\n"), - outfile, strerror(errno) ); + log_error(_("can't create `%s': %s\n"), outfile, strerror(errno) ); rc = G10ERR_CREATE_FILE; goto leave; } @@ -908,12 +907,13 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr, inp = NULL; errno = EPERM; } - if( !inp ) { - log_error(_("can't open file `%s': %s\n"), - sl->d, strerror(errno) ); + if( !inp ) + { + log_error(_("can't open `%s': %s\n"), + sl->d, strerror(errno) ); rc = G10ERR_OPEN_FILE; goto leave; - } + } handle_progress (&pfx, inp, sl->d); if( opt.verbose ) fprintf(stderr, " `%s'", sl->d ); @@ -1032,8 +1032,7 @@ clearsign_file( const char *fname, STRLIST locusr, const char *outfile ) else out = iobuf_create( outfile ); if( !out ) { - log_error(_("can't create file `%s': %s\n"), - outfile, strerror(errno) ); + log_error(_("can't create `%s': %s\n"), outfile, strerror(errno) ); rc = G10ERR_CREATE_FILE; goto leave; } |