[ui] i18n of lengthy tooltip with interspersed stylesheet markup
-
UI files support stylesheet markup in texts. Sometimes
toolTip
texts may be quite lengthy and contain a lot of interspersed markup.
Changing a detail in such a text will lead to the text becoming fuzzy in the PO files extracted for translation.
It then becomes hard for the translators to spot the location(s) of modification in the text, especially with all the distracting markup mixed in.My idea would be to extend the
tooltip
property syntax to permit more than one<string>
. The user could then divide the text into markup entries<string notr="true">
and translatable entries<string>
. The POT-file extractor program would only forward the translatable entries to the POT file.
I am aware that it is a rather heavy solution because it requires added magic for reassembling the total text from the<string notr="true">
parts and the translated parts.Perhaps there is an easier way?