mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-12 09:00:58 +00:00
add translations
This commit is contained in:
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…
Reference in New Issue
Block a user