paths, multi env and webpack config

This commit is contained in:
Florian Dold 2017-05-30 14:38:29 +02:00
parent b1f0d6ac52
commit 29908d5ef6
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
10 changed files with 300 additions and 292 deletions

View File

@ -44,17 +44,26 @@ export function getLib() {
// Assume that the code is run from the build/ directory. // Assume that the code is run from the build/ directory.
const lib = indirectRequire("../../../emscripten/taler-emscripten-lib.js"); const lib = indirectRequire("../../../emscripten/taler-emscripten-lib.js");
g.importScripts = savedImportScripts; g.importScripts = savedImportScripts;
return lib; if (lib) {
return lib;
}
// When we're running as a webpack bundle, the above require might
// have failed and returned 'undefined', so we try other ways to import.
} }
if (typeof importScripts !== "undefined") { if (typeof importScripts !== "undefined") {
importScripts('/src/emscripten/taler-emscripten-lib.js') self.TalerEmscriptenLib = {};
if (TalerEmscriptenLib) { importScripts('/emscripten/taler-emscripten-lib.js')
throw Error("can't import TalerEmscriptenLib"); if (!self.TalerEmscriptenLib) {
throw Error("can't import taler emscripten lib");
} }
return TalerEmscriptenLib return self.TalerEmscriptenLib
} }
// Last resort, we don't have require, we're not running in a webworker.
// Maybe we're on a normal browser page, in this case TalerEmscriptenLib
// must be included in a script tag on the page.
if (typeof window !== "undefined") { if (typeof window !== "undefined") {
if (window.TalerEmscriptenLib) { if (window.TalerEmscriptenLib) {
return TalerEmscriptenLib; return TalerEmscriptenLib;

View File

@ -27,27 +27,28 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: src/webex/pages/confirm-contract.tsx:66 #: src/webex/pages/confirm-contract.tsx:69
#, c-format #, c-format
msgid "show more details\n" msgid "show more details\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:80 #: src/webex/pages/confirm-contract.tsx:83
#, c-format #, c-format
msgid "Accepted exchanges:" msgid "Accepted exchanges:"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:85 #: src/webex/pages/confirm-contract.tsx:88
#, c-format #, c-format
msgid "Exchanges in the wallet:" msgid "Exchanges in the wallet:"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:161 #: src/webex/pages/confirm-contract.tsx:146
#, c-format #, c-format
msgid "You have insufficient funds of the requested currency in your wallet." msgid "You have insufficient funds of the requested currency in your wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:162 #. tslint:disable-next-line:max-line-length
#: src/webex/pages/confirm-contract.tsx:148
#, c-format #, c-format
msgid "" msgid ""
"You do not have any funds from an exchange that is accepted by this " "You do not have any funds from an exchange that is accepted by this "
@ -55,72 +56,67 @@ msgid ""
"wallet." "wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:197 #: src/webex/pages/confirm-create-reserve.tsx:204
#, fuzzy, c-format #, fuzzy, c-format
msgid "Withdrawal fees: %1$s" msgid "Withdrawal fees: %1$s"
msgstr "Abheben bei %1$s" msgstr "Abheben bei %1$s"
#: src/webex/pages/confirm-create-reserve.tsx:198 #: src/webex/pages/confirm-create-reserve.tsx:205
#, c-format #, c-format
msgid "Rounding loss: %1$s" msgid "Rounding loss: %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:199 #: src/webex/pages/confirm-create-reserve.tsx:206
#, c-format #, c-format
msgid "Earliest expiration (for deposit): %1$s" msgid "Earliest expiration (for deposit): %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:204 #: src/webex/pages/confirm-create-reserve.tsx:211
#, c-format #, c-format
msgid "# Coins" msgid "# Coins"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:205 #: src/webex/pages/confirm-create-reserve.tsx:212
#, c-format #, c-format
msgid "Value" msgid "Value"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:206 #: src/webex/pages/confirm-create-reserve.tsx:213
#, fuzzy, c-format #, fuzzy, c-format
msgid "Withdraw Fee" msgid "Withdraw Fee"
msgstr "Abheben bei %1$s" msgstr "Abheben bei %1$s"
#: src/webex/pages/confirm-create-reserve.tsx:207 #: src/webex/pages/confirm-create-reserve.tsx:214
#, c-format #, c-format
msgid "Refresh Fee" msgid "Refresh Fee"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:208 #: src/webex/pages/confirm-create-reserve.tsx:215
#, c-format #, c-format
msgid "Deposit Fee" msgid "Deposit Fee"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:246 #: src/webex/pages/confirm-create-reserve.tsx:268
#, fuzzy, c-format
msgid "Withdraw fees:"
msgstr "Abheben bei %1$s"
#: src/webex/pages/confirm-create-reserve.tsx:289
#, c-format #, c-format
msgid "Select" msgid "Select"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:305 #: src/webex/pages/confirm-create-reserve.tsx:284
#, c-format #, c-format
msgid "Error: URL may not be relative" msgid "Error: URL may not be relative"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:373 #: src/webex/pages/confirm-create-reserve.tsx:352
#, c-format #, c-format
msgid "The exchange is trusted by the wallet.\n" msgid "The exchange is trusted by the wallet.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:379 #: src/webex/pages/confirm-create-reserve.tsx:358
#, c-format #, c-format
msgid "The exchange is audited by a trusted auditor.\n" msgid "The exchange is audited by a trusted auditor.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:385 #: src/webex/pages/confirm-create-reserve.tsx:364
#, c-format #, c-format
msgid "" msgid ""
"Warning: The exchange is neither directly trusted nor audited by a trusted " "Warning: The exchange is neither directly trusted nor audited by a trusted "
@ -128,7 +124,7 @@ msgid ""
"If you withdraw from this exchange, it will be trusted in the future.\n" "If you withdraw from this exchange, it will be trusted in the future.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:394 #: src/webex/pages/confirm-create-reserve.tsx:373
#, c-format #, c-format
msgid "" msgid ""
"Using exchange provider%1$s.\n" "Using exchange provider%1$s.\n"
@ -136,63 +132,63 @@ msgid ""
" %2$s in fees.\n" " %2$s in fees.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:408 #: src/webex/pages/confirm-create-reserve.tsx:387
#, c-format #, c-format
msgid "" msgid ""
"Waiting for a response from\n" "Waiting for a response from\n"
" %1$s" " %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:419 #: src/webex/pages/confirm-create-reserve.tsx:398
#, c-format #, c-format
msgid "A problem occured, see below. %1$s" msgid "A problem occured, see below. %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:425 #: src/webex/pages/confirm-create-reserve.tsx:404
#, c-format #, c-format
msgid "" msgid ""
"Information about fees will be available when an exchange provider is " "Information about fees will be available when an exchange provider is "
"selected." "selected."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:437 #: src/webex/pages/confirm-create-reserve.tsx:416
#, c-format #, c-format
msgid "Accept fees and withdraw" msgid "Accept fees and withdraw"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:442 #: src/webex/pages/confirm-create-reserve.tsx:421
#, c-format #, c-format
msgid "Change Exchange Provider" msgid "Change Exchange Provider"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:498 #: src/webex/pages/confirm-create-reserve.tsx:477
#, c-format #, c-format
msgid "You are about to withdraw %1$s from your bank account into your wallet." msgid "You are about to withdraw %1$s from your bank account into your wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:581 #: src/webex/pages/confirm-create-reserve.tsx:560
#, c-format #, c-format
msgid "" msgid ""
"Oops, something went wrong. The wallet responded with error status (%1$s)." "Oops, something went wrong. The wallet responded with error status (%1$s)."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:592 #: src/webex/pages/confirm-create-reserve.tsx:571
#, c-format #, c-format
msgid "Checking URL, please wait ..." msgid "Checking URL, please wait ..."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:606 #: src/webex/pages/confirm-create-reserve.tsx:585
#, c-format #, c-format
msgid "Can't parse amount: %1$s" msgid "Can't parse amount: %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:614 #: src/webex/pages/confirm-create-reserve.tsx:592
#, c-format #, c-format
msgid "Can't parse wire_types: %1$s" msgid "Can't parse wire_types: %1$s"
msgstr "" msgstr ""
#. TODO:generic error reporting function or component. #. TODO:generic error reporting function or component.
#: src/webex/pages/confirm-create-reserve.tsx:634 #: src/webex/pages/confirm-create-reserve.tsx:612
#, c-format #, c-format
msgid "Fatal error: \"%1$s\"." msgid "Fatal error: \"%1$s\"."
msgstr "" msgstr ""
@ -212,76 +208,80 @@ msgstr "Verlauf"
msgid "Debug" msgid "Debug"
msgstr "Debug" msgstr "Debug"
#: src/webex/pages/popup.tsx:241 #: src/webex/pages/popup.tsx:245
#, c-format #, c-format
msgid "help" msgid "help"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:246 #: src/webex/pages/popup.tsx:250
#, fuzzy, c-format #, fuzzy, c-format
msgid "" msgid ""
"You have no balance to show. Need some\n" "You have no balance to show. Need some\n"
" %1$s getting started?\n" " %1$s getting started?\n"
msgstr "Sie haben kein Digitalgeld. Wollen Sie %1$s? abheben?" msgstr "Sie haben kein Digitalgeld. Wollen Sie %1$s? abheben?"
#: src/webex/pages/popup.tsx:263 #: src/webex/pages/popup.tsx:267
#, c-format #, c-format
msgid "%1$s incoming\n" msgid "%1$s incoming\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:276 #: src/webex/pages/popup.tsx:280
#, c-format #, c-format
msgid "%1$s being spent\n" msgid "%1$s being spent\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:302 #: src/webex/pages/popup.tsx:306
#, c-format #, c-format
msgid "Error: could not retrieve balance information." msgid "Error: could not retrieve balance information."
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:343 #: src/webex/pages/popup.tsx:345
#, fuzzy, c-format #, fuzzy, c-format
msgid "Bank requested reserve (%1$s) for%2$s.\n" msgid ""
"Bank requested reserve (%1$s) for\n"
" %2$s.\n"
msgstr "Bank bestätig anlegen der Reserve (%1$s) bei %2$s" msgstr "Bank bestätig anlegen der Reserve (%1$s) bei %2$s"
#: src/webex/pages/popup.tsx:352 #: src/webex/pages/popup.tsx:356
#, 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 from%2$s(%3$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:364 #: src/webex/pages/popup.tsx:366
#, c-format #, c-format
msgid "Merchant%1$soffered contract%2$s;\n" msgid "Merchant%1$soffered contract%2$s;\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:374 #: src/webex/pages/popup.tsx:376
#, fuzzy, c-format #, fuzzy, c-format
msgid "Withdrew%1$sfrom%2$s(%3$s).\n" msgid "Withdrew%1$sfrom%2$s(%3$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:384 #: src/webex/pages/popup.tsx:386
#, fuzzy, c-format #, fuzzy, c-format
msgid "Paid%1$sto merchant%2$s. (%3$s)\n" msgid ""
"Paid%1$sto merchant%2$s.\n"
" (%3$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:391 #: src/webex/pages/popup.tsx:395
#, c-format #, c-format
msgid "Unknown event (%1$s)" msgid "Unknown event (%1$s)"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:434 #: src/webex/pages/popup.tsx:438
#, c-format #, c-format
msgid "Error: could not retrieve event history" msgid "Error: could not retrieve event history"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:468 #: src/webex/pages/popup.tsx:472
#, c-format #, c-format
msgid "Your wallet has no events recorded." msgid "Your wallet has no events recorded."
msgstr "Ihre Geldbörse verzeichnet keine Vorkommnisse." msgstr "Ihre Geldbörse verzeichnet keine Vorkommnisse."
#: src/webex/renderHtml.tsx:51 #: src/webex/renderHtml.tsx:49
#, fuzzy, c-format #, fuzzy, c-format
msgid "The merchant%1$swants to enter a contract over%2$s with you.\n" msgid "The merchant%1$swants to enter a contract over%2$s with you.\n"
msgstr "" msgstr ""
@ -289,11 +289,15 @@ msgstr ""
" möchte einen Vertrag über %2$s\n" " möchte einen Vertrag über %2$s\n"
" mit Ihnen abschließen." " mit Ihnen abschließen."
#: src/webex/renderHtml.tsx:56 #: src/webex/renderHtml.tsx:54
#, fuzzy, c-format #, fuzzy, c-format
msgid "You are about to purchase:" msgid "You are about to purchase:"
msgstr "Sie sind dabei, Folgendes zu kaufen:" msgstr "Sie sind dabei, Folgendes zu kaufen:"
#, fuzzy
#~ msgid "Withdraw fees:"
#~ msgstr "Abheben bei %1$s"
#~ msgid "Confirm Payment" #~ msgid "Confirm Payment"
#~ msgstr "Bezahlung bestätigen" #~ msgstr "Bezahlung bestätigen"

View File

@ -27,27 +27,28 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: src/webex/pages/confirm-contract.tsx:66 #: src/webex/pages/confirm-contract.tsx:69
#, c-format #, c-format
msgid "show more details\n" msgid "show more details\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:80 #: src/webex/pages/confirm-contract.tsx:83
#, c-format #, c-format
msgid "Accepted exchanges:" msgid "Accepted exchanges:"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:85 #: src/webex/pages/confirm-contract.tsx:88
#, c-format #, c-format
msgid "Exchanges in the wallet:" msgid "Exchanges in the wallet:"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:161 #: src/webex/pages/confirm-contract.tsx:146
#, c-format #, c-format
msgid "You have insufficient funds of the requested currency in your wallet." msgid "You have insufficient funds of the requested currency in your wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:162 #. tslint:disable-next-line:max-line-length
#: src/webex/pages/confirm-contract.tsx:148
#, c-format #, c-format
msgid "" msgid ""
"You do not have any funds from an exchange that is accepted by this " "You do not have any funds from an exchange that is accepted by this "
@ -55,72 +56,67 @@ msgid ""
"wallet." "wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:197 #: src/webex/pages/confirm-create-reserve.tsx:204
#, c-format #, c-format
msgid "Withdrawal fees: %1$s" msgid "Withdrawal fees: %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:198 #: src/webex/pages/confirm-create-reserve.tsx:205
#, c-format #, c-format
msgid "Rounding loss: %1$s" msgid "Rounding loss: %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:199 #: src/webex/pages/confirm-create-reserve.tsx:206
#, c-format #, c-format
msgid "Earliest expiration (for deposit): %1$s" msgid "Earliest expiration (for deposit): %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:204 #: src/webex/pages/confirm-create-reserve.tsx:211
#, c-format #, c-format
msgid "# Coins" msgid "# Coins"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:205 #: src/webex/pages/confirm-create-reserve.tsx:212
#, c-format #, c-format
msgid "Value" msgid "Value"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:206 #: src/webex/pages/confirm-create-reserve.tsx:213
#, c-format #, c-format
msgid "Withdraw Fee" msgid "Withdraw Fee"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:207 #: src/webex/pages/confirm-create-reserve.tsx:214
#, c-format #, c-format
msgid "Refresh Fee" msgid "Refresh Fee"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:208 #: src/webex/pages/confirm-create-reserve.tsx:215
#, c-format #, c-format
msgid "Deposit Fee" msgid "Deposit Fee"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:246 #: src/webex/pages/confirm-create-reserve.tsx:268
#, c-format
msgid "Withdraw fees:"
msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:289
#, c-format #, c-format
msgid "Select" msgid "Select"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:305 #: src/webex/pages/confirm-create-reserve.tsx:284
#, c-format #, c-format
msgid "Error: URL may not be relative" msgid "Error: URL may not be relative"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:373 #: src/webex/pages/confirm-create-reserve.tsx:352
#, c-format #, c-format
msgid "The exchange is trusted by the wallet.\n" msgid "The exchange is trusted by the wallet.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:379 #: src/webex/pages/confirm-create-reserve.tsx:358
#, c-format #, c-format
msgid "The exchange is audited by a trusted auditor.\n" msgid "The exchange is audited by a trusted auditor.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:385 #: src/webex/pages/confirm-create-reserve.tsx:364
#, c-format #, c-format
msgid "" msgid ""
"Warning: The exchange is neither directly trusted nor audited by a trusted " "Warning: The exchange is neither directly trusted nor audited by a trusted "
@ -128,7 +124,7 @@ msgid ""
"If you withdraw from this exchange, it will be trusted in the future.\n" "If you withdraw from this exchange, it will be trusted in the future.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:394 #: src/webex/pages/confirm-create-reserve.tsx:373
#, c-format #, c-format
msgid "" msgid ""
"Using exchange provider%1$s.\n" "Using exchange provider%1$s.\n"
@ -136,63 +132,63 @@ msgid ""
" %2$s in fees.\n" " %2$s in fees.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:408 #: src/webex/pages/confirm-create-reserve.tsx:387
#, c-format #, c-format
msgid "" msgid ""
"Waiting for a response from\n" "Waiting for a response from\n"
" %1$s" " %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:419 #: src/webex/pages/confirm-create-reserve.tsx:398
#, c-format #, c-format
msgid "A problem occured, see below. %1$s" msgid "A problem occured, see below. %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:425 #: src/webex/pages/confirm-create-reserve.tsx:404
#, c-format #, c-format
msgid "" msgid ""
"Information about fees will be available when an exchange provider is " "Information about fees will be available when an exchange provider is "
"selected." "selected."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:437 #: src/webex/pages/confirm-create-reserve.tsx:416
#, c-format #, c-format
msgid "Accept fees and withdraw" msgid "Accept fees and withdraw"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:442 #: src/webex/pages/confirm-create-reserve.tsx:421
#, c-format #, c-format
msgid "Change Exchange Provider" msgid "Change Exchange Provider"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:498 #: src/webex/pages/confirm-create-reserve.tsx:477
#, c-format #, c-format
msgid "You are about to withdraw %1$s from your bank account into your wallet." msgid "You are about to withdraw %1$s from your bank account into your wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:581 #: src/webex/pages/confirm-create-reserve.tsx:560
#, c-format #, c-format
msgid "" msgid ""
"Oops, something went wrong. The wallet responded with error status (%1$s)." "Oops, something went wrong. The wallet responded with error status (%1$s)."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:592 #: src/webex/pages/confirm-create-reserve.tsx:571
#, c-format #, c-format
msgid "Checking URL, please wait ..." msgid "Checking URL, please wait ..."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:606 #: src/webex/pages/confirm-create-reserve.tsx:585
#, c-format #, c-format
msgid "Can't parse amount: %1$s" msgid "Can't parse amount: %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:614 #: src/webex/pages/confirm-create-reserve.tsx:592
#, c-format #, c-format
msgid "Can't parse wire_types: %1$s" msgid "Can't parse wire_types: %1$s"
msgstr "" msgstr ""
#. TODO:generic error reporting function or component. #. TODO:generic error reporting function or component.
#: src/webex/pages/confirm-create-reserve.tsx:634 #: src/webex/pages/confirm-create-reserve.tsx:612
#, c-format #, c-format
msgid "Fatal error: \"%1$s\"." msgid "Fatal error: \"%1$s\"."
msgstr "" msgstr ""
@ -212,81 +208,85 @@ msgstr ""
msgid "Debug" msgid "Debug"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:241 #: src/webex/pages/popup.tsx:245
#, c-format #, c-format
msgid "help" msgid "help"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:246 #: src/webex/pages/popup.tsx:250
#, c-format #, c-format
msgid "" msgid ""
"You have no balance to show. Need some\n" "You have no balance to show. Need some\n"
" %1$s getting started?\n" " %1$s getting started?\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:263 #: src/webex/pages/popup.tsx:267
#, c-format #, c-format
msgid "%1$s incoming\n" msgid "%1$s incoming\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:276 #: src/webex/pages/popup.tsx:280
#, c-format #, c-format
msgid "%1$s being spent\n" msgid "%1$s being spent\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:302 #: src/webex/pages/popup.tsx:306
#, c-format #, c-format
msgid "Error: could not retrieve balance information." msgid "Error: could not retrieve balance information."
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:343 #: src/webex/pages/popup.tsx:345
#, c-format #, c-format
msgid "Bank requested reserve (%1$s) for%2$s.\n" msgid ""
"Bank requested reserve (%1$s) for\n"
" %2$s.\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:352 #: src/webex/pages/popup.tsx:356
#, c-format #, c-format
msgid "" msgid ""
"Started to withdraw\n" "Started to withdraw\n"
" %1$s from%2$s(%3$s).\n" " %1$s from%2$s(%3$s).\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:364 #: src/webex/pages/popup.tsx:366
#, c-format #, c-format
msgid "Merchant%1$soffered contract%2$s;\n" msgid "Merchant%1$soffered contract%2$s;\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:374 #: src/webex/pages/popup.tsx:376
#, c-format #, c-format
msgid "Withdrew%1$sfrom%2$s(%3$s).\n" msgid "Withdrew%1$sfrom%2$s(%3$s).\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:384 #: src/webex/pages/popup.tsx:386
#, c-format #, c-format
msgid "Paid%1$sto merchant%2$s. (%3$s)\n" msgid ""
"Paid%1$sto merchant%2$s.\n"
" (%3$s)\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:391 #: src/webex/pages/popup.tsx:395
#, c-format #, c-format
msgid "Unknown event (%1$s)" msgid "Unknown event (%1$s)"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:434 #: src/webex/pages/popup.tsx:438
#, c-format #, c-format
msgid "Error: could not retrieve event history" msgid "Error: could not retrieve event history"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:468 #: src/webex/pages/popup.tsx:472
#, c-format #, c-format
msgid "Your wallet has no events recorded." msgid "Your wallet has no events recorded."
msgstr "" msgstr ""
#: src/webex/renderHtml.tsx:51 #: src/webex/renderHtml.tsx:49
#, c-format #, c-format
msgid "The merchant%1$swants to enter a contract over%2$s with you.\n" msgid "The merchant%1$swants to enter a contract over%2$s with you.\n"
msgstr "" msgstr ""
#: src/webex/renderHtml.tsx:56 #: src/webex/renderHtml.tsx:54
#, c-format #, c-format
msgid "You are about to purchase:" msgid "You are about to purchase:"
msgstr "" msgstr ""

View File

@ -27,27 +27,28 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: src/webex/pages/confirm-contract.tsx:66 #: src/webex/pages/confirm-contract.tsx:69
#, c-format #, c-format
msgid "show more details\n" msgid "show more details\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:80 #: src/webex/pages/confirm-contract.tsx:83
#, c-format #, c-format
msgid "Accepted exchanges:" msgid "Accepted exchanges:"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:85 #: src/webex/pages/confirm-contract.tsx:88
#, c-format #, c-format
msgid "Exchanges in the wallet:" msgid "Exchanges in the wallet:"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:161 #: src/webex/pages/confirm-contract.tsx:146
#, c-format #, c-format
msgid "You have insufficient funds of the requested currency in your wallet." msgid "You have insufficient funds of the requested currency in your wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:162 #. tslint:disable-next-line:max-line-length
#: src/webex/pages/confirm-contract.tsx:148
#, c-format #, c-format
msgid "" msgid ""
"You do not have any funds from an exchange that is accepted by this " "You do not have any funds from an exchange that is accepted by this "
@ -55,72 +56,67 @@ msgid ""
"wallet." "wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:197 #: src/webex/pages/confirm-create-reserve.tsx:204
#, c-format #, c-format
msgid "Withdrawal fees: %1$s" msgid "Withdrawal fees: %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:198 #: src/webex/pages/confirm-create-reserve.tsx:205
#, c-format #, c-format
msgid "Rounding loss: %1$s" msgid "Rounding loss: %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:199 #: src/webex/pages/confirm-create-reserve.tsx:206
#, c-format #, c-format
msgid "Earliest expiration (for deposit): %1$s" msgid "Earliest expiration (for deposit): %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:204 #: src/webex/pages/confirm-create-reserve.tsx:211
#, c-format #, c-format
msgid "# Coins" msgid "# Coins"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:205 #: src/webex/pages/confirm-create-reserve.tsx:212
#, c-format #, c-format
msgid "Value" msgid "Value"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:206 #: src/webex/pages/confirm-create-reserve.tsx:213
#, c-format #, c-format
msgid "Withdraw Fee" msgid "Withdraw Fee"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:207 #: src/webex/pages/confirm-create-reserve.tsx:214
#, c-format #, c-format
msgid "Refresh Fee" msgid "Refresh Fee"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:208 #: src/webex/pages/confirm-create-reserve.tsx:215
#, c-format #, c-format
msgid "Deposit Fee" msgid "Deposit Fee"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:246 #: src/webex/pages/confirm-create-reserve.tsx:268
#, c-format
msgid "Withdraw fees:"
msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:289
#, c-format #, c-format
msgid "Select" msgid "Select"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:305 #: src/webex/pages/confirm-create-reserve.tsx:284
#, c-format #, c-format
msgid "Error: URL may not be relative" msgid "Error: URL may not be relative"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:373 #: src/webex/pages/confirm-create-reserve.tsx:352
#, c-format #, c-format
msgid "The exchange is trusted by the wallet.\n" msgid "The exchange is trusted by the wallet.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:379 #: src/webex/pages/confirm-create-reserve.tsx:358
#, c-format #, c-format
msgid "The exchange is audited by a trusted auditor.\n" msgid "The exchange is audited by a trusted auditor.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:385 #: src/webex/pages/confirm-create-reserve.tsx:364
#, c-format #, c-format
msgid "" msgid ""
"Warning: The exchange is neither directly trusted nor audited by a trusted " "Warning: The exchange is neither directly trusted nor audited by a trusted "
@ -128,7 +124,7 @@ msgid ""
"If you withdraw from this exchange, it will be trusted in the future.\n" "If you withdraw from this exchange, it will be trusted in the future.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:394 #: src/webex/pages/confirm-create-reserve.tsx:373
#, c-format #, c-format
msgid "" msgid ""
"Using exchange provider%1$s.\n" "Using exchange provider%1$s.\n"
@ -136,63 +132,63 @@ msgid ""
" %2$s in fees.\n" " %2$s in fees.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:408 #: src/webex/pages/confirm-create-reserve.tsx:387
#, c-format #, c-format
msgid "" msgid ""
"Waiting for a response from\n" "Waiting for a response from\n"
" %1$s" " %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:419 #: src/webex/pages/confirm-create-reserve.tsx:398
#, c-format #, c-format
msgid "A problem occured, see below. %1$s" msgid "A problem occured, see below. %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:425 #: src/webex/pages/confirm-create-reserve.tsx:404
#, c-format #, c-format
msgid "" msgid ""
"Information about fees will be available when an exchange provider is " "Information about fees will be available when an exchange provider is "
"selected." "selected."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:437 #: src/webex/pages/confirm-create-reserve.tsx:416
#, c-format #, c-format
msgid "Accept fees and withdraw" msgid "Accept fees and withdraw"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:442 #: src/webex/pages/confirm-create-reserve.tsx:421
#, c-format #, c-format
msgid "Change Exchange Provider" msgid "Change Exchange Provider"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:498 #: src/webex/pages/confirm-create-reserve.tsx:477
#, c-format #, c-format
msgid "You are about to withdraw %1$s from your bank account into your wallet." msgid "You are about to withdraw %1$s from your bank account into your wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:581 #: src/webex/pages/confirm-create-reserve.tsx:560
#, c-format #, c-format
msgid "" msgid ""
"Oops, something went wrong. The wallet responded with error status (%1$s)." "Oops, something went wrong. The wallet responded with error status (%1$s)."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:592 #: src/webex/pages/confirm-create-reserve.tsx:571
#, c-format #, c-format
msgid "Checking URL, please wait ..." msgid "Checking URL, please wait ..."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:606 #: src/webex/pages/confirm-create-reserve.tsx:585
#, c-format #, c-format
msgid "Can't parse amount: %1$s" msgid "Can't parse amount: %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:614 #: src/webex/pages/confirm-create-reserve.tsx:592
#, c-format #, c-format
msgid "Can't parse wire_types: %1$s" msgid "Can't parse wire_types: %1$s"
msgstr "" msgstr ""
#. TODO:generic error reporting function or component. #. TODO:generic error reporting function or component.
#: src/webex/pages/confirm-create-reserve.tsx:634 #: src/webex/pages/confirm-create-reserve.tsx:612
#, c-format #, c-format
msgid "Fatal error: \"%1$s\"." msgid "Fatal error: \"%1$s\"."
msgstr "" msgstr ""
@ -212,81 +208,85 @@ msgstr ""
msgid "Debug" msgid "Debug"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:241 #: src/webex/pages/popup.tsx:245
#, c-format #, c-format
msgid "help" msgid "help"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:246 #: src/webex/pages/popup.tsx:250
#, c-format #, c-format
msgid "" msgid ""
"You have no balance to show. Need some\n" "You have no balance to show. Need some\n"
" %1$s getting started?\n" " %1$s getting started?\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:263 #: src/webex/pages/popup.tsx:267
#, c-format #, c-format
msgid "%1$s incoming\n" msgid "%1$s incoming\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:276 #: src/webex/pages/popup.tsx:280
#, c-format #, c-format
msgid "%1$s being spent\n" msgid "%1$s being spent\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:302 #: src/webex/pages/popup.tsx:306
#, c-format #, c-format
msgid "Error: could not retrieve balance information." msgid "Error: could not retrieve balance information."
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:343 #: src/webex/pages/popup.tsx:345
#, c-format #, c-format
msgid "Bank requested reserve (%1$s) for%2$s.\n" msgid ""
"Bank requested reserve (%1$s) for\n"
" %2$s.\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:352 #: src/webex/pages/popup.tsx:356
#, c-format #, c-format
msgid "" msgid ""
"Started to withdraw\n" "Started to withdraw\n"
" %1$s from%2$s(%3$s).\n" " %1$s from%2$s(%3$s).\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:364 #: src/webex/pages/popup.tsx:366
#, c-format #, c-format
msgid "Merchant%1$soffered contract%2$s;\n" msgid "Merchant%1$soffered contract%2$s;\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:374 #: src/webex/pages/popup.tsx:376
#, c-format #, c-format
msgid "Withdrew%1$sfrom%2$s(%3$s).\n" msgid "Withdrew%1$sfrom%2$s(%3$s).\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:384 #: src/webex/pages/popup.tsx:386
#, c-format #, c-format
msgid "Paid%1$sto merchant%2$s. (%3$s)\n" msgid ""
"Paid%1$sto merchant%2$s.\n"
" (%3$s)\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:391 #: src/webex/pages/popup.tsx:395
#, c-format #, c-format
msgid "Unknown event (%1$s)" msgid "Unknown event (%1$s)"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:434 #: src/webex/pages/popup.tsx:438
#, c-format #, c-format
msgid "Error: could not retrieve event history" msgid "Error: could not retrieve event history"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:468 #: src/webex/pages/popup.tsx:472
#, c-format #, c-format
msgid "Your wallet has no events recorded." msgid "Your wallet has no events recorded."
msgstr "" msgstr ""
#: src/webex/renderHtml.tsx:51 #: src/webex/renderHtml.tsx:49
#, c-format #, c-format
msgid "The merchant%1$swants to enter a contract over%2$s with you.\n" msgid "The merchant%1$swants to enter a contract over%2$s with you.\n"
msgstr "" msgstr ""
#: src/webex/renderHtml.tsx:56 #: src/webex/renderHtml.tsx:54
#, c-format #, c-format
msgid "You are about to purchase:" msgid "You are about to purchase:"
msgstr "" msgstr ""

View File

@ -27,27 +27,28 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: src/webex/pages/confirm-contract.tsx:66 #: src/webex/pages/confirm-contract.tsx:69
#, c-format #, c-format
msgid "show more details\n" msgid "show more details\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:80 #: src/webex/pages/confirm-contract.tsx:83
#, c-format #, c-format
msgid "Accepted exchanges:" msgid "Accepted exchanges:"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:85 #: src/webex/pages/confirm-contract.tsx:88
#, c-format #, c-format
msgid "Exchanges in the wallet:" msgid "Exchanges in the wallet:"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:161 #: src/webex/pages/confirm-contract.tsx:146
#, c-format #, c-format
msgid "You have insufficient funds of the requested currency in your wallet." msgid "You have insufficient funds of the requested currency in your wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:162 #. tslint:disable-next-line:max-line-length
#: src/webex/pages/confirm-contract.tsx:148
#, c-format #, c-format
msgid "" msgid ""
"You do not have any funds from an exchange that is accepted by this " "You do not have any funds from an exchange that is accepted by this "
@ -55,72 +56,67 @@ msgid ""
"wallet." "wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:197 #: src/webex/pages/confirm-create-reserve.tsx:204
#, c-format #, c-format
msgid "Withdrawal fees: %1$s" msgid "Withdrawal fees: %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:198 #: src/webex/pages/confirm-create-reserve.tsx:205
#, c-format #, c-format
msgid "Rounding loss: %1$s" msgid "Rounding loss: %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:199 #: src/webex/pages/confirm-create-reserve.tsx:206
#, c-format #, c-format
msgid "Earliest expiration (for deposit): %1$s" msgid "Earliest expiration (for deposit): %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:204 #: src/webex/pages/confirm-create-reserve.tsx:211
#, c-format #, c-format
msgid "# Coins" msgid "# Coins"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:205 #: src/webex/pages/confirm-create-reserve.tsx:212
#, c-format #, c-format
msgid "Value" msgid "Value"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:206 #: src/webex/pages/confirm-create-reserve.tsx:213
#, c-format #, c-format
msgid "Withdraw Fee" msgid "Withdraw Fee"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:207 #: src/webex/pages/confirm-create-reserve.tsx:214
#, c-format #, c-format
msgid "Refresh Fee" msgid "Refresh Fee"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:208 #: src/webex/pages/confirm-create-reserve.tsx:215
#, c-format #, c-format
msgid "Deposit Fee" msgid "Deposit Fee"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:246 #: src/webex/pages/confirm-create-reserve.tsx:268
#, c-format
msgid "Withdraw fees:"
msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:289
#, c-format #, c-format
msgid "Select" msgid "Select"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:305 #: src/webex/pages/confirm-create-reserve.tsx:284
#, c-format #, c-format
msgid "Error: URL may not be relative" msgid "Error: URL may not be relative"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:373 #: src/webex/pages/confirm-create-reserve.tsx:352
#, c-format #, c-format
msgid "The exchange is trusted by the wallet.\n" msgid "The exchange is trusted by the wallet.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:379 #: src/webex/pages/confirm-create-reserve.tsx:358
#, c-format #, c-format
msgid "The exchange is audited by a trusted auditor.\n" msgid "The exchange is audited by a trusted auditor.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:385 #: src/webex/pages/confirm-create-reserve.tsx:364
#, c-format #, c-format
msgid "" msgid ""
"Warning: The exchange is neither directly trusted nor audited by a trusted " "Warning: The exchange is neither directly trusted nor audited by a trusted "
@ -128,7 +124,7 @@ msgid ""
"If you withdraw from this exchange, it will be trusted in the future.\n" "If you withdraw from this exchange, it will be trusted in the future.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:394 #: src/webex/pages/confirm-create-reserve.tsx:373
#, c-format #, c-format
msgid "" msgid ""
"Using exchange provider%1$s.\n" "Using exchange provider%1$s.\n"
@ -136,63 +132,63 @@ msgid ""
" %2$s in fees.\n" " %2$s in fees.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:408 #: src/webex/pages/confirm-create-reserve.tsx:387
#, c-format #, c-format
msgid "" msgid ""
"Waiting for a response from\n" "Waiting for a response from\n"
" %1$s" " %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:419 #: src/webex/pages/confirm-create-reserve.tsx:398
#, c-format #, c-format
msgid "A problem occured, see below. %1$s" msgid "A problem occured, see below. %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:425 #: src/webex/pages/confirm-create-reserve.tsx:404
#, c-format #, c-format
msgid "" msgid ""
"Information about fees will be available when an exchange provider is " "Information about fees will be available when an exchange provider is "
"selected." "selected."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:437 #: src/webex/pages/confirm-create-reserve.tsx:416
#, c-format #, c-format
msgid "Accept fees and withdraw" msgid "Accept fees and withdraw"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:442 #: src/webex/pages/confirm-create-reserve.tsx:421
#, c-format #, c-format
msgid "Change Exchange Provider" msgid "Change Exchange Provider"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:498 #: src/webex/pages/confirm-create-reserve.tsx:477
#, c-format #, c-format
msgid "You are about to withdraw %1$s from your bank account into your wallet." msgid "You are about to withdraw %1$s from your bank account into your wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:581 #: src/webex/pages/confirm-create-reserve.tsx:560
#, c-format #, c-format
msgid "" msgid ""
"Oops, something went wrong. The wallet responded with error status (%1$s)." "Oops, something went wrong. The wallet responded with error status (%1$s)."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:592 #: src/webex/pages/confirm-create-reserve.tsx:571
#, c-format #, c-format
msgid "Checking URL, please wait ..." msgid "Checking URL, please wait ..."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:606 #: src/webex/pages/confirm-create-reserve.tsx:585
#, c-format #, c-format
msgid "Can't parse amount: %1$s" msgid "Can't parse amount: %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:614 #: src/webex/pages/confirm-create-reserve.tsx:592
#, c-format #, c-format
msgid "Can't parse wire_types: %1$s" msgid "Can't parse wire_types: %1$s"
msgstr "" msgstr ""
#. TODO:generic error reporting function or component. #. TODO:generic error reporting function or component.
#: src/webex/pages/confirm-create-reserve.tsx:634 #: src/webex/pages/confirm-create-reserve.tsx:612
#, c-format #, c-format
msgid "Fatal error: \"%1$s\"." msgid "Fatal error: \"%1$s\"."
msgstr "" msgstr ""
@ -212,81 +208,85 @@ msgstr ""
msgid "Debug" msgid "Debug"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:241 #: src/webex/pages/popup.tsx:245
#, c-format #, c-format
msgid "help" msgid "help"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:246 #: src/webex/pages/popup.tsx:250
#, c-format #, c-format
msgid "" msgid ""
"You have no balance to show. Need some\n" "You have no balance to show. Need some\n"
" %1$s getting started?\n" " %1$s getting started?\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:263 #: src/webex/pages/popup.tsx:267
#, c-format #, c-format
msgid "%1$s incoming\n" msgid "%1$s incoming\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:276 #: src/webex/pages/popup.tsx:280
#, c-format #, c-format
msgid "%1$s being spent\n" msgid "%1$s being spent\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:302 #: src/webex/pages/popup.tsx:306
#, c-format #, c-format
msgid "Error: could not retrieve balance information." msgid "Error: could not retrieve balance information."
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:343 #: src/webex/pages/popup.tsx:345
#, c-format #, c-format
msgid "Bank requested reserve (%1$s) for%2$s.\n" msgid ""
"Bank requested reserve (%1$s) for\n"
" %2$s.\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:352 #: src/webex/pages/popup.tsx:356
#, c-format #, c-format
msgid "" msgid ""
"Started to withdraw\n" "Started to withdraw\n"
" %1$s from%2$s(%3$s).\n" " %1$s from%2$s(%3$s).\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:364 #: src/webex/pages/popup.tsx:366
#, c-format #, c-format
msgid "Merchant%1$soffered contract%2$s;\n" msgid "Merchant%1$soffered contract%2$s;\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:374 #: src/webex/pages/popup.tsx:376
#, c-format #, c-format
msgid "Withdrew%1$sfrom%2$s(%3$s).\n" msgid "Withdrew%1$sfrom%2$s(%3$s).\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:384 #: src/webex/pages/popup.tsx:386
#, c-format #, c-format
msgid "Paid%1$sto merchant%2$s. (%3$s)\n" msgid ""
"Paid%1$sto merchant%2$s.\n"
" (%3$s)\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:391 #: src/webex/pages/popup.tsx:395
#, c-format #, c-format
msgid "Unknown event (%1$s)" msgid "Unknown event (%1$s)"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:434 #: src/webex/pages/popup.tsx:438
#, c-format #, c-format
msgid "Error: could not retrieve event history" msgid "Error: could not retrieve event history"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:468 #: src/webex/pages/popup.tsx:472
#, c-format #, c-format
msgid "Your wallet has no events recorded." msgid "Your wallet has no events recorded."
msgstr "" msgstr ""
#: src/webex/renderHtml.tsx:51 #: src/webex/renderHtml.tsx:49
#, c-format #, c-format
msgid "The merchant%1$swants to enter a contract over%2$s with you.\n" msgid "The merchant%1$swants to enter a contract over%2$s with you.\n"
msgstr "" msgstr ""
#: src/webex/renderHtml.tsx:56 #: src/webex/renderHtml.tsx:54
#, c-format #, c-format
msgid "You are about to purchase:" msgid "You are about to purchase:"
msgstr "" msgstr ""

View File

@ -63,9 +63,6 @@ strings['de'] = {
"Deposit Fee": [ "Deposit Fee": [
"" ""
], ],
"Withdraw fees:": [
"Abheben bei %1$s"
],
"Select": [ "Select": [
"" ""
], ],
@ -141,7 +138,7 @@ strings['de'] = {
"Error: could not retrieve balance information.": [ "Error: could not retrieve balance information.": [
"" ""
], ],
"Bank requested reserve (%1$s) for%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 from%2$s(%3$s).\n": [
@ -153,7 +150,7 @@ strings['de'] = {
"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. (%3$s)\n": [ "Paid%1$sto merchant%2$s.\n (%3$s)\n": [
"Reserve (%1$s) mit %2$s bei %3$s erzeugt" "Reserve (%1$s) mit %2$s bei %3$s erzeugt"
], ],
"Unknown event (%1$s)": [ "Unknown event (%1$s)": [
@ -222,9 +219,6 @@ strings['en-US'] = {
"Deposit Fee": [ "Deposit Fee": [
"" ""
], ],
"Withdraw fees:": [
""
],
"Select": [ "Select": [
"" ""
], ],
@ -300,7 +294,7 @@ strings['en-US'] = {
"Error: could not retrieve balance information.": [ "Error: could not retrieve balance information.": [
"" ""
], ],
"Bank requested reserve (%1$s) for%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 from%2$s(%3$s).\n": [
@ -312,7 +306,7 @@ strings['en-US'] = {
"Withdrew%1$sfrom%2$s(%3$s).\n": [ "Withdrew%1$sfrom%2$s(%3$s).\n": [
"" ""
], ],
"Paid%1$sto merchant%2$s. (%3$s)\n": [ "Paid%1$sto merchant%2$s.\n (%3$s)\n": [
"" ""
], ],
"Unknown event (%1$s)": [ "Unknown event (%1$s)": [
@ -381,9 +375,6 @@ strings['fr'] = {
"Deposit Fee": [ "Deposit Fee": [
"" ""
], ],
"Withdraw fees:": [
""
],
"Select": [ "Select": [
"" ""
], ],
@ -459,7 +450,7 @@ strings['fr'] = {
"Error: could not retrieve balance information.": [ "Error: could not retrieve balance information.": [
"" ""
], ],
"Bank requested reserve (%1$s) for%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 from%2$s(%3$s).\n": [
@ -471,7 +462,7 @@ strings['fr'] = {
"Withdrew%1$sfrom%2$s(%3$s).\n": [ "Withdrew%1$sfrom%2$s(%3$s).\n": [
"" ""
], ],
"Paid%1$sto merchant%2$s. (%3$s)\n": [ "Paid%1$sto merchant%2$s.\n (%3$s)\n": [
"" ""
], ],
"Unknown event (%1$s)": [ "Unknown event (%1$s)": [
@ -540,9 +531,6 @@ strings['it'] = {
"Deposit Fee": [ "Deposit Fee": [
"" ""
], ],
"Withdraw fees:": [
""
],
"Select": [ "Select": [
"" ""
], ],
@ -618,7 +606,7 @@ strings['it'] = {
"Error: could not retrieve balance information.": [ "Error: could not retrieve balance information.": [
"" ""
], ],
"Bank requested reserve (%1$s) for%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 from%2$s(%3$s).\n": [
@ -630,7 +618,7 @@ strings['it'] = {
"Withdrew%1$sfrom%2$s(%3$s).\n": [ "Withdrew%1$sfrom%2$s(%3$s).\n": [
"" ""
], ],
"Paid%1$sto merchant%2$s. (%3$s)\n": [ "Paid%1$sto merchant%2$s.\n (%3$s)\n": [
"" ""
], ],
"Unknown event (%1$s)": [ "Unknown event (%1$s)": [

View File

@ -27,27 +27,28 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: src/webex/pages/confirm-contract.tsx:66 #: src/webex/pages/confirm-contract.tsx:69
#, c-format #, c-format
msgid "show more details\n" msgid "show more details\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:80 #: src/webex/pages/confirm-contract.tsx:83
#, c-format #, c-format
msgid "Accepted exchanges:" msgid "Accepted exchanges:"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:85 #: src/webex/pages/confirm-contract.tsx:88
#, c-format #, c-format
msgid "Exchanges in the wallet:" msgid "Exchanges in the wallet:"
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:161 #: src/webex/pages/confirm-contract.tsx:146
#, c-format #, c-format
msgid "You have insufficient funds of the requested currency in your wallet." msgid "You have insufficient funds of the requested currency in your wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-contract.tsx:162 #. tslint:disable-next-line:max-line-length
#: src/webex/pages/confirm-contract.tsx:148
#, c-format #, c-format
msgid "" msgid ""
"You do not have any funds from an exchange that is accepted by this " "You do not have any funds from an exchange that is accepted by this "
@ -55,72 +56,67 @@ msgid ""
"wallet." "wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:197 #: src/webex/pages/confirm-create-reserve.tsx:204
#, c-format #, c-format
msgid "Withdrawal fees: %1$s" msgid "Withdrawal fees: %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:198 #: src/webex/pages/confirm-create-reserve.tsx:205
#, c-format #, c-format
msgid "Rounding loss: %1$s" msgid "Rounding loss: %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:199 #: src/webex/pages/confirm-create-reserve.tsx:206
#, c-format #, c-format
msgid "Earliest expiration (for deposit): %1$s" msgid "Earliest expiration (for deposit): %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:204 #: src/webex/pages/confirm-create-reserve.tsx:211
#, c-format #, c-format
msgid "# Coins" msgid "# Coins"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:205 #: src/webex/pages/confirm-create-reserve.tsx:212
#, c-format #, c-format
msgid "Value" msgid "Value"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:206 #: src/webex/pages/confirm-create-reserve.tsx:213
#, c-format #, c-format
msgid "Withdraw Fee" msgid "Withdraw Fee"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:207 #: src/webex/pages/confirm-create-reserve.tsx:214
#, c-format #, c-format
msgid "Refresh Fee" msgid "Refresh Fee"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:208 #: src/webex/pages/confirm-create-reserve.tsx:215
#, c-format #, c-format
msgid "Deposit Fee" msgid "Deposit Fee"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:246 #: src/webex/pages/confirm-create-reserve.tsx:268
#, c-format
msgid "Withdraw fees:"
msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:289
#, c-format #, c-format
msgid "Select" msgid "Select"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:305 #: src/webex/pages/confirm-create-reserve.tsx:284
#, c-format #, c-format
msgid "Error: URL may not be relative" msgid "Error: URL may not be relative"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:373 #: src/webex/pages/confirm-create-reserve.tsx:352
#, c-format #, c-format
msgid "The exchange is trusted by the wallet.\n" msgid "The exchange is trusted by the wallet.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:379 #: src/webex/pages/confirm-create-reserve.tsx:358
#, c-format #, c-format
msgid "The exchange is audited by a trusted auditor.\n" msgid "The exchange is audited by a trusted auditor.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:385 #: src/webex/pages/confirm-create-reserve.tsx:364
#, c-format #, c-format
msgid "" msgid ""
"Warning: The exchange is neither directly trusted nor audited by a trusted " "Warning: The exchange is neither directly trusted nor audited by a trusted "
@ -128,7 +124,7 @@ msgid ""
"If you withdraw from this exchange, it will be trusted in the future.\n" "If you withdraw from this exchange, it will be trusted in the future.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:394 #: src/webex/pages/confirm-create-reserve.tsx:373
#, c-format #, c-format
msgid "" msgid ""
"Using exchange provider%1$s.\n" "Using exchange provider%1$s.\n"
@ -136,63 +132,63 @@ msgid ""
" %2$s in fees.\n" " %2$s in fees.\n"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:408 #: src/webex/pages/confirm-create-reserve.tsx:387
#, c-format #, c-format
msgid "" msgid ""
"Waiting for a response from\n" "Waiting for a response from\n"
" %1$s" " %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:419 #: src/webex/pages/confirm-create-reserve.tsx:398
#, c-format #, c-format
msgid "A problem occured, see below. %1$s" msgid "A problem occured, see below. %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:425 #: src/webex/pages/confirm-create-reserve.tsx:404
#, c-format #, c-format
msgid "" msgid ""
"Information about fees will be available when an exchange provider is " "Information about fees will be available when an exchange provider is "
"selected." "selected."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:437 #: src/webex/pages/confirm-create-reserve.tsx:416
#, c-format #, c-format
msgid "Accept fees and withdraw" msgid "Accept fees and withdraw"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:442 #: src/webex/pages/confirm-create-reserve.tsx:421
#, c-format #, c-format
msgid "Change Exchange Provider" msgid "Change Exchange Provider"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:498 #: src/webex/pages/confirm-create-reserve.tsx:477
#, c-format #, c-format
msgid "You are about to withdraw %1$s from your bank account into your wallet." msgid "You are about to withdraw %1$s from your bank account into your wallet."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:581 #: src/webex/pages/confirm-create-reserve.tsx:560
#, c-format #, c-format
msgid "" msgid ""
"Oops, something went wrong. The wallet responded with error status (%1$s)." "Oops, something went wrong. The wallet responded with error status (%1$s)."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:592 #: src/webex/pages/confirm-create-reserve.tsx:571
#, c-format #, c-format
msgid "Checking URL, please wait ..." msgid "Checking URL, please wait ..."
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:606 #: src/webex/pages/confirm-create-reserve.tsx:585
#, c-format #, c-format
msgid "Can't parse amount: %1$s" msgid "Can't parse amount: %1$s"
msgstr "" msgstr ""
#: src/webex/pages/confirm-create-reserve.tsx:614 #: src/webex/pages/confirm-create-reserve.tsx:592
#, c-format #, c-format
msgid "Can't parse wire_types: %1$s" msgid "Can't parse wire_types: %1$s"
msgstr "" msgstr ""
#. TODO:generic error reporting function or component. #. TODO:generic error reporting function or component.
#: src/webex/pages/confirm-create-reserve.tsx:634 #: src/webex/pages/confirm-create-reserve.tsx:612
#, c-format #, c-format
msgid "Fatal error: \"%1$s\"." msgid "Fatal error: \"%1$s\"."
msgstr "" msgstr ""
@ -212,81 +208,85 @@ msgstr ""
msgid "Debug" msgid "Debug"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:241 #: src/webex/pages/popup.tsx:245
#, c-format #, c-format
msgid "help" msgid "help"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:246 #: src/webex/pages/popup.tsx:250
#, c-format #, c-format
msgid "" msgid ""
"You have no balance to show. Need some\n" "You have no balance to show. Need some\n"
" %1$s getting started?\n" " %1$s getting started?\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:263 #: src/webex/pages/popup.tsx:267
#, c-format #, c-format
msgid "%1$s incoming\n" msgid "%1$s incoming\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:276 #: src/webex/pages/popup.tsx:280
#, c-format #, c-format
msgid "%1$s being spent\n" msgid "%1$s being spent\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:302 #: src/webex/pages/popup.tsx:306
#, c-format #, c-format
msgid "Error: could not retrieve balance information." msgid "Error: could not retrieve balance information."
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:343 #: src/webex/pages/popup.tsx:345
#, c-format #, c-format
msgid "Bank requested reserve (%1$s) for%2$s.\n" msgid ""
"Bank requested reserve (%1$s) for\n"
" %2$s.\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:352 #: src/webex/pages/popup.tsx:356
#, c-format #, c-format
msgid "" msgid ""
"Started to withdraw\n" "Started to withdraw\n"
" %1$s from%2$s(%3$s).\n" " %1$s from%2$s(%3$s).\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:364 #: src/webex/pages/popup.tsx:366
#, c-format #, c-format
msgid "Merchant%1$soffered contract%2$s;\n" msgid "Merchant%1$soffered contract%2$s;\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:374 #: src/webex/pages/popup.tsx:376
#, c-format #, c-format
msgid "Withdrew%1$sfrom%2$s(%3$s).\n" msgid "Withdrew%1$sfrom%2$s(%3$s).\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:384 #: src/webex/pages/popup.tsx:386
#, c-format #, c-format
msgid "Paid%1$sto merchant%2$s. (%3$s)\n" msgid ""
"Paid%1$sto merchant%2$s.\n"
" (%3$s)\n"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:391 #: src/webex/pages/popup.tsx:395
#, c-format #, c-format
msgid "Unknown event (%1$s)" msgid "Unknown event (%1$s)"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:434 #: src/webex/pages/popup.tsx:438
#, c-format #, c-format
msgid "Error: could not retrieve event history" msgid "Error: could not retrieve event history"
msgstr "" msgstr ""
#: src/webex/pages/popup.tsx:468 #: src/webex/pages/popup.tsx:472
#, c-format #, c-format
msgid "Your wallet has no events recorded." msgid "Your wallet has no events recorded."
msgstr "" msgstr ""
#: src/webex/renderHtml.tsx:51 #: src/webex/renderHtml.tsx:49
#, c-format #, c-format
msgid "The merchant%1$swants to enter a contract over%2$s with you.\n" msgid "The merchant%1$swants to enter a contract over%2$s with you.\n"
msgstr "" msgstr ""
#: src/webex/renderHtml.tsx:56 #: src/webex/renderHtml.tsx:54
#, c-format #, c-format
msgid "You are about to purchase:" msgid "You are about to purchase:"
msgstr "" msgstr ""

View File

@ -50,7 +50,7 @@ class TimeoutHandle {
* Get a performance counter in milliseconds. * Get a performance counter in milliseconds.
*/ */
export let performanceNow = (() => { export let performanceNow = (() => {
if (typeof "process" !== "undefined") { if (typeof process !== "undefined" && process.hrtime) {
return () => { return () => {
const t = process.hrtime(); const t = process.hrtime();
return t[0] * 1e9 + t[1]; return t[0] * 1e9 + t[1];

View File

@ -3,6 +3,14 @@ const webpack = require('webpack');
const merge = require('webpack-merge'); const merge = require('webpack-merge');
function externalsCb(context, request, callback) {
if (/.*taler-emscripten-lib.*/.test(request)) {
callback(null, "undefined");
return;
}
callback();
}
module.exports = function (env) { module.exports = function (env) {
env = env || {}; env = env || {};
const base = { const base = {
@ -28,7 +36,10 @@ module.exports = function (env) {
}, },
plugins: [], plugins: [],
devtool: "source-map", devtool: "source-map",
externals: ["fs", "path", "child_process", /.*taler-emscripten-lib.*/], externals: [
externalsCb,
"child_process",
],
} }
if (env.prod) { if (env.prod) {
base.plugins.push(new webpack.optimize.UglifyJsPlugin()); base.plugins.push(new webpack.optimize.UglifyJsPlugin());

View File

@ -4297,11 +4297,7 @@ resolve-from@^2.0.0:
version "2.0.0" version "2.0.0"
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-2.0.0.tgz#9480ab20e94ffa1d9e80a804c7ea147611966b57" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-2.0.0.tgz#9480ab20e94ffa1d9e80a804c7ea147611966b57"
resolve@^1.1.6, resolve@^1.1.7: resolve@^1.1.6, resolve@^1.1.7, resolve@^1.3.2:
version "1.1.7"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
resolve@^1.3.2:
version "1.3.3" version "1.3.3"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.3.3.tgz#655907c3469a8680dc2de3a275a8fdd69691f0e5" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.3.3.tgz#655907c3469a8680dc2de3a275a8fdd69691f0e5"
dependencies: dependencies: