My task was:
Download Jmol filter file for Moodle (http://moodle.org/mod/data/view.php?d=13&rid=88) and change every hard-coded English texts to PHP variables, which read strings from language file, e.g.: every "viewersize" change to "get_string('viewersize')", eventually add some variables not present, to language file, e.g: $string['viewersize'] = 'Viewer size';
Please have a look at files located on http://adam.karolin.pl/issue78/ . There are two files:
- filter.php (/filter/jmol/filter.php)
- jmol.php (/lang/en_utf8/jmol.php)
Have I done it in the right way? Please, review my work.
I worked on CVS version of Jmol filter.