Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.7.0
-
None
-
Linux
Qt 4.7.4
Description
The following is a generated untranslated file generated by ezlupdate from the extension https://github.com/xrowgmbh/xrowformgenerator
<context>
<name>xrowformgenerator/mail</name>
<message>
<location filename="xrowformgeneratortype.php" line="850"/>
<source>No.:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="xrowformgeneratortype.php" line="851"/>
<source>Date</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="xrowformgeneratortype.php" line="910"/>
<location line="0"/>
<source>Yes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="xrowformgeneratortype.php" line="914"/>
<location line="0"/>
<source>No</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Form sent successfully</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Thank You! You have successfully submitted the form.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Your data</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>required</source>
<translation type="unfinished"></translation>
</message>
</context>
If I run a validation against it it will fail.
$ xmllint --noout --relaxng schemas/translation/ts.rng extension/xrowformgenerator/translations/untranslated/translation.ts
extension/xrowformgenerator/translations/untranslated/translation.ts:340: element location: Relax-NG validity error : Element location failed to validate attributes
extension/xrowformgenerator/translations/untranslated/translation.ts:351: element location: Relax-NG validity error : Element location failed to validate attributes
extension/xrowformgenerator/translations/untranslated/translation.ts:357: element location: Relax-NG validity error : Element location failed to validate attributes
extension/xrowformgenerator/translations/untranslated/translation.ts fails to validate
The expected behavior is that ezlupdate will generate a xml that is valid.
How to run ezlupdate to generate a new translation file, reproducing the issue:
bin/linux/ezlupdate -e extension/xrowformgenerator nor-NO