This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translation/42467] exgettext should not remove TABs from option help strings



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]