Translates error flash messages