Added some constraints to ensure validity of the PartAssociation entities

This commit is contained in:
Jan Böhmer 2023-11-14 23:50:09 +01:00
parent c7892cb9e2
commit cc2332a83a
2 changed files with 24 additions and 0 deletions

View file

@ -317,5 +317,23 @@
<target>A lot owner must not be the anonymous user!</target>
</segment>
</unit>
<unit id="N8aA0Uh" name="validator.part_association.must_set_an_value_if_type_is_other">
<segment>
<source>validator.part_association.must_set_an_value_if_type_is_other</source>
<target>If you set the type to "other", then you have to set a descriptive value for it!</target>
</segment>
</unit>
<unit id="9VYNZ4v" name="validator.part_association.part_cannot_be_associated_with_itself">
<segment>
<source>validator.part_association.part_cannot_be_associated_with_itself</source>
<target>A part can not be associated with itself!</target>
</segment>
</unit>
<unit id="csc1PNn" name="validator.part_association.already_exists">
<segment>
<source>validator.part_association.already_exists</source>
<target>The association with this part already exists!</target>
</segment>
</unit>
</file>
</xliff>