Fix localization of address validation message

Fixes #608
This commit is contained in:
Ray Schamp 2016-06-30 15:54:32 -04:00
parent 4ef6b22b05
commit 554e21cd15
2 changed files with 2 additions and 2 deletions

View file

@ -448,7 +448,7 @@ module.exports = {
return this.props.onNextStep(formData);
} else {
return invalidate({
'all': <intl.FormattedMessage id="teacherRegistration.addressValidationError" />
'all': this.props.intl.formatMessage({id: 'teacherRegistration.addressValidationError'})
});
}
}.bind(this));

View file

@ -38,7 +38,7 @@
"teacherRegistration.orgChoiceOther": " ",
"teacherRegistration.notRequired": "Not Required",
"teacherRegistration.selectCountry": "select country",
"teacherRegistration.validationAddress": "This doesn't look like a real address",
"teacherRegistration.addressValidationError": "This doesn't look like a real address",
"teacherRegistration.addressLine1": "Address Line 1",
"teacherRegistration.addressLine2": "Address Line 2 (Optional)",
"teacherRegistration.zipCode": "ZIP",