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-create-reserve.tsx | |
parent | 0ad2935a1f6436d62251f30e826c9c78bfd49525 (diff) |
i18n fixes
Diffstat (limited to 'src/webex/pages/confirm-create-reserve.tsx')
-rw-r--r-- | src/webex/pages/confirm-create-reserve.tsx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/webex/pages/confirm-create-reserve.tsx b/src/webex/pages/confirm-create-reserve.tsx index d83c56665..3c5bb5752 100644 --- a/src/webex/pages/confirm-create-reserve.tsx +++ b/src/webex/pages/confirm-create-reserve.tsx @@ -278,18 +278,22 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> { if (rci.versionMatch.currentCmp === -1) { return ( <p className="errorbox"> + <i18n.Translate wrap="span"> Your wallet (protocol version <span>{rci.walletVersion}</span>) might be outdated.<span> </span> The exchange has a higher, incompatible protocol version (<span>{rci.exchangeVersion}</span>). + </i18n.Translate> </p> ); } if (rci.versionMatch.currentCmp === 1) { return ( <p className="errorbox"> + <i18n.Translate wrap="span"> The chosen exchange (protocol version <span>{rci.exchangeVersion}</span> might be outdated.<span> </span> The exchange has a lower, incompatible protocol version than your wallet (protocol version <span>{rci.walletVersion}</span>). + </i18n.Translate> </p> ); } @@ -330,13 +334,15 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> { console.log(exchanges); return ( <div> - Please select an exchange. You can review the details before after your selection. + i18n.str`Please select an exchange. You can review the details before after your selection.` {this.props.suggestedExchangeUrl && ( <div> <h2>Bank Suggestion</h2> <button className="pure-button button-success" onClick={() => this.select(this.props.suggestedExchangeUrl)}> + <i18n.Translate wrap="span"> Select <strong>{this.props.suggestedExchangeUrl}</strong> + </i18n.Translate> </button> </div> )} @@ -352,7 +358,7 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> { </div> )} - <h2>Manual Selection</h2> + <h2>i18n.str`Manual Selection`</h2> <ManualSelection initialUrl={this.url() || ""} onSelect={(url: string) => this.select(url)} /> </div> ); |