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


On Apr 2, 2009, at 5:30 PM, David Ayers wrote:
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.

OK for the trunk (while not frozen)?

Ok.



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