This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug translation/13662] toplev.c:4563-4567: gettext interprets the two conditional strings as one
- From: "zack at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2004 23:46:04 -0000
- Subject: [Bug translation/13662] toplev.c:4563-4567: gettext interprets the two conditional strings as one
- References: <20040112222740.13662.debian-gcc@lists.debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From zack at codesourcery dot com 2004-01-12 23:46 -------
Subject: Re: toplev.c:4563-4567: gettext interprets
the two conditional strings as one
It does no harm to translate this text, and this code is such a tangle
that I think it worthwhile to clean it up a bit anyway. Something
like this
fnotice (file, "%s%s%s version %s (%s)\n",
indent, *indent ? " " : "",
lang_hooks.name, version_string, TARGET_NAME);
#ifdef __GNUC__
fnotice (file, "%s\tcompiled by GNU C version %s",
indent, __VERSION__);
#endif
would do just as well as we have now, and wouldn't cause i18n
problems. (I see no real value in the "compiled by CC." line.)
zw
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13662