more i18n/spacing fixes
This commit is contained in:
parent
66d05038fd
commit
89815175a0
6
node_modules/pogen/pogen.js
generated
vendored
6
node_modules/pogen/pogen.js
generated
vendored
@ -190,6 +190,12 @@ function processFile(sourceFile) {
|
||||
var e = childNode;
|
||||
var s = e.getFullText();
|
||||
var t = s.split("\n").map(trim).join(" ");
|
||||
if (s[0] === " ") {
|
||||
t = " " + t;
|
||||
}
|
||||
if (s[s.length - 1] === " ") {
|
||||
t = t + " ";
|
||||
}
|
||||
fragments.push(t);
|
||||
}
|
||||
case ts.SyntaxKind.JsxOpeningElement:
|
||||
|
@ -44,6 +44,7 @@ if (!strings[lang]) {
|
||||
const jed = new jedLib.Jed(strings[lang]);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Convert template strings to a msgid
|
||||
*/
|
||||
|
@ -103,7 +103,7 @@ msgstr "Der Händler %1$s möchte einen Vertrag über %2$s mit Ihnen abschließe
|
||||
msgid "The total price is %1$s (plus %2$s fees)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-contract.tsx:385
|
||||
#: src/webex/pages/confirm-contract.tsx:384
|
||||
#, c-format
|
||||
msgid "The total price is %1$s."
|
||||
msgstr ""
|
||||
@ -162,16 +162,16 @@ msgstr ""
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:279
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Your wallet (protocol version%1$s) might be outdated.%2$s The exchange has a "
|
||||
"higher, incompatible protocol version (%3$s)."
|
||||
"Your wallet (protocol version %1$s) might be outdated.%2$s The exchange has "
|
||||
"a higher, incompatible protocol version (%3$s)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:290
|
||||
#, c-format
|
||||
msgid ""
|
||||
"The chosen exchange (protocol version%1$smight be outdated.%2$s The exchange "
|
||||
"has a lower, incompatible protocol version than your wallet (protocol version"
|
||||
"%3$s)."
|
||||
"The chosen exchange (protocol version %1$s might be outdated.%2$s The "
|
||||
"exchange has a lower, incompatible protocol version than your wallet "
|
||||
"(protocol version %3$s)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:309
|
||||
|
@ -103,7 +103,7 @@ msgstr ""
|
||||
msgid "The total price is %1$s (plus %2$s fees)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-contract.tsx:385
|
||||
#: src/webex/pages/confirm-contract.tsx:384
|
||||
#, c-format
|
||||
msgid "The total price is %1$s."
|
||||
msgstr ""
|
||||
@ -162,16 +162,16 @@ msgstr ""
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:279
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Your wallet (protocol version%1$s) might be outdated.%2$s The exchange has a "
|
||||
"higher, incompatible protocol version (%3$s)."
|
||||
"Your wallet (protocol version %1$s) might be outdated.%2$s The exchange has "
|
||||
"a higher, incompatible protocol version (%3$s)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:290
|
||||
#, c-format
|
||||
msgid ""
|
||||
"The chosen exchange (protocol version%1$smight be outdated.%2$s The exchange "
|
||||
"has a lower, incompatible protocol version than your wallet (protocol version"
|
||||
"%3$s)."
|
||||
"The chosen exchange (protocol version %1$s might be outdated.%2$s The "
|
||||
"exchange has a lower, incompatible protocol version than your wallet "
|
||||
"(protocol version %3$s)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:309
|
||||
|
@ -103,7 +103,7 @@ msgstr ""
|
||||
msgid "The total price is %1$s (plus %2$s fees)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-contract.tsx:385
|
||||
#: src/webex/pages/confirm-contract.tsx:384
|
||||
#, c-format
|
||||
msgid "The total price is %1$s."
|
||||
msgstr ""
|
||||
@ -162,16 +162,16 @@ msgstr ""
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:279
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Your wallet (protocol version%1$s) might be outdated.%2$s The exchange has a "
|
||||
"higher, incompatible protocol version (%3$s)."
|
||||
"Your wallet (protocol version %1$s) might be outdated.%2$s The exchange has "
|
||||
"a higher, incompatible protocol version (%3$s)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:290
|
||||
#, c-format
|
||||
msgid ""
|
||||
"The chosen exchange (protocol version%1$smight be outdated.%2$s The exchange "
|
||||
"has a lower, incompatible protocol version than your wallet (protocol version"
|
||||
"%3$s)."
|
||||
"The chosen exchange (protocol version %1$s might be outdated.%2$s The "
|
||||
"exchange has a lower, incompatible protocol version than your wallet "
|
||||
"(protocol version %3$s)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:309
|
||||
|
@ -103,7 +103,7 @@ msgstr ""
|
||||
msgid "The total price is %1$s (plus %2$s fees)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-contract.tsx:385
|
||||
#: src/webex/pages/confirm-contract.tsx:384
|
||||
#, c-format
|
||||
msgid "The total price is %1$s."
|
||||
msgstr ""
|
||||
@ -162,16 +162,16 @@ msgstr ""
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:279
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Your wallet (protocol version%1$s) might be outdated.%2$s The exchange has a "
|
||||
"higher, incompatible protocol version (%3$s)."
|
||||
"Your wallet (protocol version %1$s) might be outdated.%2$s The exchange has "
|
||||
"a higher, incompatible protocol version (%3$s)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:290
|
||||
#, c-format
|
||||
msgid ""
|
||||
"The chosen exchange (protocol version%1$smight be outdated.%2$s The exchange "
|
||||
"has a lower, incompatible protocol version than your wallet (protocol version"
|
||||
"%3$s)."
|
||||
"The chosen exchange (protocol version %1$s might be outdated.%2$s The "
|
||||
"exchange has a lower, incompatible protocol version than your wallet "
|
||||
"(protocol version %3$s)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:309
|
||||
|
@ -1033,7 +1033,7 @@ strings['sv'] = {
|
||||
""
|
||||
],
|
||||
"Your wallet (protocol version %1$s) might be outdated.%2$s The exchange has a higher, incompatible protocol version (%3$s).": [
|
||||
""
|
||||
"tjänsteleverantörer plånboken"
|
||||
],
|
||||
"The chosen exchange (protocol version %1$s might be outdated.%2$s The exchange has a lower, incompatible protocol version than your wallet (protocol version %3$s).": [
|
||||
"tjänsteleverantörer plånboken"
|
||||
|
@ -105,7 +105,7 @@ msgstr "Säljaren %1$serbjuder följande:"
|
||||
msgid "The total price is %1$s (plus %2$s fees)."
|
||||
msgstr "Det totala priset är %1$s (plus %2$s avgifter).\n"
|
||||
|
||||
#: src/webex/pages/confirm-contract.tsx:385
|
||||
#: src/webex/pages/confirm-contract.tsx:384
|
||||
#, fuzzy, c-format
|
||||
msgid "The total price is %1$s."
|
||||
msgstr "Det totala priset är %1$s."
|
||||
@ -162,18 +162,18 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:279
|
||||
#, c-format
|
||||
#, fuzzy, c-format
|
||||
msgid ""
|
||||
"Your wallet (protocol version%1$s) might be outdated.%2$s The exchange has a "
|
||||
"higher, incompatible protocol version (%3$s)."
|
||||
msgstr ""
|
||||
"Your wallet (protocol version %1$s) might be outdated.%2$s The exchange has "
|
||||
"a higher, incompatible protocol version (%3$s)."
|
||||
msgstr "tjänsteleverantörer plånboken"
|
||||
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:290
|
||||
#, fuzzy, c-format
|
||||
msgid ""
|
||||
"The chosen exchange (protocol version%1$smight be outdated.%2$s The exchange "
|
||||
"has a lower, incompatible protocol version than your wallet (protocol version"
|
||||
"%3$s)."
|
||||
"The chosen exchange (protocol version %1$s might be outdated.%2$s The "
|
||||
"exchange has a lower, incompatible protocol version than your wallet "
|
||||
"(protocol version %3$s)."
|
||||
msgstr "tjänsteleverantörer plånboken"
|
||||
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:309
|
||||
|
@ -103,7 +103,7 @@ msgstr ""
|
||||
msgid "The total price is %1$s (plus %2$s fees)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-contract.tsx:385
|
||||
#: src/webex/pages/confirm-contract.tsx:384
|
||||
#, c-format
|
||||
msgid "The total price is %1$s."
|
||||
msgstr ""
|
||||
@ -162,16 +162,16 @@ msgstr ""
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:279
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Your wallet (protocol version%1$s) might be outdated.%2$s The exchange has a "
|
||||
"higher, incompatible protocol version (%3$s)."
|
||||
"Your wallet (protocol version %1$s) might be outdated.%2$s The exchange has "
|
||||
"a higher, incompatible protocol version (%3$s)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:290
|
||||
#, c-format
|
||||
msgid ""
|
||||
"The chosen exchange (protocol version%1$smight be outdated.%2$s The exchange "
|
||||
"has a lower, incompatible protocol version than your wallet (protocol version"
|
||||
"%3$s)."
|
||||
"The chosen exchange (protocol version %1$s might be outdated.%2$s The "
|
||||
"exchange has a lower, incompatible protocol version than your wallet "
|
||||
"(protocol version %3$s)."
|
||||
msgstr ""
|
||||
|
||||
#: src/webex/pages/confirm-create-reserve.tsx:309
|
||||
|
@ -370,7 +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,8 +379,7 @@ class ContractPrompt extends React.Component<ContractPromptProps, ContractPrompt
|
||||
{products}
|
||||
{(this.state.payStatus && this.state.payStatus.coinSelection)
|
||||
? <i18n.Translate wrap="p">
|
||||
The total price is <span>{amount} </span>
|
||||
(plus <span>{renderAmount(this.state.payStatus.coinSelection.totalFees)}</span> fees).
|
||||
The total price is <span>{amount} </span> (plus <span>{renderAmount(this.state.payStatus.coinSelection.totalFees)}</span> fees).
|
||||
</i18n.Translate>
|
||||
:
|
||||
<i18n.Translate wrap="p">The total price is <span>{amount}</span>.</i18n.Translate>
|
||||
|
@ -190,6 +190,12 @@ function processFile(sourceFile) {
|
||||
var e = childNode;
|
||||
var s = e.getFullText();
|
||||
var t = s.split("\n").map(trim).join(" ");
|
||||
if (s[0] === " ") {
|
||||
t = " " + t;
|
||||
}
|
||||
if (s[s.length - 1] === " ") {
|
||||
t = t + " ";
|
||||
}
|
||||
fragments.push(t);
|
||||
}
|
||||
case ts.SyntaxKind.JsxOpeningElement:
|
||||
|
@ -213,6 +213,12 @@ export function processFile(sourceFile: ts.SourceFile) {
|
||||
let e = childNode as ts.JsxText;
|
||||
let s = e.getFullText();
|
||||
let t = s.split("\n").map(trim).join(" ");
|
||||
if (s[0] === " ") {
|
||||
t = " " + t;
|
||||
}
|
||||
if (s[s.length - 1] === " ") {
|
||||
t = t + " ";
|
||||
}
|
||||
fragments.push(t);
|
||||
}
|
||||
case ts.SyntaxKind.JsxOpeningElement:
|
||||
|
Loading…
Reference in New Issue
Block a user