Hi,
I think we should use the gettext tools also for the contextual menu
(application + applet).
It would make the translators work easier, and in the same process will
remove the need for the applet to look on the web server for
JmolPopupStructure.java.
I am willing to work on it, but I want to be sure the way I was planning
to do it is ok.
What I thought :
- modify org/openscience/jmol/ui/PopupResourceBundle to use 2 internal
ListResourceBundle (instead of ResourceBundle), see below
- create one derived class of ListResourceBundle for the structure
(copying JmolPopupStructure.properties into it)
- create one derived class of ListResourceBundle for the labels (copying
JmolPopupWords.properties into it)
- modifiy build-i18n.xml to add strings to translate into JmolApplet.pot
- includes org/jmol/translation/JmolApplet/Messages*.class into the
applet jars.
Any comment ?
Nicolas
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers