Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


Hi Olivier,

On Tue, Oct 15, 2019 at 3:02 PM Olivier Hallot
<olivier.hallot@libreoffice.org> wrote:
The XML check looks buggy in the situation below:

https://weblate.documentfoundation.org/translate/libo_help-master/textsbasicpython/pt_BR/?type=check:xml-tags

The XML tags are there, but my translation has it in different (but
consistent) order in the text.

Is the XML check flagging a false positive?

Yes - the xml-tag check only does a simple parsing of the source and
target strings, and creates a list of tuple of tagname and attribute
names and then does a simple equality check...

https://github.com/WeblateOrg/weblate/blob/master/weblate/checks/markup.py#L172

So is a false positive check/only does what the code tells it to do..

ciao
Christian

-- 
To unsubscribe e-mail to: l10n+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.