Inline tags in XLIFF can contain an equiv-text attribute that indicates what the XLIFF tag represents in the original file.
OmegaT exposes the source file markup in tooltips on protected parts; currently for XLIFF it will show the entire XLIFF tag element, but since XLIFF is (usually) merely an intermediate format, it would be better to use the content of equiv-text when available.
Example:
Source text:
Foo %s bar
Extracted XLIFF:
<source xml:lang="baz">Foo <x equiv-text="%s" id="1"/> bar</source>
Source shown in OmegaT editor:
Foo <x0/> bar
Tooltip content before equiv-text support:
<x equiv-text="%s" id="1"/>
Tooltip content after:
%s
This is implemented in trunk, r6915.
I also simplified the existing protected parts-related preferences:
equiv-textextraction are enabled by the new preference "Simplify tooltips on protected parts".Closed in the released version 3.1.9 of OmegaT.
Didier