Unable to customize invalid email domain message

There was something like this with some other text that couldn’t be translated. The problem then was that the I18n.t function was being passed a symbol instead of a string. Maybe that’s what is happening here. Doing a search for user.email.not_allowed shows that it is being passed as a symbol.

# email_validator.rb
...
    if record.errors[attribute].blank? && value && ScreenedEmail.should_block?(value)
      record.errors.add(attribute, I18n.t(:'user.email.blocked'))
    end