1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-22 05:51:18 +00:00

rename top menu related translation IDs

This commit is contained in:
slowbackspace 2019-02-22 13:03:03 +01:00
parent 005cd8ae02
commit 0d447280d3
2 changed files with 8 additions and 8 deletions

View File

@ -97,11 +97,11 @@ class TopNavigationAccount extends React.PureComponent<Props, LocalState> {
return (
<Wrapper className="account-tabs" ref={this.wrapperRefCallback}>
<StyledNavLink exact to={`${basePath}`}><FormattedMessage {...l10nMessages.TR_SUMMARY} /></StyledNavLink>
<StyledNavLink to={`${basePath}/receive`}><FormattedMessage {...l10nMessages.TR_RECEIVE} /></StyledNavLink>
<StyledNavLink to={`${basePath}/send`}><FormattedMessage {...l10nMessages.TR_SEND} /></StyledNavLink>
<StyledNavLink exact to={`${basePath}`}><FormattedMessage {...l10nMessages.TR_NAV_SUMMARY} /></StyledNavLink>
<StyledNavLink to={`${basePath}/receive`}><FormattedMessage {...l10nMessages.TR_NAV_RECEIVE} /></StyledNavLink>
<StyledNavLink to={`${basePath}/send`}><FormattedMessage {...l10nMessages.TR_NAV_SEND} /></StyledNavLink>
{network.type === 'ethereum'
&& <StyledNavLink to={`${basePath}/signverify`}><FormattedMessage {...l10nMessages.TR_SIGN_AND_VERIFY} /></StyledNavLink>
&& <StyledNavLink to={`${basePath}/signverify`}><FormattedMessage {...l10nMessages.TR_NAV_SIGN_AND_VERIFY} /></StyledNavLink>
}
<Indicator pathname={pathname} wrapper={() => this.state.wrapper} />
</Wrapper>

View File

@ -3,19 +3,19 @@ import { defineMessages } from 'react-intl';
import type { Messages } from 'flowtype/npm/react-intl';
const definedMessages: Messages = defineMessages({
TR_SUMMARY: {
TR_NAV_SUMMARY: {
id: 'TR_SUMMARY',
defaultMessage: 'Summary',
},
TR_RECEIVE: {
TR_NAV_RECEIVE: {
id: 'TR_RECEIVE',
defaultMessage: 'Receive',
},
TR_SEND: {
TR_NAV_SEND: {
id: 'TR_SEND',
defaultMessage: 'Send',
},
TR_SIGN_AND_VERIFY: {
TR_NAV_SIGN_AND_VERIFY: {
id: 'TR_SIGN_AND_VERIFY',
defaultMessage: 'Sign & Verify',
},