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 <[EMAIL PROTECTED]> 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
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev



--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to