Fix error and warning texts