public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug translation/42467] exgettext should not remove TABs from option help strings Date: Wed, 23 Dec 2009 11:58:00 -0000 [thread overview] Message-ID: <20091223115825.25241.qmail@sourceware.org> (raw) In-Reply-To: <bug-42467-18195@http.gcc.gnu.org/bugzilla/> ------- 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
next prev parent reply other threads:[~2009-12-23 11:58 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-12-22 19:27 [Bug translation/42467] New: Localization fails with -gnat<options> line in gcc --help=Ada karvonen dot jorma at gmail dot com 2009-12-22 19:31 ` [Bug translation/42467] " pinskia at gcc dot gnu dot org 2009-12-22 19:32 ` pinskia at gcc dot gnu dot org 2009-12-23 11:58 ` jsm28 at gcc dot gnu dot org [this message] 2009-12-23 12:01 ` [Bug translation/42467] exgettext should not remove TABs from option help strings jsm28 at gcc dot gnu dot org 2010-01-07 8:38 ` pzhao at gcc dot gnu dot org 2010-01-11 4:29 ` pzhao at gcc dot gnu dot org 2010-01-11 9:33 ` pzhao at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20091223115825.25241.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).