Commit d4e6a770 authored by Michal Čihař's avatar Michal Čihař

Fix condition for base file validation

parent 381cf822
......@@ -878,7 +878,7 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin):
# Validate template
if self.has_template():
if self.file_format_cls.monolingual:
if self.file_format_cls.monolingual is False:
raise ValidationError(
_('You can not base file with bilingual translation!')
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment