Commit 4caa5dab authored by Michal Čihař's avatar Michal Čihař

Need to fallback to standard check

parent 42fa77dd
...@@ -364,7 +364,8 @@ class EndExclamationCheck(Check): ...@@ -364,7 +364,8 @@ class EndExclamationCheck(Check):
def check_single(self, source, target, flags, language, unit): def check_single(self, source, target, flags, language, unit):
if self.is_language(language, ['eu']): if self.is_language(language, ['eu']):
if source[-1] == '!': if source[-1] == '!':
return not(u'¡' in target and u'!' in target) if u'¡' in target and u'!' in target:
return False
if self.is_language(language, ['fr', 'br']): if self.is_language(language, ['fr', 'br']):
if len(target) == 0: if len(target) == 0:
return False 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