Scripts

The following improvements are in the scripts/ directory and, except for the extra scripts, can be used as is in the original Omega-T, since no changes have been made in the scripts engine itself.

Create exports

Two scripts based on Kos Ivantsov's write_sel_files2TMX.groovy can create export for Euramis (DGT's Translation Memories repository) and for DGT/Omega-T, in both cases, one per document and including the properties used by the destination tool.

These scripts are also modified to run in a separate thread, so that the user can continue to work during the process, which can sometimes be long in very large projects.

Extra scripts

The scripts/extra folder contains scripts which are run directly from the code: this concerns the reformatter and the cross-lingual concordance (which is a plugin, and called only if the plugin is present)

Improvement of the quality checker

The script check_rules.groovy has been improved with the following additions:

  • The table is capable of displaying long strings in multiple lines
  • Double words (one of the rules) can be marked (see screenshots). Other rules may have a marker (see markedRules array) but only this one is implemented yet. Also we did not succeed to have it in color, that's the reason why we use ** as a marker for the moment.

 

Add new comment