This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA [PR objc/29200][diagnostic] Make diagnostics translation friendly
- From: David Ayers <ayers at fsfe dot org>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Mike Stump <mrs at apple dot com>, Stan Shebs <stanshebs at earthlink dot net>
- Date: Fri, 03 Apr 2009 02:41:55 +0200
- Subject: Re: RFA [PR objc/29200][diagnostic] Make diagnostics translation friendly
- References: <1238718644.10546.95.camel@schiefer.home.intars.at>
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