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

* [Bug java/32250] %s substituted with "interface"/"array" can't be properly translated
  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 ` tromey at gcc dot gnu dot org
  2007-06-08 19:25 ` goeran at uddeborg dot se
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-06-08 18:35 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from tromey at gcc dot gnu dot org  2007-06-08 18:35 -------
I'm closing this, because parse.y no longer exists on svn trunk.
If you find instances of this bug in the remaining parts of gcj,
please file a new PR.  Thanks.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32250


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

* [Bug java/32250] %s substituted with "interface"/"array" can't be properly translated
  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
  1 sibling, 0 replies; 3+ messages in thread
From: goeran at uddeborg dot se @ 2007-06-08 19:25 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from goeran at uddeborg dot se  2007-06-08 19:25 -------
Ok.  I've found a few more in parse.y, but I won't bother to report them then. 
So far nothing outside this time around, but I have a few hundred messages to
go ... :-)


-- 


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).