[Bug c++/34836] New: Parts of sentences substituted for %s can not be translated
goeran at uddeborg dot se
gcc-bugzilla@gcc.gnu.org
Thu Jan 17 21:49:00 GMT 2008
The messages in function readonly_error in gcc/cp/typeck2.c are not possible to
translate properly. A part of the sentence, which might be "assignment" or
"increment" for example is passed to the function as an argument. This
argument is then composed with the error message using a %s substitution. But
the incoming argument is not marked for translation. Composing sentences like
this also makes translation hard, probably impossible, in some languages.
Furthermore, some of the messages are assigned to a variable and then this
variable is passed to the function error(). The strings in the assignments
needs to be marked with the N_ macro so they are picked up by xgettext for
translation.
--
Summary: Parts of sentences substituted for %s can not be
translated
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: goeran at uddeborg dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34836
More information about the Gcc-bugs
mailing list