Minor translations
Added new restriction: Max classes a teacher can give in a given range of time