From 03df119db4f54905f46dbaa4d5bd733200c1c4dd Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Thu, 28 Nov 2019 21:56:51 +0100 Subject: [PATCH] Translate header for -fdbg-cnt-list. 2019-11-28 Martin Liska PR debug/46558 * dbgcnt.c (dbg_cnt_list_all_counters): Mark table headers for translation. From-SVN: r278820 --- gcc/ChangeLog | 6 ++++++ gcc/dbgcnt.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99cdce7ab3f..da4f52d5f33 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-11-28 Martin Liska + + PR debug/46558 + * dbgcnt.c (dbg_cnt_list_all_counters): Mark table + headers for translation. + 2019-11-28 Martin Liska PR lto/92609 diff --git a/gcc/dbgcnt.c b/gcc/dbgcnt.c index f58ef8fd00e..2b6b8801c32 100644 --- a/gcc/dbgcnt.c +++ b/gcc/dbgcnt.c @@ -25,6 +25,7 @@ See dbgcnt.def for usage information. */ #include "diagnostic-core.h" #include "dumpfile.h" #include "selftest.h" +#include "intl.h" #include "dbgcnt.h" @@ -222,7 +223,7 @@ void dbg_cnt_list_all_counters (void) { int i; - printf (" %-30s %s\n", "counter name", "closed intervals"); + printf (" %-30s %s\n", G_("counter name"), G_("closed intervals")); printf ("-----------------------------------------------------------------\n"); for (i = 0; i < debug_counter_number_of_counters; i++) { -- 2.30.2