From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25270 invoked by alias); 23 Dec 2009 11:58:38 -0000 Received: (qmail 25242 invoked by uid 48); 23 Dec 2009 11:58:25 -0000 Date: Wed, 23 Dec 2009 11:58:00 -0000 Message-ID: <20091223115825.25241.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug translation/42467] exgettext should not remove TABs from option help strings In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jsm28 at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg02233.txt.bz2 ------- 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 ). -- 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 line in gcc --|TABs from option help |help=Ada |strings http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42467