From: marxin Date: Tue, 30 Apr 2019 08:33:29 +0000 (+0000) Subject: Wrap a string with _ for translation (PR translation/90274). X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e8ef5f8bbf9e7abe238e4bdde1ddfaf92f2d24b3;p=thirdparty%2Fgcc.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 _(...). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270675 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99c54020f405..2604ffa9d6f3 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 02f6b4656e18..6d6ff19de2d9 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");