As a translator I want the XML and HTML tags to be checked for completeness so that I do not face any errors which compiling documents with files containing these tags. This is a common error that is faced by translators if they are translating long strings with multiple tags. * Validation Checks are only Warnings (Advisory) * How to display the error messages - simple validation checks. The users would be give an option to enable/disable the test via a checkbok somewhere within the top part of the editor screen. The warning for any incomplete tag can be displayed in a collapsable tab (similar to the one with the list of users)
Implemented. See https://github.com/zanata/zanata/commit/c16906005ad0c1f4c5d5587d3595e1c7f2dde133
The following validations are not present, but would be very useful in preventing broken XML or HTML: - validation does not check for added tags - validation does not check whether the order of tags is different Translators may need to add tags and change the order of tags, in these cases it would be more useful to show a warning and let the translator ignore it as they know the change was made on purpose, rather than have no warning when a change is accidentally made. The following are different from the above description, but seem reasonable: - enable/disable checkbox is on the lower right (above comment specifies top). - tab is collapsible, but does not stay collapsed for long if there are warnings to display.
Implemented fix. See https://github.com/zanata/zanata/commit/8c5e2aee6e66704623c9a1dc18701786d600ff58
- updated to use localisable message strings - updated tag order algorithm to detect single moved tag See: https://github.com/zanata/zanata/commit/f8eaaa0666357c6fe284d6cf4618650ec3513fc0 https://github.com/zanata/zanata/compare/e69ee68374a74eac8535980bc7dd833ba7795b83...030653ed8063238147f95b7219d0838f75150194
UI updates, see: https://github.com/zanata/zanata/compare/030653ed8063238147f95b7219d0838f75150194...d24ee4588f41cc49290f17ec2aef518266d7edbb