public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug translation/42469]  New: 19 localization fails with gcc ---help=fortran
@ 2009-12-22 20:27 karvonen dot jorma at gmail dot com
  2009-12-23 12:08 ` [Bug translation/42469] option help strings not properly using TAB jsm28 at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: karvonen dot jorma at gmail dot com @ 2009-12-22 20:27 UTC (permalink / raw)
  To: gcc-bugs

Here are also gcc --help=fortran lines where localization fails. At the
beginning translated text is not shown and later on the option string is shown
twice.

#: c.opt:42
msgid ""
"Assert the <answer> to <question>.  Putting '-' before <question> disables "
"the <answer> to <question>"

A
C ObjC C++ ObjC++ Joined Separate
-A<question>=<answer>   Assert the <answer> to <question>.  Putting '-' before
<question> disables the <answer> to <question>

#: c.opt:54
msgid ""
"Define a <macro> with <val> as its value.  If just <macro> is given, <val> "
"is taken to be 1"

D
C ObjC C++ ObjC++ Joined Separate
-D<macro>[=<val>]       Define a <macro> with <val> as its value.  If just
<macro> is given, <val> is taken to be 1

diffs:

< msgid "Add <dir> to the end of the main framework include path"
> msgid "-F <dir>	Add <dir> to the end of the main framework include path"

< msgid "Add <dir> to the end of the main include path"
> msgid "-I <dir>	Add <dir> to the end of the main include path"

< msgid "Write dependency output to the given file"
> msgid "-MF <file>	Write dependency output to the given file"

< msgid "Add a MAKE-quoted target"
> msgid "-MQ <target>	Add a MAKE-quoted target"

< msgid "Add an unquoted target"
> msgid "-MT <target>	Add an unquoted target"

< msgid "Undefine <macro>"
> msgid "-U<macro>	Undefine <macro>"

< msgid "Add <dir> to the end of the system include path"
> msgid "-iwithprefix <dir>	Add <dir> to the end of the system include path"

< msgid "Set <dir> to be the system root directory"
> msgid "-isysroot <dir>	Set <dir> to be the system root directory"

< msgid "Add <dir> to the start of the system include path"
> msgid "-isystem <dir>	Add <dir> to the start of the system include path"

< msgid "Add <dir> to the end of the quote include path"
> msgid "-iquote <dir>	Add <dir> to the end of the quote include path"

There is something weird with the following ones (pls, look at console output):

fblas-matmul-limit=
Fortran RejectNegative Joined UInteger
-fblas-matmul-limit=<n>        Size of the smallest matrix for which matmul
will use BLAS

#: fortran/lang.opt:165
msgid ""
"-fblas-matmul-limit=<n>        Size of the smallest matrix for which matmul "
"will use BLAS"

finit-character=
Fortran RejectNegative Joined UInteger
-finit-character=<n> Initialize local character variables to ASCII value n

finit-integer=
Fortran RejectNegative Joined
-finit-integer=<n> Initialize local integer variables to n

finit-logical=
Fortran RejectNegative Joined
-finit-logical=<true|false> Initialize local logical variables

finit-real=
Fortran RejectNegative Joined
-finit-real=<zero|nan|inf|-inf> Initialize local real variables

fmax-array-constructor=
Fortran RejectNegative Joined UInteger
-fmax-array-constructor=<n>        Maximum number of objects in an array
constructor


-- 
           Summary: 19 localization fails with gcc ---help=fortran
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: translation
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: karvonen dot jorma at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42469


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug translation/42469] option help strings not properly using TAB
  2009-12-22 20:27 [Bug translation/42469] New: 19 localization fails with gcc ---help=fortran karvonen dot jorma at gmail dot com
@ 2009-12-23 12:08 ` jsm28 at gcc dot gnu dot org
  2010-01-07  8:39 ` pzhao at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-12-23 12:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jsm28 at gcc dot gnu dot org  2009-12-23 12:08 -------
Part of this appears to be the same exgettext issue as bug 42467.

The rest appears to be option help strings using one or more spaces where
a single TAB should be used:

common.opt:-Wframe-larger-than=<number> Warn if a function's stack frame
requires more than <number> bytes
common.opt:-fcompare-debug[=<opts>] Compile with and without e.g. -gtoggle, and
compare the final-insns dump
common.opt:-fdbg-cnt=<counter>:<limit>[,<counter>:<limit>,...]    Set the debug
counter limit.   
common.opt:-fira-verbose=<number> Control IRA's level of diagnostic messages.
common.opt:-flto-compression-level=<number> Use zlib compression level <number>
for IL
common.opt:-fplugin-arg-<name>-<key>[=<value>] Specify argument <key>=<value>
for plugin <name>
c.opt:-imultilib <dir> Set <dir> to be the multilib include subdirectory
fortran/lang.opt:-fblas-matmul-limit=<n>        Size of the smallest matrix for
which matmul will use BLAS
fortran/lang.opt:-finit-character=<n> Initialize local character variables to
ASCII value n
fortran/lang.opt:-finit-integer=<n> Initialize local integer variables to n
fortran/lang.opt:-finit-logical=<true|false> Initialize local logical variables
fortran/lang.opt:-finit-real=<zero|nan|inf|-inf> Initialize local real
variables
fortran/lang.opt:-fmax-array-constructor=<n>        Maximum number of objects
in an array constructor


-- 

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 12:08:18
               date|                            |
            Summary|19 localization fails with  |option help strings not
                   |gcc ---help=fortran         |properly using TAB


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42469


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug translation/42469] option help strings not properly using TAB
  2009-12-22 20:27 [Bug translation/42469] New: 19 localization fails with gcc ---help=fortran karvonen dot jorma at gmail dot com
  2009-12-23 12:08 ` [Bug translation/42469] option help strings not properly using TAB jsm28 at gcc dot gnu dot org
@ 2010-01-07  8:39 ` pzhao at gcc dot gnu dot org
  2010-01-11  4:29 ` pzhao at gcc dot gnu dot org
  2010-01-11  9:34 ` pzhao at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pzhao at gcc dot gnu dot org @ 2010-01-07  8:39 UTC (permalink / raw)
  To: gcc-bugs



-- 

pzhao at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pzhao at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2009-12-23 12:08:18         |2010-01-07 08:38:44
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42469


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug translation/42469] option help strings not properly using TAB
  2009-12-22 20:27 [Bug translation/42469] New: 19 localization fails with gcc ---help=fortran karvonen dot jorma at gmail dot com
  2009-12-23 12:08 ` [Bug translation/42469] option help strings not properly using TAB jsm28 at gcc dot gnu dot org
  2010-01-07  8:39 ` pzhao at gcc dot gnu dot org
@ 2010-01-11  4:29 ` pzhao at gcc dot gnu dot org
  2010-01-11  9:34 ` pzhao at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pzhao at gcc dot gnu dot org @ 2010-01-11  4:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pzhao at gcc dot gnu dot org  2010-01-11 04:28 -------
Subject: Bug 42469

Author: pzhao
Date: Mon Jan 11 04:28:36 2010
New Revision: 155801

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155801
Log:
gcc/po/
2010-01-11  Joseph Myers  <joseph@codesourcery.com>
            Shujing Zhao  <pearly.zhao@oracle.com>

        PR translation/42467
        * exgettext: Keep the text before tab character in the option help
        string at *.opt file.

gcc/
2010-01-11  Joseph Myers  <joseph@codesourcery.com>
            Shujing Zhao  <pearly.zhao@oracle.com>

        PR translation/42469
        * common.opt (Wframe-larger-than=, fcompare-debug=, fdbg-cnt=,
        fira-verbose=, flto-compression-level=, fplugin-arg-): Use tab
        character between option name and help text.
        * c.opt (imultilib): Likewise.

gcc/fortran
2010-01-11  Joseph Myers  <joseph@codesourcery.com>
            Shujing Zhao  <pearly.zhao@oracle.com>

        PR translation/42469
        * lang.opt (fblas-matmul-limit=, finit-character=, finit-integer=,
        finit-logical=, finit-real=, fmax-array-constructor=): Use tab
        character between option name and help text.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c.opt
    trunk/gcc/common.opt
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/lang.opt
    trunk/gcc/po/ChangeLog
    trunk/gcc/po/exgettext


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42469


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug translation/42469] option help strings not properly using TAB
  2009-12-22 20:27 [Bug translation/42469] New: 19 localization fails with gcc ---help=fortran karvonen dot jorma at gmail dot com
                   ` (2 preceding siblings ...)
  2010-01-11  4:29 ` pzhao at gcc dot gnu dot org
@ 2010-01-11  9:34 ` pzhao at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pzhao at gcc dot gnu dot org @ 2010-01-11  9:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pzhao at gcc dot gnu dot org  2010-01-11 09:34 -------
Fixed for 4.5.0


-- 

pzhao at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42469


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-01-11  9:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-22 20:27 [Bug translation/42469] New: 19 localization fails with gcc ---help=fortran karvonen dot jorma at gmail dot com
2009-12-23 12:08 ` [Bug translation/42469] option help strings not properly using TAB jsm28 at gcc dot gnu dot org
2010-01-07  8:39 ` pzhao at gcc dot gnu dot org
2010-01-11  4:29 ` pzhao at gcc dot gnu dot org
2010-01-11  9:34 ` pzhao at gcc dot gnu dot org

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