summaryrefslogtreecommitdiffstats
path: root/web/react/components/claim/claim_account.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/claim/claim_account.jsx')
-rw-r--r--web/react/components/claim/claim_account.jsx11
1 files changed, 10 insertions, 1 deletions
diff --git a/web/react/components/claim/claim_account.jsx b/web/react/components/claim/claim_account.jsx
index f38f558db..87026b762 100644
--- a/web/react/components/claim/claim_account.jsx
+++ b/web/react/components/claim/claim_account.jsx
@@ -4,6 +4,8 @@
import EmailToSSO from './email_to_sso.jsx';
import SSOToEmail from './sso_to_email.jsx';
+import {FormattedMessage} from 'mm-intl';
+
export default class ClaimAccount extends React.Component {
constructor(props) {
super(props);
@@ -13,7 +15,14 @@ export default class ClaimAccount extends React.Component {
render() {
let content;
if (this.props.email === '') {
- content = <p>{'No email specified.'}</p>;
+ content = (
+ <p>
+ <FormattedMessage
+ id='claim.account.noEmail'
+ defaultMessage='No email specified'
+ />
+ </p>
+ );
} else if (this.props.currentType === '' && this.props.newType !== '') {
content = (
<EmailToSSO