Added some class error locales.

Added messages to switch command. (Class)