aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/crypto/nodeWorkerEntry.ts2
-rw-r--r--src/i18n.tsx2
-rw-r--r--src/i18n/de.po38
-rw-r--r--src/i18n/en-US.po35
-rw-r--r--src/i18n/fr.po35
-rw-r--r--src/i18n/it.po35
-rw-r--r--src/i18n/strings.ts84
-rw-r--r--src/i18n/taler-wallet-webex.pot35
-rw-r--r--src/query.ts2
-rw-r--r--src/webex/pages/error.tsx2
-rw-r--r--src/webex/pages/logs.tsx2
-rw-r--r--src/webex/pages/tree.tsx8
12 files changed, 268 insertions, 12 deletions
diff --git a/src/crypto/nodeWorkerEntry.ts b/src/crypto/nodeWorkerEntry.ts
index ff7f8766b..9e2647ff6 100644
--- a/src/crypto/nodeWorkerEntry.ts
+++ b/src/crypto/nodeWorkerEntry.ts
@@ -69,7 +69,7 @@ process.once("message", (obj: any) => {
}
});
- process.on("error", (err: any) => {
+ process.on("uncaughtException", (err: any) => {
(g.onerror || g.self.onerror || (() => undefined))(err);
});
diff --git a/src/i18n.tsx b/src/i18n.tsx
index 8f2c15443..437c4a6a0 100644
--- a/src/i18n.tsx
+++ b/src/i18n.tsx
@@ -112,7 +112,7 @@ interface TranslateProps {
* </Translate>
* ```
*/
-export class Translate extends React.Component<TranslateProps, void> {
+export class Translate extends React.Component<TranslateProps, {}> {
render(): JSX.Element {
const s = stringifyChildren(this.props.children);
const tr = jed.ngettext(s, s, 1).split(/%(\d+)\$s/).filter((e: any, i: number) => i % 2 === 0);
diff --git a/src/i18n/de.po b/src/i18n/de.po
index 887dc2c47..cb57219c5 100644
--- a/src/i18n/de.po
+++ b/src/i18n/de.po
@@ -296,6 +296,21 @@ msgstr ""
msgid "Your wallet has no events recorded."
msgstr "Ihre Geldbörse verzeichnet keine Vorkommnisse."
+#: src/webex/pages/return-coins.tsx:104
+#, c-format
+msgid "Wire to bank account"
+msgstr ""
+
+#: src/webex/pages/return-coins.tsx:172
+#, fuzzy, c-format
+msgid "Confirm"
+msgstr "Bezahlung bestätigen"
+
+#: src/webex/pages/return-coins.tsx:175
+#, fuzzy, c-format
+msgid "Cancel"
+msgstr "Saldo"
+
#: src/webex/renderHtml.tsx:51
#, fuzzy, c-format
msgid "The merchant%1$swants to enter a contract over%2$s with you.\n"
@@ -309,13 +324,30 @@ msgstr ""
msgid "You are about to purchase:"
msgstr "Sie sind dabei, Folgendes zu kaufen:"
+#: src/wire.ts:38
+#, c-format
+msgid "Invalid Wire"
+msgstr ""
+
+#: src/wire.ts:43 src/wire.ts:46
+#, c-format
+msgid "Invalid Test Wire Detail"
+msgstr ""
+
+#: src/wire.ts:48
+#, c-format
+msgid "Test Wire Acct #%1$s on %2$s"
+msgstr ""
+
+#: src/wire.ts:50
+#, c-format
+msgid "Unknown Wire Detail"
+msgstr ""
+
#, fuzzy
#~ msgid "Withdrawal fees: %1$s"
#~ msgstr "Abheben bei %1$s"
-#~ msgid "Confirm Payment"
-#~ msgstr "Bezahlung bestätigen"
-
#~ msgid "Wallet depleted reserve (%1$s) at %2$s"
#~ msgstr "Geldbörse hat die Reserve (%1$s) erschöpft"
diff --git a/src/i18n/en-US.po b/src/i18n/en-US.po
index ec879f580..a39c8331a 100644
--- a/src/i18n/en-US.po
+++ b/src/i18n/en-US.po
@@ -296,6 +296,21 @@ msgstr ""
msgid "Your wallet has no events recorded."
msgstr ""
+#: src/webex/pages/return-coins.tsx:104
+#, c-format
+msgid "Wire to bank account"
+msgstr ""
+
+#: src/webex/pages/return-coins.tsx:172
+#, c-format
+msgid "Confirm"
+msgstr ""
+
+#: src/webex/pages/return-coins.tsx:175
+#, c-format
+msgid "Cancel"
+msgstr ""
+
#: src/webex/renderHtml.tsx:51
#, c-format
msgid "The merchant%1$swants to enter a contract over%2$s with you.\n"
@@ -306,6 +321,26 @@ msgstr ""
msgid "You are about to purchase:"
msgstr ""
+#: src/wire.ts:38
+#, c-format
+msgid "Invalid Wire"
+msgstr ""
+
+#: src/wire.ts:43 src/wire.ts:46
+#, c-format
+msgid "Invalid Test Wire Detail"
+msgstr ""
+
+#: src/wire.ts:48
+#, c-format
+msgid "Test Wire Acct #%1$s on %2$s"
+msgstr ""
+
+#: src/wire.ts:50
+#, c-format
+msgid "Unknown Wire Detail"
+msgstr ""
+
#, fuzzy
#~ msgid "DEBUG: Your balance on %1$s is %2$s KUDO. Get more at %3$s"
#~ msgstr "DEBUG: Your balance is %2$s KUDO on %1$s. Get more at %3$s"
diff --git a/src/i18n/fr.po b/src/i18n/fr.po
index 705b1cba6..dc271a749 100644
--- a/src/i18n/fr.po
+++ b/src/i18n/fr.po
@@ -296,6 +296,21 @@ msgstr ""
msgid "Your wallet has no events recorded."
msgstr ""
+#: src/webex/pages/return-coins.tsx:104
+#, c-format
+msgid "Wire to bank account"
+msgstr ""
+
+#: src/webex/pages/return-coins.tsx:172
+#, c-format
+msgid "Confirm"
+msgstr ""
+
+#: src/webex/pages/return-coins.tsx:175
+#, c-format
+msgid "Cancel"
+msgstr ""
+
#: src/webex/renderHtml.tsx:51
#, c-format
msgid "The merchant%1$swants to enter a contract over%2$s with you.\n"
@@ -305,3 +320,23 @@ msgstr ""
#, c-format
msgid "You are about to purchase:"
msgstr ""
+
+#: src/wire.ts:38
+#, c-format
+msgid "Invalid Wire"
+msgstr ""
+
+#: src/wire.ts:43 src/wire.ts:46
+#, c-format
+msgid "Invalid Test Wire Detail"
+msgstr ""
+
+#: src/wire.ts:48
+#, c-format
+msgid "Test Wire Acct #%1$s on %2$s"
+msgstr ""
+
+#: src/wire.ts:50
+#, c-format
+msgid "Unknown Wire Detail"
+msgstr ""
diff --git a/src/i18n/it.po b/src/i18n/it.po
index 705b1cba6..dc271a749 100644
--- a/src/i18n/it.po
+++ b/src/i18n/it.po
@@ -296,6 +296,21 @@ msgstr ""
msgid "Your wallet has no events recorded."
msgstr ""
+#: src/webex/pages/return-coins.tsx:104
+#, c-format
+msgid "Wire to bank account"
+msgstr ""
+
+#: src/webex/pages/return-coins.tsx:172
+#, c-format
+msgid "Confirm"
+msgstr ""
+
+#: src/webex/pages/return-coins.tsx:175
+#, c-format
+msgid "Cancel"
+msgstr ""
+
#: src/webex/renderHtml.tsx:51
#, c-format
msgid "The merchant%1$swants to enter a contract over%2$s with you.\n"
@@ -305,3 +320,23 @@ msgstr ""
#, c-format
msgid "You are about to purchase:"
msgstr ""
+
+#: src/wire.ts:38
+#, c-format
+msgid "Invalid Wire"
+msgstr ""
+
+#: src/wire.ts:43 src/wire.ts:46
+#, c-format
+msgid "Invalid Test Wire Detail"
+msgstr ""
+
+#: src/wire.ts:48
+#, c-format
+msgid "Test Wire Acct #%1$s on %2$s"
+msgstr ""
+
+#: src/wire.ts:50
+#, c-format
+msgid "Unknown Wire Detail"
+msgstr ""
diff --git a/src/i18n/strings.ts b/src/i18n/strings.ts
index aa883403e..75672cbd3 100644
--- a/src/i18n/strings.ts
+++ b/src/i18n/strings.ts
@@ -171,11 +171,32 @@ strings['de'] = {
"Your wallet has no events recorded.": [
"Ihre Geldbörse verzeichnet keine Vorkommnisse."
],
+ "Wire to bank account": [
+ ""
+ ],
+ "Confirm": [
+ "Bezahlung bestätigen"
+ ],
+ "Cancel": [
+ "Saldo"
+ ],
"The merchant%1$swants to enter a contract over%2$s with you.\n": [
"%1$s\n möchte einen Vertrag über %2$s\n mit Ihnen abschließen."
],
"You are about to purchase:": [
"Sie sind dabei, Folgendes zu kaufen:"
+ ],
+ "Invalid Wire": [
+ ""
+ ],
+ "Invalid Test Wire Detail": [
+ ""
+ ],
+ "Test Wire Acct #%1$s on %2$s": [
+ ""
+ ],
+ "Unknown Wire Detail": [
+ ""
]
}
}
@@ -336,11 +357,32 @@ strings['en-US'] = {
"Your wallet has no events recorded.": [
""
],
+ "Wire to bank account": [
+ ""
+ ],
+ "Confirm": [
+ ""
+ ],
+ "Cancel": [
+ ""
+ ],
"The merchant%1$swants to enter a contract over%2$s with you.\n": [
""
],
"You are about to purchase:": [
""
+ ],
+ "Invalid Wire": [
+ ""
+ ],
+ "Invalid Test Wire Detail": [
+ ""
+ ],
+ "Test Wire Acct #%1$s on %2$s": [
+ ""
+ ],
+ "Unknown Wire Detail": [
+ ""
]
}
}
@@ -501,11 +543,32 @@ strings['fr'] = {
"Your wallet has no events recorded.": [
""
],
+ "Wire to bank account": [
+ ""
+ ],
+ "Confirm": [
+ ""
+ ],
+ "Cancel": [
+ ""
+ ],
"The merchant%1$swants to enter a contract over%2$s with you.\n": [
""
],
"You are about to purchase:": [
""
+ ],
+ "Invalid Wire": [
+ ""
+ ],
+ "Invalid Test Wire Detail": [
+ ""
+ ],
+ "Test Wire Acct #%1$s on %2$s": [
+ ""
+ ],
+ "Unknown Wire Detail": [
+ ""
]
}
}
@@ -666,11 +729,32 @@ strings['it'] = {
"Your wallet has no events recorded.": [
""
],
+ "Wire to bank account": [
+ ""
+ ],
+ "Confirm": [
+ ""
+ ],
+ "Cancel": [
+ ""
+ ],
"The merchant%1$swants to enter a contract over%2$s with you.\n": [
""
],
"You are about to purchase:": [
""
+ ],
+ "Invalid Wire": [
+ ""
+ ],
+ "Invalid Test Wire Detail": [
+ ""
+ ],
+ "Test Wire Acct #%1$s on %2$s": [
+ ""
+ ],
+ "Unknown Wire Detail": [
+ ""
]
}
}
diff --git a/src/i18n/taler-wallet-webex.pot b/src/i18n/taler-wallet-webex.pot
index 705b1cba6..dc271a749 100644
--- a/src/i18n/taler-wallet-webex.pot
+++ b/src/i18n/taler-wallet-webex.pot
@@ -296,6 +296,21 @@ msgstr ""
msgid "Your wallet has no events recorded."
msgstr ""
+#: src/webex/pages/return-coins.tsx:104
+#, c-format
+msgid "Wire to bank account"
+msgstr ""
+
+#: src/webex/pages/return-coins.tsx:172
+#, c-format
+msgid "Confirm"
+msgstr ""
+
+#: src/webex/pages/return-coins.tsx:175
+#, c-format
+msgid "Cancel"
+msgstr ""
+
#: src/webex/renderHtml.tsx:51
#, c-format
msgid "The merchant%1$swants to enter a contract over%2$s with you.\n"
@@ -305,3 +320,23 @@ msgstr ""
#, c-format
msgid "You are about to purchase:"
msgstr ""
+
+#: src/wire.ts:38
+#, c-format
+msgid "Invalid Wire"
+msgstr ""
+
+#: src/wire.ts:43 src/wire.ts:46
+#, c-format
+msgid "Invalid Test Wire Detail"
+msgstr ""
+
+#: src/wire.ts:48
+#, c-format
+msgid "Test Wire Acct #%1$s on %2$s"
+msgstr ""
+
+#: src/wire.ts:50
+#, c-format
+msgid "Unknown Wire Detail"
+msgstr ""
diff --git a/src/query.ts b/src/query.ts
index 9a6162807..dffff86eb 100644
--- a/src/query.ts
+++ b/src/query.ts
@@ -106,7 +106,7 @@ export interface QueryStream<T> {
/**
* Reduce the stream, resulting in a single value.
*/
- reduce<S>(f: (v: T, acc: S) => S, start?: S): Promise<S>;
+ reduce<S>(f: (v: T, acc?: S) => S, start?: S): Promise<S>;
/**
* Map each element of the stream using a function, resulting in another
diff --git a/src/webex/pages/error.tsx b/src/webex/pages/error.tsx
index 75ba990b4..e86b6cf4c 100644
--- a/src/webex/pages/error.tsx
+++ b/src/webex/pages/error.tsx
@@ -30,7 +30,7 @@ interface ErrorProps {
message: string;
}
-class ErrorView extends React.Component<ErrorProps, void> {
+class ErrorView extends React.Component<ErrorProps, { }> {
render(): JSX.Element {
return (
<div>
diff --git a/src/webex/pages/logs.tsx b/src/webex/pages/logs.tsx
index 51f2cef33..2853b2a06 100644
--- a/src/webex/pages/logs.tsx
+++ b/src/webex/pages/logs.tsx
@@ -32,7 +32,7 @@ interface LogViewProps {
log: LogEntry;
}
-class LogView extends React.Component<LogViewProps, void> {
+class LogView extends React.Component<LogViewProps, {}> {
render(): JSX.Element {
const e = this.props.log;
return (
diff --git a/src/webex/pages/tree.tsx b/src/webex/pages/tree.tsx
index ad1693fb5..2d542f01d 100644
--- a/src/webex/pages/tree.tsx
+++ b/src/webex/pages/tree.tsx
@@ -51,7 +51,7 @@ interface ReserveViewProps {
reserve: ReserveRecord;
}
-class ReserveView extends React.Component<ReserveViewProps, void> {
+class ReserveView extends React.Component<ReserveViewProps, {}> {
render(): JSX.Element {
const r: ReserveRecord = this.props.reserve;
return (
@@ -130,7 +130,7 @@ class RefreshDialog extends ImplicitStateComponent<RefreshDialogProps> {
}
}
-class CoinView extends React.Component<CoinViewProps, void> {
+class CoinView extends React.Component<CoinViewProps, {}> {
render() {
const c = this.props.coin;
return (
@@ -154,7 +154,7 @@ interface PreCoinViewProps {
precoin: PreCoinRecord;
}
-class PreCoinView extends React.Component<PreCoinViewProps, void> {
+class PreCoinView extends React.Component<PreCoinViewProps, {}> {
render() {
const c = this.props.precoin;
return (
@@ -381,7 +381,7 @@ interface ExchangeProps {
exchange: ExchangeRecord;
}
-class ExchangeView extends React.Component<ExchangeProps, void> {
+class ExchangeView extends React.Component<ExchangeProps, {}> {
render(): JSX.Element {
const e = this.props.exchange;
return (