aboutsummaryrefslogtreecommitdiff
path: root/src/webex/pages/popup.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-10-17 12:06:47 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-10-17 12:06:47 +0200
commit4955454440079f3beeaf0cbb7fb8bf82c113b231 (patch)
treea0b3585110813d043aef8267adabb30cd2e12c95 /src/webex/pages/popup.tsx
parent0305b2c2f7fa2bac0a778629428f8eac195f11d9 (diff)
downloadwallet-core-4955454440079f3beeaf0cbb7fb8bf82c113b231.tar.xz
fix history rendering issue caused by i18n
Diffstat (limited to 'src/webex/pages/popup.tsx')
-rw-r--r--src/webex/pages/popup.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webex/pages/popup.tsx b/src/webex/pages/popup.tsx
index 9c012449c..76fa79a19 100644
--- a/src/webex/pages/popup.tsx
+++ b/src/webex/pages/popup.tsx
@@ -358,7 +358,7 @@ function formatHistoryItem(historyItem: HistoryRecord) {
return (
<i18n.Translate wrap="p">
Started to withdraw
- {" "}{renderAmount(d.requestedAmount)}{" "}
+ {" "}{renderAmount(d.requestedAmount)}<span> </span>
from <span>{exchange}</span> (<span>{pub}</span>).
</i18n.Translate>
);
@@ -367,7 +367,7 @@ function formatHistoryItem(historyItem: HistoryRecord) {
const link = chrome.extension.getURL("view-contract.html");
return (
<i18n.Translate wrap="p">
- Merchant <em>{abbrev(d.merchantName, 15)}</em> offered{" "}
+ Merchant <em>{abbrev(d.merchantName, 15)}</em> offered<span> </span>
contract <a href={link}>{abbrev(d.contractTermsHash)}</a>.
</i18n.Translate>
);
@@ -389,7 +389,7 @@ function formatHistoryItem(historyItem: HistoryRecord) {
return (
<i18n.Translate wrap="p">
Paid <span>{renderAmount(d.amount)}</span> to merchant <span>{merchantElem}</span>.
- {" "}
+ <span> </span>
(<span>{fulfillmentLinkElem}</span>)
</i18n.Translate>
);