diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-23 01:14:45 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-23 01:14:45 +0100 |
commit | 7731ddd098d48fc54cd86b72d432493fe75399e4 (patch) | |
tree | 152f894ff2cca0fbc0581aca9612795c3ead075c /src/pages/confirm-contract.tsx | |
parent | 4000b3ae76b0a0ae137088cf2c718d924f3068bc (diff) |
translations
Diffstat (limited to 'src/pages/confirm-contract.tsx')
-rw-r--r-- | src/pages/confirm-contract.tsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/pages/confirm-contract.tsx b/src/pages/confirm-contract.tsx index 238ae2fb5..2ce3b0616 100644 --- a/src/pages/confirm-contract.tsx +++ b/src/pages/confirm-contract.tsx @@ -58,7 +58,9 @@ class Details extends React.Component<DetailProps, DetailState> { <div> <button className="linky" onClick={() => { this.setState({collapsed: false} as any)}}> + <i18n.Translate wrap="span"> show more details + </i18n.Translate> </button> </div> ); @@ -70,12 +72,12 @@ class Details extends React.Component<DetailProps, DetailState> { show less details </button> <div> - Accepted exchanges: + {i18n`Accepted exchanges:`} <ul> {this.props.contract.exchanges.map( e => <li>{`${e.url}: ${e.master_pub}`}</li>)} </ul> - Exchanges in the wallet: + {i18n`Exchanges in the wallet:`} <ul> {(this.props.exchanges || []).map( (e: ExchangeRecord) => @@ -152,8 +154,7 @@ class ContractPrompt extends React.Component<ContractPromptProps, ContractPrompt switch (resp.error) { case "coins-insufficient": let msgInsufficient = i18n`You have insufficient funds of the requested currency in your wallet.`; - let msgNoMatch = i18n`You do not have any funds from an exchange that is accepted by this merchant. - None of the exchanges accepted by the merchant is known to your wallet.`; + let msgNoMatch = i18n`You do not have any funds from an exchange that is accepted by this merchant. None of the exchanges accepted by the merchant is known to your wallet.`; if (this.state.exchanges && this.state.offer) { let acceptedExchangePubs = this.state.offer.contract.exchanges.map((e) => e.master_pub); let ex = this.state.exchanges.find((e) => acceptedExchangePubs.indexOf(e.masterPublicKey) >= 0); |