diff options
author | Elias Nahum <nahumhbl@gmail.com> | 2016-01-28 11:21:12 -0300 |
---|---|---|
committer | Elias Nahum <nahumhbl@gmail.com> | 2016-01-28 11:21:12 -0300 |
commit | a72ba140240266b03558dba716e6f4815392d491 (patch) | |
tree | 44931bbd3b4de7f126f95270595195dc273e3e44 /web/react/components/claim/claim_account.jsx | |
parent | c8ca70870f1e202eb5784839520199fdf0beaeec (diff) | |
download | chat-a72ba140240266b03558dba716e6f4815392d491.tar.gz chat-a72ba140240266b03558dba716e6f4815392d491.tar.bz2 chat-a72ba140240266b03558dba716e6f4815392d491.zip |
PLT-7: Refactoring frontend (chunk 3)
- Tutorial components
- Claim components
- Suggestion components
Diffstat (limited to 'web/react/components/claim/claim_account.jsx')
-rw-r--r-- | web/react/components/claim/claim_account.jsx | 11 |
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 |