translate flash messages (issue #22)