From: Martin Liska Date: Tue, 30 Apr 2019 08:33:29 +0000 (+0200) Subject: Wrap a string with _ for translation (PR translation/90274). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f58b66d6b8b01328ca4b08f9da6910adbfad3ec;p=gcc.git Wrap a string with _ for translation (PR translation/90274). 2019-04-30 Martin Liska PR translation/90274 * opts.c (print_filtered_help): Wrap string in _(...). From-SVN: r270675 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99c54020f40..2604ffa9d6f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-04-30 Martin Liska + + PR translation/90274 + * opts.c (print_filtered_help): Wrap string in _(...). + 2019-04-30 Bin Cheng PR tree-optimization/90240 diff --git a/gcc/opts.c b/gcc/opts.c index 02f6b4656e1..6d6ff19de2d 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -1578,7 +1578,8 @@ print_filtered_help (unsigned int include_flags, for (unsigned i = 0; i < help_tuples.length (); i++) { const struct cl_option *option = cl_options + help_tuples[i].m_code; - printf (" Known valid arguments for %s option:\n ", option->opt_text); + printf (_(" Known valid arguments for %s option:\n "), + option->opt_text); for (unsigned j = 0; j < help_tuples[i].m_values.length (); j++) printf (" %s", help_tuples[i].m_values[j]); printf ("\n\n");