diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-02-20 17:17:36 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-02-20 17:17:36 +0100 |
commit | a4e6966241d418b8df05ddd7fc5556ce3c6c97af (patch) | |
tree | eb83652a64c128abd715c2ed7a33546ab6174385 /src/webex/pages/confirm-contract.tsx | |
parent | 0ad2935a1f6436d62251f30e826c9c78bfd49525 (diff) | |
download | wallet-core-a4e6966241d418b8df05ddd7fc5556ce3c6c97af.tar.xz |
i18n fixes
Diffstat (limited to 'src/webex/pages/confirm-contract.tsx')
-rw-r--r-- | src/webex/pages/confirm-contract.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/webex/pages/confirm-contract.tsx b/src/webex/pages/confirm-contract.tsx index b851bf1d2..0aaed4837 100644 --- a/src/webex/pages/confirm-contract.tsx +++ b/src/webex/pages/confirm-contract.tsx @@ -84,7 +84,7 @@ class Details extends React.Component<DetailProps, DetailState> { <div> <button className="linky" onClick={() => this.setState({collapsed: true} as any)}> - show less details + i18n.str`show fewer details` </button> <div> {i18n.str`Accepted exchanges:`} @@ -338,7 +338,7 @@ class ContractPrompt extends React.Component<ContractPromptProps, ContractPrompt <div> {(this.state.alreadyPaid ? <p className="okaybox"> - You already paid for this, clicking "Confirm payment" will not cost money again. + {i18n.str`You already paid for this, clicking "Confirm payment" will not cost money again.`} </p> : <p />)} {(this.state.checkPayError ? <p className="errorbox">{this.state.checkPayError}</p> : <p />)} @@ -352,15 +352,15 @@ class ContractPrompt extends React.Component<ContractPromptProps, ContractPrompt <p>There was an error paying (attempt #{this.state.payAttempt}):</p> <pre>{JSON.stringify(this.state.confirmPayError)}</pre> { this.state.abortStarted - ? <span>Aborting payment ...</span> + ? <span>{i18n.str`Aborting payment ...`}</span> : this.state.abortDone - ? <span>Payment aborted!</span> + ? <span>{i18n.str`Payment aborted!`}</span> : <> <button className="pure-button" onClick={() => this.doPayment()}> - Retry Payment + {i18n.str`Retry Payment`} </button> <button className="pure-button" onClick={() => this.abortPayment()}> - Abort Payment + {i18n.str`Abort Payment`} </button> </> } |