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

Lower score for opentran suggestions

parent 277b4a93
...@@ -48,7 +48,7 @@ class OpenTranTranslation(MachineTranslation): ...@@ -48,7 +48,7 @@ class OpenTranTranslation(MachineTranslation):
''' '''
return ( return (
match['text'], match['text'],
100 - (match['value'] - 1) * 20, 100 - (match['value']) * 20,
'%s (%s)' % (self.name, match['projects'][0]['name']), '%s (%s)' % (self.name, match['projects'][0]['name']),
match['projects'][0]['orig_phrase'], match['projects'][0]['orig_phrase'],
) )
......
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