bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gawk] Mark strings as translatable in debug.c


From: Rafael Fontenelle
Subject: [bug-gawk] Mark strings as translatable in debug.c
Date: Thu, 26 Jan 2017 11:53:31 -0200
User-agent: Mutt/1.7.2 (2016-11-26)

Mark "abnormally" and "normally" words as translatable in order to make
possible to a achieve a completely translated phrase with
"Program exited %s with exit value".

diff --git a/debug.c b/debug.c
index a2055301..dfd86723 100644
--- a/debug.c
+++ b/debug.c
@@ -2963,8 +2963,8 @@ 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",
+                       (! exiting && exit_val != EXIT_SUCCESS) ? 
_("abnormally")
+                                                               : _("normally"),
                        exit_val);
        need_restart = true;
        return false;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]