def format_unit_match(unit, quality):
 return (unit.get_target_plurals()[0], quality, (u'Weblate (%s)' % force_text(unit.translation.subproject)), unit.get_source_plurals()[0])

def format_unit_match ( unit , quality ) : return ( unit . get_target_plurals ( ) [ 0 ] , quality , ( u'Weblate (%s)' % force_text ( unit . translation . subproject ) ) , unit . get_source_plurals ( ) [ 0 ] )
formats unit to translation service result .