diff --git a/common/components/AddressBookTableRow.tsx b/common/components/AddressBookTableRow.tsx index 2804e1d6..497390e1 100644 --- a/common/components/AddressBookTableRow.tsx +++ b/common/components/AddressBookTableRow.tsx @@ -77,7 +77,9 @@ class AddressBookTableRow extends React.Component { { dropdownThreshold } = this.props; const inputClassName = `AddressInput-input ${label ? 'AddressInput-input-with-label' : ''}`; - const sendingTo = `${translateRaw('SENDING_TO')} ${label}`; + const sendingTo = label + ? translateRaw('SENDING_TO', { + $label: label + }) + : ''; const isENSAddress = currentTo.raw.includes('.eth'); /** diff --git a/common/components/ConfirmationModal/components/Body/components/Details.tsx b/common/components/ConfirmationModal/components/Body/components/Details.tsx index d83b3c16..bfa4ce06 100644 --- a/common/components/ConfirmationModal/components/Body/components/Details.tsx +++ b/common/components/ConfirmationModal/components/Body/components/Details.tsx @@ -25,9 +25,9 @@ class DetailsClass extends Component { isValid={true} showValidAsPlain={true} readOnly={true} - value={`${network} ${translateRaw('NETWORK_2')} - ${translateRaw( - 'PROVIDED_BY' - )} ${service}`} + value={`${translateRaw('NETWORK_2', { + $network: network + })} - ${translateRaw('PROVIDED_BY', { $service: service })}`} /> diff --git a/common/components/ConfirmationModal/components/Body/components/Node.tsx b/common/components/ConfirmationModal/components/Body/components/Node.tsx index 2dfe85e7..fc3231e8 100644 --- a/common/components/ConfirmationModal/components/Body/components/Node.tsx +++ b/common/components/ConfirmationModal/components/Body/components/Node.tsx @@ -14,8 +14,10 @@ class NodeClass extends Component { public render() { return (
  • - {translate('YOU_ARE_INTERACTING')} {this.props.node.network} - {translate('NETWORK')} {translate('PROVIDED_BY')} {this.props.node.service} + {translate('YOU_ARE_INTERACTING', { + $network: this.props.node.network + })} + {translate('PROVIDED_BY', { $service: this.props.node.service })}
  • ); } diff --git a/common/components/WalletDecrypt/WalletDecrypt.tsx b/common/components/WalletDecrypt/WalletDecrypt.tsx index 15b9e95c..de5a0aba 100644 --- a/common/components/WalletDecrypt/WalletDecrypt.tsx +++ b/common/components/WalletDecrypt/WalletDecrypt.tsx @@ -268,8 +268,10 @@ const WalletDecrypt = withRouter( {translate('CHANGE_WALLET')}

    - {!selectedWallet.isReadOnly && translate('UNLOCK_WALLET')}{' '} - {translate(selectedWallet.lid)} + {!selectedWallet.isReadOnly && + translate('UNLOCK_WALLET', { + $wallet: translateRaw(selectedWallet.lid) + })}