This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/32249] New: %s substituted with "interface"/"class" can't be properly translated
- From: "goeran at uddeborg dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 7 Jun 2007 20:38:09 -0000
- Subject: [Bug java/32249] New: %s substituted with "interface"/"class" can't be properly translated
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In gcc/java/parse.y there is this code:
parse_error_context
(cl, "Public %s %qs must be defined in a file called %<%s.java%>",
(is_interface ? "interface" : "class"),
IDENTIFIER_POINTER (qualified_name),
IDENTIFIER_POINTER (raw_name));
The strings substituted for the first %s are not available for translation.
But as it is written, they are the English words, not the syntactical tokens.
So this can not be properly translated. Even if the words were markes for
translation in isolation, composing a sentence like this is not in general
possible to do for an arbitrary language. It needs to be split into two
separate messages
--
Summary: %s substituted with "interface"/"class" can't be
properly translated
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: goeran at uddeborg dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32249