fix history rendering issue caused by i18n
This commit is contained in:
parent
0305b2c2f7
commit
4955454440
@ -266,12 +266,12 @@ msgstr "Bank bestätig anlegen der Reserve (%1$s) bei %2$s"
|
|||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Started to withdraw\n"
|
"Started to withdraw\n"
|
||||||
" %1$s from%2$s(%3$s).\n"
|
" %1$s%2$sfrom%3$s(%4$s).\n"
|
||||||
msgstr "Reserve (%1$s) mit %2$s bei %3$s erzeugt"
|
msgstr "Reserve (%1$s) mit %2$s bei %3$s erzeugt"
|
||||||
|
|
||||||
#: src/webex/pages/popup.tsx:368
|
#: src/webex/pages/popup.tsx:368
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "Merchant%1$soffered contract%2$s.\n"
|
msgid "Merchant%1$soffered%2$scontract%3$s.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"%1$s\n"
|
"%1$s\n"
|
||||||
" möchte einen Vertrag über %2$s\n"
|
" möchte einen Vertrag über %2$s\n"
|
||||||
@ -286,7 +286,7 @@ msgstr "Reserve (%1$s) mit %2$s bei %3$s erzeugt"
|
|||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Paid%1$sto merchant%2$s.\n"
|
"Paid%1$sto merchant%2$s.\n"
|
||||||
" (%3$s)\n"
|
"%3$s(%4$s)\n"
|
||||||
msgstr "Reserve (%1$s) mit %2$s bei %3$s erzeugt"
|
msgstr "Reserve (%1$s) mit %2$s bei %3$s erzeugt"
|
||||||
|
|
||||||
#: src/webex/pages/popup.tsx:399
|
#: src/webex/pages/popup.tsx:399
|
||||||
|
@ -266,12 +266,12 @@ msgstr ""
|
|||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Started to withdraw\n"
|
"Started to withdraw\n"
|
||||||
" %1$s from%2$s(%3$s).\n"
|
" %1$s%2$sfrom%3$s(%4$s).\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/webex/pages/popup.tsx:368
|
#: src/webex/pages/popup.tsx:368
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Merchant%1$soffered contract%2$s.\n"
|
msgid "Merchant%1$soffered%2$scontract%3$s.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/webex/pages/popup.tsx:379
|
#: src/webex/pages/popup.tsx:379
|
||||||
@ -283,7 +283,7 @@ msgstr ""
|
|||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Paid%1$sto merchant%2$s.\n"
|
"Paid%1$sto merchant%2$s.\n"
|
||||||
" (%3$s)\n"
|
"%3$s(%4$s)\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/webex/pages/popup.tsx:399
|
#: src/webex/pages/popup.tsx:399
|
||||||
|
@ -266,12 +266,12 @@ msgstr ""
|
|||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Started to withdraw\n"
|
"Started to withdraw\n"
|
||||||
" %1$s from%2$s(%3$s).\n"
|
" %1$s%2$sfrom%3$s(%4$s).\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/webex/pages/popup.tsx:368
|
#: src/webex/pages/popup.tsx:368
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Merchant%1$soffered contract%2$s.\n"
|
msgid "Merchant%1$soffered%2$scontract%3$s.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/webex/pages/popup.tsx:379
|
#: src/webex/pages/popup.tsx:379
|
||||||
@ -283,7 +283,7 @@ msgstr ""
|
|||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Paid%1$sto merchant%2$s.\n"
|
"Paid%1$sto merchant%2$s.\n"
|
||||||
" (%3$s)\n"
|
"%3$s(%4$s)\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/webex/pages/popup.tsx:399
|
#: src/webex/pages/popup.tsx:399
|
||||||
|
@ -266,12 +266,12 @@ msgstr ""
|
|||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Started to withdraw\n"
|
"Started to withdraw\n"
|
||||||
" %1$s from%2$s(%3$s).\n"
|
" %1$s%2$sfrom%3$s(%4$s).\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/webex/pages/popup.tsx:368
|
#: src/webex/pages/popup.tsx:368
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Merchant%1$soffered contract%2$s.\n"
|
msgid "Merchant%1$soffered%2$scontract%3$s.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/webex/pages/popup.tsx:379
|
#: src/webex/pages/popup.tsx:379
|
||||||
@ -283,7 +283,7 @@ msgstr ""
|
|||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Paid%1$sto merchant%2$s.\n"
|
"Paid%1$sto merchant%2$s.\n"
|
||||||
" (%3$s)\n"
|
"%3$s(%4$s)\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/webex/pages/popup.tsx:399
|
#: src/webex/pages/popup.tsx:399
|
||||||
|
@ -153,16 +153,16 @@ strings['de'] = {
|
|||||||
"Bank requested reserve (%1$s) for\n %2$s.\n": [
|
"Bank requested reserve (%1$s) for\n %2$s.\n": [
|
||||||
"Bank bestätig anlegen der Reserve (%1$s) bei %2$s"
|
"Bank bestätig anlegen der Reserve (%1$s) bei %2$s"
|
||||||
],
|
],
|
||||||
"Started to withdraw\n %1$s from%2$s(%3$s).\n": [
|
"Started to withdraw\n %1$s%2$sfrom%3$s(%4$s).\n": [
|
||||||
"Reserve (%1$s) mit %2$s bei %3$s erzeugt"
|
"Reserve (%1$s) mit %2$s bei %3$s erzeugt"
|
||||||
],
|
],
|
||||||
"Merchant%1$soffered contract%2$s.\n": [
|
"Merchant%1$soffered%2$scontract%3$s.\n": [
|
||||||
"%1$s\n möchte einen Vertrag über %2$s\n mit Ihnen abschließen."
|
"%1$s\n möchte einen Vertrag über %2$s\n mit Ihnen abschließen."
|
||||||
],
|
],
|
||||||
"Withdrew%1$sfrom%2$s(%3$s).\n": [
|
"Withdrew%1$sfrom%2$s(%3$s).\n": [
|
||||||
"Reserve (%1$s) mit %2$s bei %3$s erzeugt"
|
"Reserve (%1$s) mit %2$s bei %3$s erzeugt"
|
||||||
],
|
],
|
||||||
"Paid%1$sto merchant%2$s.\n (%3$s)\n": [
|
"Paid%1$sto merchant%2$s.\n%3$s(%4$s)\n": [
|
||||||
"Reserve (%1$s) mit %2$s bei %3$s erzeugt"
|
"Reserve (%1$s) mit %2$s bei %3$s erzeugt"
|
||||||
],
|
],
|
||||||
"Merchant%1$sgave a refund over%2$s.\n": [
|
"Merchant%1$sgave a refund over%2$s.\n": [
|
||||||
@ -339,16 +339,16 @@ strings['en-US'] = {
|
|||||||
"Bank requested reserve (%1$s) for\n %2$s.\n": [
|
"Bank requested reserve (%1$s) for\n %2$s.\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Started to withdraw\n %1$s from%2$s(%3$s).\n": [
|
"Started to withdraw\n %1$s%2$sfrom%3$s(%4$s).\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Merchant%1$soffered contract%2$s.\n": [
|
"Merchant%1$soffered%2$scontract%3$s.\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Withdrew%1$sfrom%2$s(%3$s).\n": [
|
"Withdrew%1$sfrom%2$s(%3$s).\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Paid%1$sto merchant%2$s.\n (%3$s)\n": [
|
"Paid%1$sto merchant%2$s.\n%3$s(%4$s)\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Merchant%1$sgave a refund over%2$s.\n": [
|
"Merchant%1$sgave a refund over%2$s.\n": [
|
||||||
@ -525,16 +525,16 @@ strings['fr'] = {
|
|||||||
"Bank requested reserve (%1$s) for\n %2$s.\n": [
|
"Bank requested reserve (%1$s) for\n %2$s.\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Started to withdraw\n %1$s from%2$s(%3$s).\n": [
|
"Started to withdraw\n %1$s%2$sfrom%3$s(%4$s).\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Merchant%1$soffered contract%2$s.\n": [
|
"Merchant%1$soffered%2$scontract%3$s.\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Withdrew%1$sfrom%2$s(%3$s).\n": [
|
"Withdrew%1$sfrom%2$s(%3$s).\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Paid%1$sto merchant%2$s.\n (%3$s)\n": [
|
"Paid%1$sto merchant%2$s.\n%3$s(%4$s)\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Merchant%1$sgave a refund over%2$s.\n": [
|
"Merchant%1$sgave a refund over%2$s.\n": [
|
||||||
@ -711,16 +711,16 @@ strings['it'] = {
|
|||||||
"Bank requested reserve (%1$s) for\n %2$s.\n": [
|
"Bank requested reserve (%1$s) for\n %2$s.\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Started to withdraw\n %1$s from%2$s(%3$s).\n": [
|
"Started to withdraw\n %1$s%2$sfrom%3$s(%4$s).\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Merchant%1$soffered contract%2$s.\n": [
|
"Merchant%1$soffered%2$scontract%3$s.\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Withdrew%1$sfrom%2$s(%3$s).\n": [
|
"Withdrew%1$sfrom%2$s(%3$s).\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Paid%1$sto merchant%2$s.\n (%3$s)\n": [
|
"Paid%1$sto merchant%2$s.\n%3$s(%4$s)\n": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Merchant%1$sgave a refund over%2$s.\n": [
|
"Merchant%1$sgave a refund over%2$s.\n": [
|
||||||
|
@ -266,12 +266,12 @@ msgstr ""
|
|||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Started to withdraw\n"
|
"Started to withdraw\n"
|
||||||
" %1$s from%2$s(%3$s).\n"
|
" %1$s%2$sfrom%3$s(%4$s).\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/webex/pages/popup.tsx:368
|
#: src/webex/pages/popup.tsx:368
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Merchant%1$soffered contract%2$s.\n"
|
msgid "Merchant%1$soffered%2$scontract%3$s.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/webex/pages/popup.tsx:379
|
#: src/webex/pages/popup.tsx:379
|
||||||
@ -283,7 +283,7 @@ msgstr ""
|
|||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Paid%1$sto merchant%2$s.\n"
|
"Paid%1$sto merchant%2$s.\n"
|
||||||
" (%3$s)\n"
|
"%3$s(%4$s)\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/webex/pages/popup.tsx:399
|
#: src/webex/pages/popup.tsx:399
|
||||||
|
@ -358,7 +358,7 @@ function formatHistoryItem(historyItem: HistoryRecord) {
|
|||||||
return (
|
return (
|
||||||
<i18n.Translate wrap="p">
|
<i18n.Translate wrap="p">
|
||||||
Started to withdraw
|
Started to withdraw
|
||||||
{" "}{renderAmount(d.requestedAmount)}{" "}
|
{" "}{renderAmount(d.requestedAmount)}<span> </span>
|
||||||
from <span>{exchange}</span> (<span>{pub}</span>).
|
from <span>{exchange}</span> (<span>{pub}</span>).
|
||||||
</i18n.Translate>
|
</i18n.Translate>
|
||||||
);
|
);
|
||||||
@ -367,7 +367,7 @@ function formatHistoryItem(historyItem: HistoryRecord) {
|
|||||||
const link = chrome.extension.getURL("view-contract.html");
|
const link = chrome.extension.getURL("view-contract.html");
|
||||||
return (
|
return (
|
||||||
<i18n.Translate wrap="p">
|
<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>.
|
contract <a href={link}>{abbrev(d.contractTermsHash)}</a>.
|
||||||
</i18n.Translate>
|
</i18n.Translate>
|
||||||
);
|
);
|
||||||
@ -389,7 +389,7 @@ function formatHistoryItem(historyItem: HistoryRecord) {
|
|||||||
return (
|
return (
|
||||||
<i18n.Translate wrap="p">
|
<i18n.Translate wrap="p">
|
||||||
Paid <span>{renderAmount(d.amount)}</span> to merchant <span>{merchantElem}</span>.
|
Paid <span>{renderAmount(d.amount)}</span> to merchant <span>{merchantElem}</span>.
|
||||||
{" "}
|
<span> </span>
|
||||||
(<span>{fulfillmentLinkElem}</span>)
|
(<span>{fulfillmentLinkElem}</span>)
|
||||||
</i18n.Translate>
|
</i18n.Translate>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user