This is the mail archive of the gcc-patches@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]

Re: RFA [PR objc/29200][diagnostic] Make diagnostics translation friendly


Am Freitag, den 03.04.2009, 02:30 +0200 schrieb David Ayers:
> here is some more low hanging fruit:
> "In gcc/objc/objc-act.c there is this code:
> 
>           warning (0, "multiple %s named %<%c%s%> found",
>                    methods ? "methods" : "selectors",
> 
> The strings substituted for the first %s are not available for translation, so
> this can not be properly translated.  Even if they were, composing a sentence
> like this is not in general possible to do for an arbitrary language."
> 
> [quoted from: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29200 ]
> 
> This patch fixes it in straight forward, boring way.

Actually there are a few more places around here that need cleaning
up... so ignore this patch for now.

Sorry for the noise,
David


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