This site uses cookies.
Some of these cookies are essential to the operation of the site,
while others help to improve your experience by providing insights into how the site is being used.
For more information, please see the ProZ.com privacy policy.
Kepler Lee Taiwan Local time: 04:24 English to Chinese + ...
Dec 11, 2015
A groovy (write_notes) downloaded from "http://wp.me/p3fHEs-9N" works well in OmegaT 3.5.2 version originally. However, when I install and run 3.5.3 version, this script (and some other scripts, such as write_table.groovy from http://wp.me/p3fHEs-7L) can not work well now.
Initially, the 3.5.3 version without attached JRE is installed (I do so because I think that JRE already exists in 3.5.2 ve... See more
A groovy (write_notes) downloaded from "http://wp.me/p3fHEs-9N" works well in OmegaT 3.5.2 version originally. However, when I install and run 3.5.3 version, this script (and some other scripts, such as write_table.groovy from http://wp.me/p3fHEs-7L) can not work well now.
Initially, the 3.5.3 version without attached JRE is installed (I do so because I think that JRE already exists in 3.5.2 version, there is no need to reinstall JRE). In this morning, I download and install the 3.5.3 version with attached JRE and try again. The situation remains without change.
Is there any solution? Alternatively, is there any safe method to go back to run 3.5.2 version without losing my current settings?
The message of running the script is as following: The script "E:\MyDocument\翻譯語言\0CAT\OmegaT\Scripts\write_notes.groovy" is running... An error occurred javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: static org.omegat.util.StaticUtils.makeValidXML() is applicable for argument types: (java.lang.String) values: [V-groves:V-grooves:已改]
In case the groovy cannot be downloaded, refer to the following pasted code.
/* THIS SCRIPT HAS BEEN SPONSORED BY TRANSLATION AGENCY VELIOR [ http://velior.ru ] * * #Purpose: Export the project into a HTML table * #Files: Writes 'project_table.html' in the 'script_output' subfolder * of current project's root. Each source file is exported to a separate * table that has the name of the file as its heading, all source segments * in the left column and corresponding target segments in the right. * #Details: http://wp.me/p3fHEs-7L * * @author: Kos Ivantsov * @date: 2014-01-16 * @version: 0.2 */
def prop = project.projectProperties if (!prop) { final def title = 'Export project to table' final def msg = 'Please try again after you open a project.' showMessageDialog null, msg, title, INFORMATION_MESSAGE return } def folder = prop.projectRoot+'script_output/' projname = new File(prop.getProjectRoot()).getName() table_file = new File(folder + projname + '.html') // create folder if it doesn't exist if (! (new File (folder)).exists()) { (new File(folder)).mkdir() } count = 0 table_file.write("""\ \n
""", 'UTF-8')
files = project.projectFiles for (i in 0 ..< files.size()) { fi = files[i] table_file.append("""\
Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.
Create customer quotes and invoices from within Trados Studio
Trados Business Manager Lite helps to simplify and speed up some of the daily tasks, such as invoicing and reporting, associated with running your freelance translation business.