------- Comment #17 from joseph at codesourcery dot com 2009-07-28 11:55 ------- Subject: Re: String not extracted for translation
On Mon, 27 Jul 2009, manu at gcc dot gnu dot org wrote: > ------- Comment #3 from manu at gcc dot gnu dot org 2009-07-27 16:55 ------- > (In reply to comment #2) > > I tried to look for more similar cases. But I couldn't find anything. Not > > that it is all that easy to search for. Neither "error" nor "?" are > > particularly good search terms. :-) So I may very well have missed > > something. > > Try grep -e ' error ([^"]' gcc/*.c -A 1 > > I am sure you can come up with smart regexp for warning, warning_at, error_at, > inform and the other diagnostic functions. My approach for finding such issues has been to search for '"' and look (manually) in the result for any English strings that are not full diagnostics as the *msgid operand of a diagnostic function. > Care to contribute a patch for this and other cases? I also encourage people wanting such issues fixed to submit patches, and will review such patches (to any part of the compiler) if the more specific maintainers of those parts of the compiler do not review them first. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40872