diff options
author | Martin Liska <mliska@suse.cz> | 2019-04-30 10:33:29 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-04-30 08:33:29 +0000 |
commit | 3f58b66d6b8b01328ca4b08f9da6910adbfad3ec (patch) | |
tree | d84ee617522b6af814d4ec3a369db31c47f8c917 /gcc | |
parent | 8c3ce59e2b10ecc3cf7fe9804005405bedc3e280 (diff) | |
download | gcc-3f58b66d6b8b01328ca4b08f9da6910adbfad3ec.zip gcc-3f58b66d6b8b01328ca4b08f9da6910adbfad3ec.tar.gz gcc-3f58b66d6b8b01328ca4b08f9da6910adbfad3ec.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/opts.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99c5402..2604ffa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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> PR tree-optimization/90240 @@ -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"); |