public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/23184] New: I18n bug in gjavah.c
@ 2005-08-01 20:37 goeran at uddeborg dot se
  2005-08-02 23:38 ` [Bug java/23184] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 4+ messages in thread
From: goeran at uddeborg dot se @ 2005-08-01 20:37 UTC (permalink / raw)
  To: gcc-bugs

gcc/java/gjavah.c contains the statements

  fprintf (stderr, _("Try '" TOOLNAME " --help' for more information.\n"));

The tool extracting strings for translation is fooled by this (not
surprisingly).  The current po files contains the strings "Try '", " --help' for
more information.\n", for translation.  But at run-time, "gettext" (a.k.a. "_")
will of course be called with the merged string.

There is one more example in the file where string concatenation with TOOLNAME
breaks i18n in the same way.

  printf (_("Usage: " TOOLNAME " [OPTION]... CLASS...\n\n"));

-- 
           Summary: I18n bug in gjavah.c
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: goeran at uddeborg dot se
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


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


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

* [Bug java/23184] I18n bug in gjavah.c
  2005-08-01 20:37 [Bug java/23184] New: I18n bug in gjavah.c goeran at uddeborg dot se
@ 2005-08-02 23:38 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-02 23:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-02 23:38 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-02 23:38:50
               date|                            |


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


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

* [Bug java/23184] I18n bug in gjavah.c
       [not found] <bug-23184-10888@http.gcc.gnu.org/bugzilla/>
  2006-09-20 16:53 ` tromey at gcc dot gnu dot org
@ 2007-01-09 20:53 ` tromey at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-09 20:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from tromey at gcc dot gnu dot org  2007-01-09 20:47 -------
All gcj front end bugs have been fixed by the gcj-eclipse branch merge.
I'm mass-closing the affected PRs.
If you believe one of these was closed in error, please reopen it
with a note explaining why.
Thanks.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


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


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

* [Bug java/23184] I18n bug in gjavah.c
       [not found] <bug-23184-10888@http.gcc.gnu.org/bugzilla/>
@ 2006-09-20 16:53 ` tromey at gcc dot gnu dot org
  2007-01-09 20:53 ` tromey at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-09-20 16:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tromey at gcc dot gnu dot org  2006-09-20 16:53 -------
This will be fixed by the ecj merge; we're deleting this version of gcjh.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
  BugsThisDependsOn|                            |28067


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


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

end of thread, other threads:[~2007-01-09 20:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-01 20:37 [Bug java/23184] New: I18n bug in gjavah.c goeran at uddeborg dot se
2005-08-02 23:38 ` [Bug java/23184] " pinskia at gcc dot gnu dot org
     [not found] <bug-23184-10888@http.gcc.gnu.org/bugzilla/>
2006-09-20 16:53 ` tromey at gcc dot gnu dot org
2007-01-09 20:53 ` tromey at gcc dot gnu dot org

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