add translations

pull/513/head
Vladimir Volek 5 years ago
parent 97f372fe01
commit bbabdca732

@ -122,8 +122,18 @@ class CoinMenu extends PureComponent<Props> {
{this.isMenuEmpty() && (
<Empty>
<Gray>
Select a coin in{' '}
<StyledLinkEmpty to="/settings"> application settings</StyledLinkEmpty>
<FormattedMessage
{...l10nMessages.TR_SELECT_COINS}
values={{
TR_SELECT_COINS_LINK: (
<StyledLinkEmpty to="/settings">
<FormattedMessage
{...l10nMessages.TR_SELECT_COINS_LINK}
/>
</StyledLinkEmpty>
),
}}
/>{' '}
</Gray>
</Empty>
)}

@ -7,6 +7,15 @@ const definedMessages: Messages = defineMessages({
id: 'TR_OTHER_COINS',
defaultMessage: 'Other coins',
},
TR_SELECT_COINS: {
id: 'TR_SELECT_COINS',
description: 'COMPLETE SENTENCE: Select a coin in application settings',
defaultMessage: 'Select a coin in {TR_SELECT_COINS_LINK}',
},
TR_SELECT_COINS_LINK: {
id: 'TR_SELECT_COINS_LINK',
defaultMessage: 'application settings',
},
});
export default definedMessages;

Loading…
Cancel
Save