From 181601dbf580f312e11021828e84133f17e88758 Mon Sep 17 00:00:00 2001 From: Ben Wheeler Date: Thu, 8 Aug 2019 11:19:18 -0400 Subject: [PATCH] translate email address placeholder --- src/components/join-flow/email-step.jsx | 2 +- src/l10n.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/join-flow/email-step.jsx b/src/components/join-flow/email-step.jsx index fe7db1289..baf3b46b4 100644 --- a/src/components/join-flow/email-step.jsx +++ b/src/components/join-flow/email-step.jsx @@ -70,7 +70,7 @@ class EmailStep extends React.Component { error={errors.email} id="email" name="email" - placeholder="Email address" + placeholder={this.props.intl.formatMessage({id: 'general.emailAddress'})} validate={this.validateEmailIfPresent} validationClassName="validation-full-width-input" onBlur={() => validateField('email')} // eslint-disable-line react/jsx-no-bind diff --git a/src/l10n.json b/src/l10n.json index 98c72aad7..8cc1b467f 100644 --- a/src/l10n.json +++ b/src/l10n.json @@ -20,7 +20,7 @@ "general.create": "Create", "general.credits": "Credits", "general.dmca": "DMCA", - "general.emailAddress": "Email Address", + "general.emailAddress": "Email address", "general.english": "English", "general.error": "Oops! Something went wrong", "general.errorIdentifier": "Your error was logged with id {errorId}",