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

P T Withington ptw at openlaszlo.org
Tue Aug 22 12:42:20 EDT 2006


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?


More information about the Laszlo-dev mailing list