You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite adding the "xml-text" flag to all my strings, some of them are not properly handled as XML text. I noticed this happens when the text has XML entities with dashes. This happens when translating strings such as "Popt-&popt-version;" (which docbook successfully converts to a version number, since the entity is declared).
System check identified some issues:
INFOS:
?: (weblate.I021) Error collection is not set up, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-5.5.5/admin/install.html#collecting-errors
?: (weblate.I028) Backups are not configured, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-5.5.5/admin/backup.html
System check identified 2 issues (1 silenced).
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the issue
Despite adding the "xml-text" flag to all my strings, some of them are not properly handled as XML text. I noticed this happens when the text has XML entities with dashes. This happens when translating strings such as "Popt-&popt-version;" (which docbook successfully converts to a version number, since the entity is declared).
I already tried
Steps to reproduce the behavior
By going to a string such as https://translate.linuxfromscratch.org/translate/beyond-linux-from-scratch/general_genlib_popt/fr/?sort_by=-priority%2Cposition&offset=7 one can see that the flags contain "xml-text", but the XML entity is not highlighted. In addition, this triggers a false-positive check (in French, there should be a space before ";", but this can't be the case here, since it's an XML entity).
Expected behavior
As with other XML entities, such as in https://translate.linuxfromscratch.org/translate/beyond-linux-from-scratch/general_genlib_popt/fr/?checksum=3571beb2fdf64b63&sort_by=-priority,position I expected it to be highlighted and function as part of the XML syntax. It should not trigger a check like this.
Screenshots
No response
Exception traceback
No response
How do you run Weblate?
PyPI module
Weblate versions
Weblate deploy checks
Additional context
No response
The text was updated successfully, but these errors were encountered: