2013/1/23 Ask Hjorth Larsen <[email protected]>:
(...)
>
> Presently it's a very simple heuristic.  It checks whether the English
> message looks like XML, by looking for the character '<' and checking
> if it is valid XML.  If the English message fulfills those criteria
> and the translation isn't valid XML, then a warning is printed.
>
> Best regards
> Ask

Something like &quot; could easily exist without any actual tags, and
thus wouldn't be handled by this heuristic.  However this case is
difficult to detect without getting false positives.  If it is known
about the GNOME docs that all strings must be valid XML (or if any
other strict conditions can be inferred) then the heuristic is easily
improved.

Regards
Ask
_______________________________________________
gnome-i18n mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-i18n

Reply via email to