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; 3+ 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] 3+ messages in thread

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

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