Disallow attachments without attachment types.

This should partly fixes issue #131. TODO: Change database structure so attachment_type is not nullable.
This commit is contained in:
Jan Böhmer 2022-07-22 00:48:51 +02:00
parent fc3f2e52c8
commit 082cd16486
2 changed files with 8 additions and 0 deletions

View file

@ -215,5 +215,11 @@
<target>This location can only contain a single part and it is already full!</target>
</segment>
</unit>
<unit id="4gPskOG" name="validator.attachment.must_not_be_null">
<segment>
<source>validator.attachment.must_not_be_null</source>
<target>You must select an attachment type!</target>
</segment>
</unit>
</file>
</xliff>