public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/32250]  New: %s substituted with "interface"/"array" can't be properly translated
@ 2007-06-07 20:49 goeran at uddeborg dot se
  2007-06-08 18:35 ` [Bug java/32250] " tromey at gcc dot gnu dot org
  2007-06-08 19:25 ` goeran at uddeborg dot se
  0 siblings, 2 replies; 3+ messages in thread
From: goeran at uddeborg dot se @ 2007-06-07 20:49 UTC (permalink / raw)
  To: java-prs

In gcc/java/parse.y there is this code:

      parse_error_context
        (wfl, "Class %qs can't subclass %s %qs",
         IDENTIFIER_POINTER (DECL_NAME (this_decl)),
         (CLASS_INTERFACE (TYPE_NAME (super_type)) ? "interface" : "array"),
         IDENTIFIER_POINTER (DECL_NAME (super_decl)));

The strings substituted for the %s are not available for translation.  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"/"array" 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=32250


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-08 19:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-07 20:49 [Bug java/32250] New: %s substituted with "interface"/"array" can't be properly translated goeran at uddeborg dot se
2007-06-08 18:35 ` [Bug java/32250] " tromey at gcc dot gnu dot org
2007-06-08 19:25 ` goeran at uddeborg dot se

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).