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

Clarify error messages (issue #745)

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent f75d88d1
......@@ -1105,13 +1105,13 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin):
# Test for unexpected template usage
if self.template != '' and self.file_format_cls.monolingual is False:
raise ValidationError(
_('You can not base file with bilingual translation!')
_('You can not use base file with bilingual translation!')
)
# Special case for Gettext
if self.template.endswith('.pot') and self.filemask.endswith('.po'):
raise ValidationError(
_('You can not base file with bilingual translation!')
_('You can not use base file with bilingual translation!')
)
# Validate template loading
......
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