Commit 0575c854 authored by Michal Čihař's avatar Michal Čihař

Only first sentence for MyMemory

parent 30321990
......@@ -69,7 +69,7 @@ class MyMemoryTranslation(MachineTranslation):
Downloads list of possible translations from MyMemory.
'''
args = {
'q': text[:500],
'q': text.split('. ')[0][:500],
'langpair': 'en|%s' % language,
}
if appsettings.MT_MYMEMORY_EMAIL is not None:
......
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