#NEWLINE# @ when ( render_event , "action=='card_weight'" ) #NEWLINE# def render_event_card_weight( action , data ) : #NEWLINE# #INDENT# return ( _ ( 'User %(author)s has weighted card "%(card)s" from (%(from)s) to (%(to)s)' ) % action )