Hi.
Simple patch to address a missing translation of a string.
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Ready to be installed?
Thanks,
Martin
gcc/ChangeLog:
2019-04-29 Martin Liska <[email protected]>
PR translation/90274
* opts.c (print_filtered_help): Wrap string in _(...).
---
gcc/opts.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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");