Redmine #1102: made @targetLang optional

This commit is contained in:
Cyprian Laskowski 2021-07-30 18:29:36 +02:00
parent 6822bf61ef
commit 35c1c2e135

View File

@ -263,7 +263,7 @@
<xsd:complexType name="translationType"> <xsd:complexType name="translationType">
<xsd:simpleContent> <xsd:simpleContent>
<xsd:extension base="xsd:string"> <xsd:extension base="xsd:string">
<xsd:attribute name="targetLang" type="xsd:string" use="required"/> <!-- target language --> <xsd:attribute name="targetLang" type="xsd:string"/> <!-- target language -->
<xsd:attribute name="source" type="xsd:string"/> <!-- where the translation comes from --> <xsd:attribute name="source" type="xsd:string"/> <!-- where the translation comes from -->
<xsd:attribute name="audio" type="xsd:string"/> <!-- legacy ID associated with an audio file --> <xsd:attribute name="audio" type="xsd:string"/> <!-- legacy ID associated with an audio file -->
</xsd:extension> </xsd:extension>