[Patch] Java: Prepare for %q, %< and %> in diagnostic messages

Ranjit Mathew rmathew@gmail.com
Tue Oct 5 07:54:00 GMT 2004


> >> While you're at it, please make the messages be properly translated
> >> (see ABOUT-GCC-NLS in the source tree).
> >>
> >> zw
> >
> > If I understand you correctly, this would just
> > mean changing the parameter name from "msg"
> > to "msgid" so that the message extractors pick
> > it up correctly, right?
> 
> That, and tracing the data flow and making sure that the string is
> passed through _() exactly once.

Thanks. I think that part is taken care of
already - parse_error_context() and parse_warning_context()
call issue_error_warning_from_context(), which calls
warning() or error() in the core GCC framework, which
then ensures that the translation is done only once.

Thanks,
Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT gmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/



More information about the Java-patches mailing list