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

Allow ... to be translated into ellipsis

parent 601ecb19
......@@ -126,6 +126,9 @@ class EndStopCheck(TargetCheck):
# Thai does not have a full stop
if self.is_language(unit, ('th', )):
return False
# Allow ... to be translated into ellipsis
if source.endswith('...') and target[-1] == u'…':
return False
if self.is_language(unit, ('ja', )) and source[-1] in (':', ';'):
# Japanese sentence might need to end with full stop
# in case it's used before list.
......
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