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