diff options
author | Jakub Jelinek <jakub@redhat.com> | 2023-02-23 23:26:43 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2023-02-23 23:26:43 +0100 |
commit | 7423f5b56ad436f51ac1b9defb954e2bdc5b06ab (patch) | |
tree | 097a540cfe9d15792066c08323c9c0cbe883cfde /gcc/doc/cpp.texi | |
parent | 5592679df783547049efc6d73727c5ff809ec302 (diff) | |
download | gcc-7423f5b56ad436f51ac1b9defb954e2bdc5b06ab.zip gcc-7423f5b56ad436f51ac1b9defb954e2bdc5b06ab.tar.gz gcc-7423f5b56ad436f51ac1b9defb954e2bdc5b06ab.tar.bz2 |
xtensa: Fix up fatal_error message strings in xtensa-dynconfig.c [PR108890]
The translation PR complains that these 4 messages from xtensa-dynconfig.c
are marked in po/gcc.pot as c-format (which doesn't allow %qs) while they
should be gcc-internal-format.
The problem is in the manual translation of the strings with _(),
that should be both unnecessary because fatal_error invokes _() on its
argument already, but also incorrect for the above reason, for
gcc-internal-format strings one should use G_("...") instead if really
needed.
The following patch drops those _("..."), tested by regenerating po/gcc.pot
to see they are now gcc-internal-format, but not really tested on xtensa
target.
2023-02-23 Jakub Jelinek <jakub@redhat.com>
PR translation/108890
* config/xtensa/xtensa-dynconfig.c (xtensa_load_config): Drop _()s
around fatal_error format strings.
Diffstat (limited to 'gcc/doc/cpp.texi')
0 files changed, 0 insertions, 0 deletions