Commit a0a82ef5 authored by Ray Schamp's avatar Ray Schamp Committed by GitHub

Merge pull request #646 from rschamp/bugfix/608

Fix localization of address validation message
parents d91bac94 554e21cd
......@@ -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));
......
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment