Commit 19de0410 authored by Michal Čihař's avatar Michal Čihař

Special case for Basque exclamation marks

parent a54ad45e
......@@ -362,6 +362,9 @@ class EndExclamationCheck(Check):
description = _('Source and translation do not both end with an exclamation mark or it is not correctly spaced')
def check_single(self, source, target, flags, language, unit):
if self.is_language(language, ['eu']):
if source[-1] == '!':
return '¡' in target and '!' in target
if self.is_language(language, ['fr', 'br']):
if len(target) == 0:
return False
......
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