                         let state: ValidationState = availability.email ? .OK : .Error
 
                         if !availability.email {
-                            self.emailView.setErrorMessage("That email is invalid.\nPlease try again.")
+                            let msg = NSLocalizedString("That email is invalid.\nPlease try again.", comment: "invalid email message")
+                            self.emailView.setErrorMessage(msg)
                         }
                         self.emailView.setState(state)
                         self.updateView()

                        let state: ValidationState = availability.username ? .OK : .Error

                        if !availability.username {
                            self.usernameView.setErrorMessage("Username already exists.\nPlease try a new one.")
                            if !availability.usernameSuggestions.isEmpty {
                                let suggestions = ", ".join(availability.usernameSuggestions)
                                self.usernameView.setMessage("Here are some available usernames -\n\(suggestions)");
                            }
                        }
                        self.usernameView.setState(state)

            }
        }

        emailView.label.setLabelText(NSLocalizedString("Email", comment: "email key"))
        emailView.textField.text = currentUser?.email
        emailView.textFieldDidChange = { text in
            self.valueChanged()
