Translating Error Messages

Without this call to `trans` the custom error messages are not translated, only the proper built-in ones.