@cache_permission
def can_translate(user, translation):
 return can_edit(user, translation, 'trans.save_translation')

@ cache_permission def can_translate ( user , translation ) : return can_edit ( user , translation , 'trans.save_translation' )
checks whether user can translate given translation .