1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-22 14:00:58 +00:00

use test translations in dashboard

This commit is contained in:
slowbackspace 2019-02-06 18:46:54 +01:00
parent d1610e02ec
commit 861a53f5c7

View File

@ -1,3 +1,4 @@
/* @flow */
import React from 'react'; import React from 'react';
import styled from 'styled-components'; import styled from 'styled-components';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
@ -9,6 +10,9 @@ import RippleIcon from 'images/coins/xrp.png';
import { H1 } from 'components/Heading'; import { H1 } from 'components/Heading';
import Paragraph from 'components/Paragraph'; import Paragraph from 'components/Paragraph';
import { FormattedMessage } from 'react-intl';
import messages from './index.messages';
const Wrapper = styled.div` const Wrapper = styled.div`
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -50,8 +54,8 @@ const Dashboard = () => (
<Content> <Content>
<Wrapper> <Wrapper>
<Row data-test="Dashboard__page__content"> <Row data-test="Dashboard__page__content">
<H1>Please select your coin</H1> <H1><FormattedMessage {...messages.title} /></H1>
<StyledP>You will gain access to receiving &amp; sending selected coin</StyledP> <StyledP><FormattedMessage {...messages.body} /></StyledP>
<Overlay> <Overlay>
<Image src={EthIcon} width={20} /> <Image src={EthIcon} width={20} />
<Image src={RippleIcon} width={25} /> <Image src={RippleIcon} width={25} />