This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug translation/42467] exgettext should not remove TABs from option help strings
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Dec 2009 11:58:25 -0000
- Subject: [Bug translation/42467] exgettext should not remove TABs from option help strings
- References: <bug-42467-18195@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jsm28 at gcc dot gnu dot org 2009-12-23 11:58 -------
The option help string is passed for translation as a whole before
the special interpretation for TAB as described in options.texi:
The help text is automatically line-wrapped before being displayed.
Normally the name of the option is printed on the left-hand side of
the output and the help text is printed on the right. However, if the
help text contains a tab character, the text to the left of the tab is
used instead of the option's name and the text to the right of the
tab forms the help text. This allows you to elaborate on what type
of argument the option takes.
Thus, exgettext is wrong to remove the text before the tab (which
generally does need translation of things such as <options>).
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |40883
nThis| |
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-12-23 11:58:25
date| |
Summary|Localization fails with - |exgettext should not remove
|gnat<options> line in gcc --|TABs from option help
|help=Ada |strings
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42467