Compute action_text from action codes