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

Wrap some lines

parent 6feed616
...@@ -1083,7 +1083,9 @@ class SubProject(models.Model): ...@@ -1083,7 +1083,9 @@ class SubProject(models.Model):
# Push repo is not used with link # Push repo is not used with link
if self.is_repo_link() and self.push != '': if self.is_repo_link() and self.push != '':
raise ValidationError(_('Push URL is not used when repository is linked!')) raise ValidationError(
_('Push URL is not used when repository is linked!')
)
try: try:
matches = self.get_mask_matches() matches = self.get_mask_matches()
...@@ -1093,7 +1095,9 @@ class SubProject(models.Model): ...@@ -1093,7 +1095,9 @@ class SubProject(models.Model):
for match in matches: for match in matches:
code = self.get_lang_code(match) code = self.get_lang_code(match)
if code in langs: if code in langs:
raise ValidationError(_('There are more files for single language, please adjust the mask and use subprojects for translating different resources.')) raise ValidationError(
_('There are more files for single language, please adjust the mask and use subprojects for translating different resources.')
)
langs[code] = match langs[code] = match
# Try parsing files # Try parsing files
......
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