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/exec.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/exec.c')
-rw-r--r-- | g10/exec.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/g10/exec.c b/g10/exec.c index 85c3ab494..5c51b3f9f 100644 --- a/g10/exec.c +++ b/g10/exec.c @@ -352,8 +352,8 @@ int exec_write(struct exec_info **info,const char *program, #ifdef EXEC_TEMPFILE_ONLY if(!(*info)->use_temp_files) { - log_error(_("this platform requires temp files when calling external " - "programs\n")); + log_error(_("this platform requires temporary files when calling" + " external programs\n")); goto fail; } @@ -429,10 +429,12 @@ int exec_write(struct exec_info **info,const char *program, /* If we get this far the exec failed. Clean up and return. */ - log_error(_("unable to execute %s \"%s\": %s\n"), - args_in==NULL?"program":"shell", - args_in==NULL?program:shell, - strerror(errno)); + if(args_in==NULL) + log_error(_("unable to execute program `%s': %s\n"), + program,strerror(errno)); + else + log_error(_("unable to execute shell `%s': %s\n"), + shell,strerror(errno)); /* This mimics the POSIX sh behavior - 127 means "not found" from the shell. */ @@ -478,7 +480,7 @@ int exec_write(struct exec_info **info,const char *program, (*info)->tochild=fopen((*info)->tempfile_in,binary?"wb":"w"); if((*info)->tochild==NULL) { - log_error(_("can't create `%s': %s\n"), + log_error(_("can't create file `%s': %s\n"), (*info)->tempfile_in,strerror(errno)); ret=G10ERR_WRITE_FILE; goto fail; |