[Laszlo-dev] Process for adding an i18n warning?

Henry Minsky henry.minsky at gmail.com
Tue Aug 22 16:58:03 EDT 2006


The English (default) message file is in
WEB-INF/lps/server/src/org/openlaszlo/i18n/laszlomessages.properties.

I guess you can just think up a unique ID that isn't in that file already. I
don't have any better ideas for this..



On 8/22/06, P T Withington <ptw at openlaszlo.org> wrote:
>
> I'm modifying the compiler and want to add a warning.  I see patterns
> like this:
>
> >                 env.warn(
> > /* (non-Javadoc)
> > * @i18n.test
> > * @org-mes="redefining reference '" + p[0] + "' which has already
> > been defined on " + p[1]
> > */
> >             org.openlaszlo.i18n.LaszloMessages.getMessage(
> >                 NodeModel.class.getName(),"051018-706", new Object
> > [] {name, getMessageName()})
> >                     ,element);
> >             }
>
> How do I add a new warnings?  Is there a tool that generates the
> message files and assigns the ID's?
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20060822/442297d2/attachment.html


More information about the Laszlo-dev mailing list