summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-01-27 11:18:56 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-01-27 11:18:56 +0200
commitd6fe1f907f495863c3ff6875f9d308e5d08ee0ff (patch)
tree8cb4f73c3034b9f494c38f71a5956490a8de2e76
parent915d9b93c16bce9ff740df7ab0ba2e2c2a3a516f (diff)
downloadgawk-d6fe1f907f495863c3ff6875f9d308e5d08ee0ff.tar.gz
Improve messge translatability in debug.c. Update copyright in interpret.h.
-rw-r--r--ChangeLog7
-rw-r--r--debug.c6
-rw-r--r--interpret.h2
3 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 3ce1ffef..49c2b517 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/debug.c b/debug.c
index 6d40cac5..da8f2fa9 100644
--- a/debug.c
+++ b/debug.c
@@ -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.