I think there may be a slight mistake in the isntructions to
internationalize plug-ins using Paul's recent changes. Step 2 in
Paul's previous e-mail said to use the I18N.get(String category,
String key) method to obtain the internationalized String. This
generated a compile error in my code. After looking at the Javadoc I
think the I18N.getText method needs to be called, not the I18N.get
method. (I noticed in the Javadoc that the I18N.get method only takes
a single String parameter, while the I18N.getText method takes two
String parameters.)

When I compiled my code with the I18N.getText method I received no
compiler errors.

I placed a comment on the wiki indicating there may be an error in the
instructions. However, I wanted to post here so it can be confirmed or
denied. I could be making some other mistake that is gerneating the
compiler error.

The Sunburned Surveyor

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to