"Bad markup found in translations" ('make check' failure with autotools)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
jazzynico |
Bug Description
Recent translation updates cause 'make check' (with autotools-based build) to fail - since Inkscape trunk PPA builds have already switched to cmake, and the cmake test routines do not include tests for po or extensions, this error might have gone unnoticed:
<...>
Making check in po
rm -f missing notexist
srcdir=. /Volumes/
if [ -r missing -o -r notexist ]; then \
exit 1; \
fi
nl.po: parsing error for `<Program files>':
#: ../share/
msgid " into the following Inkscape folder: C:\\<Program files>\
msgstr ""
WARNING: Bad markup found in translations. Please consider fixing the above problems.
make check_markup
perl ./po/check-markup ./po/*.po || [ $? = 127 ]
nl.po: parsing error for `<Program files>':
#: ../share/
msgid " into the following Inkscape folder: C:\\<Program files>\
msgstr ""
make[2]: *** [check_markup] Error 1
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1
The unescaped '<' and '>' are in inkscape.pot as well as in nl.po (as of rev 14919). I don't known whether this needs to be fixed in the source file itself (plotter.py) or whether the characters should have been escaped automatically in inkscape.pot on re-generation?
Confirmed. The error comes from the inkscape.pot file.
Investigations in progress.