Edit if/elsif (flash messages review translate)