diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-01-27 11:18:56 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-01-27 11:18:56 +0200 |
commit | d6fe1f907f495863c3ff6875f9d308e5d08ee0ff (patch) | |
tree | 8cb4f73c3034b9f494c38f71a5956490a8de2e76 | |
parent | 915d9b93c16bce9ff740df7ab0ba2e2c2a3a516f (diff) | |
download | egawk-d6fe1f907f495863c3ff6875f9d308e5d08ee0ff.tar.gz egawk-d6fe1f907f495863c3ff6875f9d308e5d08ee0ff.tar.bz2 egawk-d6fe1f907f495863c3ff6875f9d308e5d08ee0ff.zip |
Improve messge translatability in debug.c. Update copyright in interpret.h.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | debug.c | 6 | ||||
-rw-r--r-- | interpret.h | 2 |
3 files changed, 11 insertions, 4 deletions
@@ -1,3 +1,10 @@ +2017-01-27 Arnold D. Robbins <arnold@skeeve.com> + + * interpret.h: Updaet copyright year. + * debug.c (do_run): Rework error message to ease translation. + Thanks to Rafael Fontenelle <rafaelff@gnome.org> and to + Eli Zaretskii <eliz@gnu.org>. + 2017-01-15 Andrew J. Schorr <aschorr@telemetry-investments.com> * interpret.h (r_interpret): Fix bug in Op_assign_concat reported @@ -2960,9 +2960,9 @@ do_run(CMDARG *arg ATTRIBUTE_UNUSED, int cmd ATTRIBUTE_UNUSED) fatal_tag_valid = false; prog_running = false; - fprintf(out_fp, _("Program exited %s with exit value: %d\n"), - (! exiting && exit_val != EXIT_SUCCESS) ? "abnormally" - : "normally", + fprintf(out_fp, (! exiting && exit_val != EXIT_SUCCESS) + ? _("Program exited abnormally with exit value: %d\n") + : _("Program exited normally with exit value: %d\n"), exit_val); need_restart = true; return false; diff --git a/interpret.h b/interpret.h index 90573af4..15d77522 100644 --- a/interpret.h +++ b/interpret.h @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2015 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2017 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. |