The ExternalFinder plugin is now integrated with OmegaT. Big thanks to Chihiro Hio for creating the plugin and agreeing to license the code under GPLv3.
The plugin is integrated almost as-is, based on commit 3cd27b5; the only user-facing differences are:
finder.xml is now located in the project's omegat folder rather than the root.& rather than _. In XML this should be escaped to &.{target} token in a URL, the resulting URL must be a valid URI per the Java spec. This is stricter than the plugin, which (apparently) allowed e.g. spaces to appear in the URL template. Now such characters must be appropriately escaped: + or %20 for a space, etc. Effectively this means that encoding="none" cannot be used with URLs.With this integration comes a new GUI for configuring both global settings (Preferences > External Search) and project-specific settings (Project Properties > External Search).
See the org.omegat.externalfinder package info (omegat.sourceforge.io) for details on the XML format.
Invalid finder.xml definitions are reported in the OmegaT log; relevant messages are prefixed with "ExternalFinder".
In addition to being able to copy finder.xml to the /omegat folder of a project, it is also possible to add project-specific URLs to a project, using the External Search button in the project properties.
From Aaron:
Didier
Brilliant!
Implemented in the released version 4.1 of OmegaT.
Didier
Diff:
Diff:
Diff:
Diff: