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; 2+ 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] 2+ 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; 2+ 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] 2+ messages in thread
end of thread, other threads:[~2005-08-02 23:38 UTC | newest]
Thread overview: 2+ 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
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).