Commit 3f58b66d by Martin Liska Committed by Martin Liska

Wrap a string with _ for translation (PR translation/90274).

2019-04-30  Martin Liska  <mliska@suse.cz>

	PR translation/90274
	* opts.c (print_filtered_help): Wrap string in _(...).

From-SVN: r270675
parent 8c3ce59e
2019-04-30 Martin Liska <mliska@suse.cz>
PR translation/90274
* opts.c (print_filtered_help): Wrap string in _(...).
2019-04-30 Bin Cheng <bin.cheng@linux.alibaba.com> 2019-04-30 Bin Cheng <bin.cheng@linux.alibaba.com>
PR tree-optimization/90240 PR tree-optimization/90240
......
...@@ -1578,7 +1578,8 @@ print_filtered_help (unsigned int include_flags, ...@@ -1578,7 +1578,8 @@ print_filtered_help (unsigned int include_flags,
for (unsigned i = 0; i < help_tuples.length (); i++) for (unsigned i = 0; i < help_tuples.length (); i++)
{ {
const struct cl_option *option = cl_options + help_tuples[i].m_code; 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++) for (unsigned j = 0; j < help_tuples[i].m_values.length (); j++)
printf (" %s", help_tuples[i].m_values[j]); printf (" %s", help_tuples[i].m_values[j]);
printf ("\n\n"); printf ("\n\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment