I have picked the following lines from file gcc-4.5-b20091203.pot: #: c-common.c:7053 c-common.c:7145 #, gcc-internal-format msgid "can%'t set %qE attribute after definition" #: c-decl.c:1533 #, gcc-internal-format msgid "a parameter list with an ellipsis can%'t match an empty parameter name list declaration" Is this above really gcc-internal-format ? There are more like this below, but I do not mark them any more. #: c-decl.c:1540 #, gcc-internal-format msgid "an argument type that has a default promotion can%'t match an empty parameter name list declaration" #: c-decl.c:4215 varasm.c:2139 #, gcc-internal-format msgid "storage size of %q+D isn%'t known" #: c-decl.c:4226 #, gcc-internal-format msgid "storage size of %q+D isn%'t constant" #: c-decl.c:4647 #, gcc-internal-format msgid "ISO C90 forbids array %qE whose size can%'t be evaluated" #: c-decl.c:4651 #, gcc-internal-format msgid "ISO C90 forbids array whose size can%'t be evaluated" #: c-decl.c:4670 #, gcc-internal-format msgid "the size of array %qE can%'t be evaluated" #: c-decl.c:4674 #, gcc-internal-format msgid "the size of array can %'t be evaluated" #: c-decl.c:6051 c-decl.c:7467 #, gcc-internal-format msgid "function declaration isn%'t a prototype" #: c-decl.c:6561 #, gcc-internal-format msgid "ISO C doesn%'t support unnamed structs/unions" #: c-decl.c:7778 #, gcc-internal-format msgid "number of arguments doesn%'t match built-in prototype" #: c-decl.c:7789 #, gcc-internal-format msgid "number of arguments doesn%'t match prototype" #: c-decl.c:7826 #, gcc-internal-format msgid "promoted argument %qD doesn%'t match built-in prototype" #: c-decl.c:7831 #, gcc-internal-format msgid "promoted argument %qD doesn%'t match prototype" #: c-decl.c:7841 #, gcc-internal-format msgid "argument %qD doesn%'t match built-in prototype" #: c-decl.c:7846 #, gcc-internal-format msgid "argument %qD doesn%'t match prototype" #: c-pch.c:132 #, gcc-internal-format msgid "can%'t create precompiled header %s: %m" #: c-pch.c:153 #, gcc-internal-format msgid "can%'t write to %s: %m" PLS, can you write this above more explicitly: "cannot write to file %s: %m" or something like that #: c-pch.c:188 c-pch.c:203 c-pch.c:217 #, gcc-internal-format msgid "can%'t write %s: %m" More explicitly here too. Write what? A file, a string, a field? Translators would appreciate if it were more explicitly. #: c-pch.c:193 c-pch.c:210 #, gcc-internal-format msgid "can%'t seek in %s: %m" More explicitly, PLS. #: c-pch.c:201 c-pch.c:243 c-pch.c:284 c-pch.c:335 #, gcc-internal-format msgid "can%'t read %s: %m" More explicitly, PLS. #: c-pch.c:473 #, gcc-internal-format msgid "%s: couldn%'t open PCH file: %m" #: c-typeck.c:739 #, gcc-internal-format msgid "can%'t mix operands of decimal float and vector types" #: c-typeck.c:744 #, gcc-internal-format msgid "can%'t mix operands of decimal float and complex types" #: c-typeck.c:744 #, gcc-internal-format msgid "can%'t mix operands of decimal float and complex types" #: c-typeck.c:749 #, gcc-internal-format msgid "can%'t mix operands of decimal float and other float types" #: stmt.c:900 #, gcc-internal-format msgid "asm operand %d probably doesn%'t match constraints" #: stor-layout.c:160 #, gcc-internal-format msgid "type size can%'t be explicitly evaluated" #: toplev.c:2051 #, gcc-internal-format msgid "can%'t open %s: %m" More explicitly, PLS. #: tree-cfg.c:3937 #, gcc-internal-format msgid "statement marked for throw, but doesn%'t" #: varasm.c:1375 #, gcc-internal-format msgid "data type of %q+D isn%'t suitable for a register" #: varasm.c:1378 #, gcc-internal-format msgid "register specified for %q+D isn%'t suitable for data type"
Subject: Re: New: 33 typos in gcc-4.5-b20091203.pot file On Tue, 22 Dec 2009, karvonen dot jorma at gmail dot com wrote: > I have picked the following lines from file gcc-4.5-b20091203.pot: This is not a useful bug report. You have extracted some lines, but without any explanation of why you think something is wrong with most of them. If you think different things are wrong with different messages, each such problem should have its own issue filed as messages in different parts of the compiler are maintained by different people. So file separate issues for each distinct problem in a distinct part of the compiler, making clear exactly why you think something is wrong. If you think there is a typo, indicate what word you think is wrong and what you think it should be instead. > #: c-common.c:7053 c-common.c:7145 > #, gcc-internal-format > msgid "can%'t set %qE attribute after definition" > > #: c-decl.c:1533 > #, gcc-internal-format > msgid "a parameter list with an ellipsis can%'t match an empty parameter name > list declaration" > > Is this above really gcc-internal-format ? There are more like this below, but > I do not mark them any more. What makes you think gcc-internal-format is wrong here? Both %' and %qE are GCC-specific formats (the former indicating that English messages should use an apostrophe if LC_CTYPE supports it - so it should not be used in translations, only in English messages - and the latter indicating that the format argument is an identifier and the output is quoted - so %qE should appear in the translations).
Subject: Re: 33 typos in gcc-4.5-b20091203.pot file OK, thank you, I was thinking that that %' was wrong. It tried to find information about %' or gcc-internal-format with google, but missed. So these all 33 typos are not typos. My mistake. Sorry. PLS, mark this bug fixed. Jorma K. 2009/12/22 joseph at codesourcery dot com <gcc-bugzilla@gcc.gnu.org>: > > > ------- Comment #1 from joseph at codesourcery dot com 2009-12-22 12:15 ------- > Subject: Re: New: 33 typos in gcc-4.5-b20091203.pot > file > > On Tue, 22 Dec 2009, karvonen dot jorma at gmail dot com wrote: > >> I have picked the following lines from file gcc-4.5-b20091203.pot: > > This is not a useful bug report. You have extracted some lines, but > without any explanation of why you think something is wrong with most of > them. If you think different things are wrong with different messages, > each such problem should have its own issue filed as messages in different > parts of the compiler are maintained by different people. So file > separate issues for each distinct problem in a distinct part of the > compiler, making clear exactly why you think something is wrong. If you > think there is a typo, indicate what word you think is wrong and what you > think it should be instead. > >> #: c-common.c:7053 c-common.c:7145 >> #, gcc-internal-format >> msgid "can%'t set %qE attribute after definition" >> >> #: c-decl.c:1533 >> #, gcc-internal-format >> msgid "a parameter list with an ellipsis can%'t match an empty parameter name >> list declaration" >> >> Is this above really gcc-internal-format ? There are more like this below, but >> I do not mark them any more. > > What makes you think gcc-internal-format is wrong here? Both %' and %qE > are GCC-specific formats (the former indicating that English messages > should use an apostrophe if LC_CTYPE supports it - so it should not be > used in translations, only in English messages - and the latter indicating > that the format argument is an identifier and the output is quoted - so > %qE should appear in the translations). > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42458 > >
Fine.