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

Blacklist some languages for MyMemory service

parent 23f005c5
......@@ -36,8 +36,10 @@ class MyMemoryTranslation(MachineTranslation):
def is_supported(self, language):
'''
Any language without modifiers is supported.
Almost any language without modifiers is supported.
'''
if language in ('ia',):
return False
return '@' not in language and len(language) == 2
def format_match(self, match):
......
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