diff options
Diffstat (limited to 'src/webex')
-rw-r--r-- | src/webex/pages/confirm-contract.tsx | 11 | ||||
-rw-r--r-- | src/webex/pages/confirm-create-reserve.tsx | 16 |
2 files changed, 14 insertions, 13 deletions
diff --git a/src/webex/pages/confirm-contract.tsx b/src/webex/pages/confirm-contract.tsx index 0aaed4837..24e08aec8 100644 --- a/src/webex/pages/confirm-contract.tsx +++ b/src/webex/pages/confirm-contract.tsx @@ -370,8 +370,7 @@ class ContractPrompt extends React.Component<ContractPromptProps, ContractPrompt return ( <div> <i18n.Translate wrap="p"> - The merchant <span>{merchantName}</span> {" "} - offers you to purchase: + The merchant <span>{merchantName} </span> offers you to purchase: </i18n.Translate> <div style={{"text-align": "center"}}> <strong>{c.summary}</strong> @@ -379,12 +378,12 @@ class ContractPrompt extends React.Component<ContractPromptProps, ContractPrompt <strong></strong> {products} {(this.state.payStatus && this.state.payStatus.coinSelection) - ? <p> - The total price is <span>{amount}</span>{" "} + ? <i18n.Translate wrap="p"> + The total price is <span>{amount} </span> (plus <span>{renderAmount(this.state.payStatus.coinSelection.totalFees)}</span> fees). - </p> + </i18n.Translate> : - <p>The total price is <span>{amount}</span>.</p> + <i18n.Translate wrap="p">The total price is <span>{amount}</span>.</i18n.Translate> } { this.state.confirmPayError ? PayErrorDialog() diff --git a/src/webex/pages/confirm-create-reserve.tsx b/src/webex/pages/confirm-create-reserve.tsx index 3c5bb5752..7a754374e 100644 --- a/src/webex/pages/confirm-create-reserve.tsx +++ b/src/webex/pages/confirm-create-reserve.tsx @@ -231,9 +231,9 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> { <i18n.Translate wrap="p"> Using exchange provider <strong>{this.url()}</strong>. The exchange provider will charge - {" "} + <span> </span> <span>{renderAmount(totalCost)}</span> - {" "} + <span> </span> in fees. </i18n.Translate> {trustMessage} @@ -245,7 +245,7 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> { return ( <i18n.Translate wrap="p"> Waiting for a response from - {" "} + <span> </span> <em>{shortName}</em> </i18n.Translate> ); @@ -334,7 +334,7 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> { console.log(exchanges); return ( <div> - i18n.str`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> @@ -352,7 +352,9 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> { <h2>Known Exchanges</h2> {exchanges.map((e) => ( <button key={e.baseUrl} className="pure-button button-success" onClick={() => this.select(e.baseUrl)}> - Select <strong>{e.baseUrl}</strong> + <i18n.Translate> + Select <strong>{e.baseUrl}</strong> + </i18n.Translate> </button> ))} </div> @@ -368,9 +370,9 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> { return ( <div> <i18n.Translate wrap="p"> - {"You are about to withdraw "} + You are about to withdraw <strong>{renderAmount(this.props.amount)}</strong> - {" from your bank account into your wallet."} + from your bank account into your wallet. </i18n.Translate> {this.selectingExchange() ? this.renderSelect() : this.renderConfirm()} </div> |