aboutsummaryrefslogtreecommitdiff
path: root/src/webex/pages
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-02-22 08:58:48 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-02-22 08:58:48 +0100
commitf4d39c10e56a9ad1737dcdf290e31095ad66b7ee (patch)
tree7339286df95be331fd0baf2ed17fc3b6b5bbc58e /src/webex/pages
parenta4e6966241d418b8df05ddd7fc5556ce3c6c97af (diff)
downloadwallet-core-f4d39c10e56a9ad1737dcdf290e31095ad66b7ee.tar.xz
Swedish translation, i18n fixes
Diffstat (limited to 'src/webex/pages')
-rw-r--r--src/webex/pages/confirm-contract.tsx11
-rw-r--r--src/webex/pages/confirm-create-reserve.tsx16
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>