MDL-60538 lesson: check if max attempts exceeded, use new lang string