From 554e21cd1526bf98400da22dbc9f8766ccd2003f Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Thu, 30 Jun 2016 15:54:32 -0400 Subject: [PATCH] Fix localization of address validation message Fixes #608 --- src/components/registration/steps.jsx | 2 +- src/views/teacherregistration/l10n.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/registration/steps.jsx b/src/components/registration/steps.jsx index b9db7716e..d1e88d796 100644 --- a/src/components/registration/steps.jsx +++ b/src/components/registration/steps.jsx @@ -448,7 +448,7 @@ module.exports = { return this.props.onNextStep(formData); } else { return invalidate({ - 'all': + 'all': this.props.intl.formatMessage({id: 'teacherRegistration.addressValidationError'}) }); } }.bind(this)); diff --git a/src/views/teacherregistration/l10n.json b/src/views/teacherregistration/l10n.json index 558064a13..e0449ab1f 100644 --- a/src/views/teacherregistration/l10n.json +++ b/src/views/teacherregistration/l10n.json @@ -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",