aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-23 01:14:45 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-23 01:14:45 +0100
commit7731ddd098d48fc54cd86b72d432493fe75399e4 (patch)
tree152f894ff2cca0fbc0581aca9612795c3ead075c /src
parent4000b3ae76b0a0ae137088cf2c718d924f3068bc (diff)
translations
Diffstat (limited to 'src')
-rw-r--r--src/i18n/de.po201
-rw-r--r--src/i18n/en-US.po187
-rw-r--r--src/i18n/fr.po187
-rw-r--r--src/i18n/it.po187
-rw-r--r--src/i18n/taler-wallet-webex.pot187
-rw-r--r--src/pages/confirm-contract.tsx9
-rw-r--r--src/pages/confirm-create-reserve.tsx59
-rw-r--r--src/popup/popup.tsx28
8 files changed, 912 insertions, 133 deletions
diff --git a/src/i18n/de.po b/src/i18n/de.po
index 81e091336..ddf21a9d6 100644
--- a/src/i18n/de.po
+++ b/src/i18n/de.po
@@ -27,30 +27,177 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: src/pages/confirm-contract.tsx:154
+#: src/pages/confirm-contract.tsx:61
+#, c-format
+msgid "show more details\n"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:75
+#, c-format
+msgid "Accepted exchanges:"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:80
+#, c-format
+msgid "Exchanges in the wallet:"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:156
#, c-format
msgid "You have insufficient funds of the requested currency in your wallet."
msgstr ""
-#: src/pages/confirm-contract.tsx:155
+#: src/pages/confirm-contract.tsx:157
#, c-format
msgid ""
"You do not have any funds from an exchange that is accepted by this "
-"merchant.\n"
-" None of the exchanges accepted by the merchant is known to "
-"your wallet."
+"merchant. None of the exchanges accepted "
+"by the merchant is known to your wallet."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:105
+#, fuzzy, c-format
+msgid "Withdrawal fees: %1$s"
+msgstr "Abheben bei %1$s"
+
+#: src/pages/confirm-create-reserve.tsx:106
+#, c-format
+msgid "Rounding loss: %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:109
+#, c-format
+msgid "# Coins"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:110
+#, c-format
+msgid "Value"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:111
+#, fuzzy, c-format
+msgid "Withdraw Fee"
+msgstr "Abheben bei %1$s"
+
+#: src/pages/confirm-create-reserve.tsx:112
+#, c-format
+msgid "Refresh Fee"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:113
+#, c-format
+msgid "Deposit Fee"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:146
+#, fuzzy, c-format
+msgid "Withdraw fees:"
+msgstr "Abheben bei %1$s"
+
+#: src/pages/confirm-create-reserve.tsx:180
+#, c-format
+msgid "view fee structure / select different exchange provider"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:194
+#, c-format
+msgid "Detailed Fee Structure"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:210
+#, c-format
+msgid ""
+"The exchange provider will charge\n"
+" %1$s in fees.\n"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:222
+#, c-format
+msgid ""
+"Waiting for a response from\n"
+" %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:233
+#, c-format
+msgid "A problem occured, see below."
msgstr ""
-#: src/pages/confirm-create-reserve.tsx:276
+#: src/pages/confirm-create-reserve.tsx:239
+#, c-format
+msgid ""
+"Information about fees will be available when an exchange provider is "
+"selected."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:247
+#, c-format
+msgid "You are about to withdraw %1$s from your bank account into your wallet."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:256
+#, c-format
+msgid "Accept fees and withdraw"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:278
#, c-format
msgid "Error: URL is empty"
msgstr ""
-#: src/pages/confirm-create-reserve.tsx:284
+#: src/pages/confirm-create-reserve.tsx:286
#, c-format
msgid "Error: URL may not be relative"
msgstr ""
+#: src/pages/confirm-create-reserve.tsx:344
+#, c-format
+msgid ""
+"Oops, something went wrong. The wallet responded with error status (%1$s)."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:371
+#, c-format
+msgid "Checking URL, please wait ..."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:385
+#, c-format
+msgid "Can't parse amount: %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:393
+#, c-format
+msgid "Can't parse wire_types: %1$s"
+msgstr ""
+
+#. TODO:generic error reporting function or component.
+#: src/pages/confirm-create-reserve.tsx:410
+#, c-format
+msgid "Fatal error: \"%1$s\"."
+msgstr ""
+
+#: src/popup/popup.tsx:173
+#, c-format
+msgid "Balance"
+msgstr "Saldo"
+
+#: src/popup/popup.tsx:176
+#, c-format
+msgid "History"
+msgstr "Verlauf"
+
+#: src/popup/popup.tsx:179
+#, c-format
+msgid "Debug"
+msgstr "Debug"
+
+#: src/popup/popup.tsx:239
+#, c-format
+msgid "help"
+msgstr ""
+
#: src/popup/popup.tsx:244
#, fuzzy, c-format
msgid ""
@@ -58,48 +205,58 @@ msgid ""
" %1$s getting started?\n"
msgstr "Sie haben kein Digitalgeld. Wollen Sie %1$s? abheben?"
-#: src/popup/popup.tsx:298
+#: src/popup/popup.tsx:261
+#, c-format
+msgid "%1$s incoming\n"
+msgstr ""
+
+#: src/popup/popup.tsx:274
+#, c-format
+msgid "%1$s being spent\n"
+msgstr ""
+
+#: src/popup/popup.tsx:300
#, c-format
msgid "Error: could not retrieve balance information."
msgstr ""
-#: src/popup/popup.tsx:338
+#: src/popup/popup.tsx:340
#, fuzzy, c-format
msgid "Bank requested reserve (%1$s) for %2$s."
msgstr "Bank bestätig anlegen der Reserve (%1$s) bei %2$s"
-#: src/popup/popup.tsx:349
+#: src/popup/popup.tsx:351
#, fuzzy, c-format
msgid "Started to withdraw %1$s from %2$s (%3$s)."
msgstr "Reserve (%1$s) mit %2$s bei %3$s erzeugt"
-#: src/popup/popup.tsx:359
+#: src/popup/popup.tsx:361
#, c-format
msgid "Merchant %1$s offered contract %2$s."
msgstr ""
-#: src/popup/popup.tsx:368
+#: src/popup/popup.tsx:371
#, fuzzy, c-format
msgid "Withdrew %1$s from %2$s (%3$s)."
msgstr "Reserve (%1$s) mit %2$s bei %3$s erzeugt"
-#: src/popup/popup.tsx:378
+#: src/popup/popup.tsx:382
#, fuzzy, c-format
msgid "Paid %1$s to merchant %2$s. (%3$s)"
msgstr "Reserve (%1$s) mit %2$s bei %3$s erzeugt"
-#: src/popup/popup.tsx:425
+#: src/popup/popup.tsx:429
#, c-format
msgid "Error: could not retrieve event history"
msgstr ""
-#: src/popup/popup.tsx:459
+#: src/popup/popup.tsx:463
#, c-format
msgid "Your wallet has no events recorded."
msgstr "Ihre Geldbörse verzeichnet keine Vorkommnisse."
#: src/renderHtml.tsx:42
-#, c-format
+#, fuzzy, c-format
msgid "You are about to purchase:"
msgstr "Sie sind dabei, Folgendes zu kaufen:"
@@ -115,18 +272,6 @@ msgstr "Sie sind dabei, Folgendes zu kaufen:"
#~ msgid "Confirm Payment"
#~ msgstr "Bezahlung bestätigen"
-#~ msgid "Balance"
-#~ msgstr "Saldo"
-
-#~ msgid "History"
-#~ msgstr "Verlauf"
-
-#~ msgid "Debug"
-#~ msgstr "Debug"
-
-#~ msgid "Withdraw at %1$s"
-#~ msgstr "Abheben bei %1$s"
-
#~ 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 85c964c3a..e69d57d14 100644
--- a/src/i18n/en-US.po
+++ b/src/i18n/en-US.po
@@ -27,30 +27,177 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: src/pages/confirm-contract.tsx:154
+#: src/pages/confirm-contract.tsx:61
+#, c-format
+msgid "show more details\n"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:75
+#, c-format
+msgid "Accepted exchanges:"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:80
+#, c-format
+msgid "Exchanges in the wallet:"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:156
#, c-format
msgid "You have insufficient funds of the requested currency in your wallet."
msgstr ""
-#: src/pages/confirm-contract.tsx:155
+#: src/pages/confirm-contract.tsx:157
#, c-format
msgid ""
"You do not have any funds from an exchange that is accepted by this "
-"merchant.\n"
-" None of the exchanges accepted by the merchant is known to "
-"your wallet."
+"merchant. None of the exchanges accepted "
+"by the merchant is known to your wallet."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:105
+#, c-format
+msgid "Withdrawal fees: %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:106
+#, c-format
+msgid "Rounding loss: %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:109
+#, c-format
+msgid "# Coins"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:110
+#, c-format
+msgid "Value"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:111
+#, c-format
+msgid "Withdraw Fee"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:112
+#, c-format
+msgid "Refresh Fee"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:113
+#, c-format
+msgid "Deposit Fee"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:146
+#, c-format
+msgid "Withdraw fees:"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:180
+#, c-format
+msgid "view fee structure / select different exchange provider"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:194
+#, c-format
+msgid "Detailed Fee Structure"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:210
+#, c-format
+msgid ""
+"The exchange provider will charge\n"
+" %1$s in fees.\n"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:222
+#, c-format
+msgid ""
+"Waiting for a response from\n"
+" %1$s"
msgstr ""
-#: src/pages/confirm-create-reserve.tsx:276
+#: src/pages/confirm-create-reserve.tsx:233
+#, c-format
+msgid "A problem occured, see below."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:239
+#, c-format
+msgid ""
+"Information about fees will be available when an exchange provider is "
+"selected."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:247
+#, c-format
+msgid "You are about to withdraw %1$s from your bank account into your wallet."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:256
+#, c-format
+msgid "Accept fees and withdraw"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:278
#, c-format
msgid "Error: URL is empty"
msgstr ""
-#: src/pages/confirm-create-reserve.tsx:284
+#: src/pages/confirm-create-reserve.tsx:286
#, c-format
msgid "Error: URL may not be relative"
msgstr ""
+#: src/pages/confirm-create-reserve.tsx:344
+#, c-format
+msgid ""
+"Oops, something went wrong. The wallet responded with error status (%1$s)."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:371
+#, c-format
+msgid "Checking URL, please wait ..."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:385
+#, c-format
+msgid "Can't parse amount: %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:393
+#, c-format
+msgid "Can't parse wire_types: %1$s"
+msgstr ""
+
+#. TODO:generic error reporting function or component.
+#: src/pages/confirm-create-reserve.tsx:410
+#, c-format
+msgid "Fatal error: \"%1$s\"."
+msgstr ""
+
+#: src/popup/popup.tsx:173
+#, c-format
+msgid "Balance"
+msgstr ""
+
+#: src/popup/popup.tsx:176
+#, c-format
+msgid "History"
+msgstr ""
+
+#: src/popup/popup.tsx:179
+#, c-format
+msgid "Debug"
+msgstr ""
+
+#: src/popup/popup.tsx:239
+#, c-format
+msgid "help"
+msgstr ""
+
#: src/popup/popup.tsx:244
#, c-format
msgid ""
@@ -58,42 +205,52 @@ msgid ""
" %1$s getting started?\n"
msgstr ""
-#: src/popup/popup.tsx:298
+#: src/popup/popup.tsx:261
+#, c-format
+msgid "%1$s incoming\n"
+msgstr ""
+
+#: src/popup/popup.tsx:274
+#, c-format
+msgid "%1$s being spent\n"
+msgstr ""
+
+#: src/popup/popup.tsx:300
#, c-format
msgid "Error: could not retrieve balance information."
msgstr ""
-#: src/popup/popup.tsx:338
+#: src/popup/popup.tsx:340
#, c-format
msgid "Bank requested reserve (%1$s) for %2$s."
msgstr ""
-#: src/popup/popup.tsx:349
+#: src/popup/popup.tsx:351
#, c-format
msgid "Started to withdraw %1$s from %2$s (%3$s)."
msgstr ""
-#: src/popup/popup.tsx:359
+#: src/popup/popup.tsx:361
#, c-format
msgid "Merchant %1$s offered contract %2$s."
msgstr ""
-#: src/popup/popup.tsx:368
+#: src/popup/popup.tsx:371
#, c-format
msgid "Withdrew %1$s from %2$s (%3$s)."
msgstr ""
-#: src/popup/popup.tsx:378
+#: src/popup/popup.tsx:382
#, c-format
msgid "Paid %1$s to merchant %2$s. (%3$s)"
msgstr ""
-#: src/popup/popup.tsx:425
+#: src/popup/popup.tsx:429
#, c-format
msgid "Error: could not retrieve event history"
msgstr ""
-#: src/popup/popup.tsx:459
+#: src/popup/popup.tsx:463
#, c-format
msgid "Your wallet has no events recorded."
msgstr ""
diff --git a/src/i18n/fr.po b/src/i18n/fr.po
index 29c14a8b8..e9c3d69b5 100644
--- a/src/i18n/fr.po
+++ b/src/i18n/fr.po
@@ -27,30 +27,177 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: src/pages/confirm-contract.tsx:154
+#: src/pages/confirm-contract.tsx:61
+#, c-format
+msgid "show more details\n"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:75
+#, c-format
+msgid "Accepted exchanges:"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:80
+#, c-format
+msgid "Exchanges in the wallet:"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:156
#, c-format
msgid "You have insufficient funds of the requested currency in your wallet."
msgstr ""
-#: src/pages/confirm-contract.tsx:155
+#: src/pages/confirm-contract.tsx:157
#, c-format
msgid ""
"You do not have any funds from an exchange that is accepted by this "
-"merchant.\n"
-" None of the exchanges accepted by the merchant is known to "
-"your wallet."
+"merchant. None of the exchanges accepted "
+"by the merchant is known to your wallet."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:105
+#, c-format
+msgid "Withdrawal fees: %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:106
+#, c-format
+msgid "Rounding loss: %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:109
+#, c-format
+msgid "# Coins"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:110
+#, c-format
+msgid "Value"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:111
+#, c-format
+msgid "Withdraw Fee"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:112
+#, c-format
+msgid "Refresh Fee"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:113
+#, c-format
+msgid "Deposit Fee"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:146
+#, c-format
+msgid "Withdraw fees:"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:180
+#, c-format
+msgid "view fee structure / select different exchange provider"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:194
+#, c-format
+msgid "Detailed Fee Structure"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:210
+#, c-format
+msgid ""
+"The exchange provider will charge\n"
+" %1$s in fees.\n"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:222
+#, c-format
+msgid ""
+"Waiting for a response from\n"
+" %1$s"
msgstr ""
-#: src/pages/confirm-create-reserve.tsx:276
+#: src/pages/confirm-create-reserve.tsx:233
+#, c-format
+msgid "A problem occured, see below."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:239
+#, c-format
+msgid ""
+"Information about fees will be available when an exchange provider is "
+"selected."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:247
+#, c-format
+msgid "You are about to withdraw %1$s from your bank account into your wallet."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:256
+#, c-format
+msgid "Accept fees and withdraw"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:278
#, c-format
msgid "Error: URL is empty"
msgstr ""
-#: src/pages/confirm-create-reserve.tsx:284
+#: src/pages/confirm-create-reserve.tsx:286
#, c-format
msgid "Error: URL may not be relative"
msgstr ""
+#: src/pages/confirm-create-reserve.tsx:344
+#, c-format
+msgid ""
+"Oops, something went wrong. The wallet responded with error status (%1$s)."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:371
+#, c-format
+msgid "Checking URL, please wait ..."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:385
+#, c-format
+msgid "Can't parse amount: %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:393
+#, c-format
+msgid "Can't parse wire_types: %1$s"
+msgstr ""
+
+#. TODO:generic error reporting function or component.
+#: src/pages/confirm-create-reserve.tsx:410
+#, c-format
+msgid "Fatal error: \"%1$s\"."
+msgstr ""
+
+#: src/popup/popup.tsx:173
+#, c-format
+msgid "Balance"
+msgstr ""
+
+#: src/popup/popup.tsx:176
+#, c-format
+msgid "History"
+msgstr ""
+
+#: src/popup/popup.tsx:179
+#, c-format
+msgid "Debug"
+msgstr ""
+
+#: src/popup/popup.tsx:239
+#, c-format
+msgid "help"
+msgstr ""
+
#: src/popup/popup.tsx:244
#, c-format
msgid ""
@@ -58,42 +205,52 @@ msgid ""
" %1$s getting started?\n"
msgstr ""
-#: src/popup/popup.tsx:298
+#: src/popup/popup.tsx:261
+#, c-format
+msgid "%1$s incoming\n"
+msgstr ""
+
+#: src/popup/popup.tsx:274
+#, c-format
+msgid "%1$s being spent\n"
+msgstr ""
+
+#: src/popup/popup.tsx:300
#, c-format
msgid "Error: could not retrieve balance information."
msgstr ""
-#: src/popup/popup.tsx:338
+#: src/popup/popup.tsx:340
#, c-format
msgid "Bank requested reserve (%1$s) for %2$s."
msgstr ""
-#: src/popup/popup.tsx:349
+#: src/popup/popup.tsx:351
#, c-format
msgid "Started to withdraw %1$s from %2$s (%3$s)."
msgstr ""
-#: src/popup/popup.tsx:359
+#: src/popup/popup.tsx:361
#, c-format
msgid "Merchant %1$s offered contract %2$s."
msgstr ""
-#: src/popup/popup.tsx:368
+#: src/popup/popup.tsx:371
#, c-format
msgid "Withdrew %1$s from %2$s (%3$s)."
msgstr ""
-#: src/popup/popup.tsx:378
+#: src/popup/popup.tsx:382
#, c-format
msgid "Paid %1$s to merchant %2$s. (%3$s)"
msgstr ""
-#: src/popup/popup.tsx:425
+#: src/popup/popup.tsx:429
#, c-format
msgid "Error: could not retrieve event history"
msgstr ""
-#: src/popup/popup.tsx:459
+#: src/popup/popup.tsx:463
#, c-format
msgid "Your wallet has no events recorded."
msgstr ""
diff --git a/src/i18n/it.po b/src/i18n/it.po
index 29c14a8b8..e9c3d69b5 100644
--- a/src/i18n/it.po
+++ b/src/i18n/it.po
@@ -27,30 +27,177 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: src/pages/confirm-contract.tsx:154
+#: src/pages/confirm-contract.tsx:61
+#, c-format
+msgid "show more details\n"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:75
+#, c-format
+msgid "Accepted exchanges:"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:80
+#, c-format
+msgid "Exchanges in the wallet:"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:156
#, c-format
msgid "You have insufficient funds of the requested currency in your wallet."
msgstr ""
-#: src/pages/confirm-contract.tsx:155
+#: src/pages/confirm-contract.tsx:157
#, c-format
msgid ""
"You do not have any funds from an exchange that is accepted by this "
-"merchant.\n"
-" None of the exchanges accepted by the merchant is known to "
-"your wallet."
+"merchant. None of the exchanges accepted "
+"by the merchant is known to your wallet."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:105
+#, c-format
+msgid "Withdrawal fees: %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:106
+#, c-format
+msgid "Rounding loss: %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:109
+#, c-format
+msgid "# Coins"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:110
+#, c-format
+msgid "Value"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:111
+#, c-format
+msgid "Withdraw Fee"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:112
+#, c-format
+msgid "Refresh Fee"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:113
+#, c-format
+msgid "Deposit Fee"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:146
+#, c-format
+msgid "Withdraw fees:"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:180
+#, c-format
+msgid "view fee structure / select different exchange provider"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:194
+#, c-format
+msgid "Detailed Fee Structure"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:210
+#, c-format
+msgid ""
+"The exchange provider will charge\n"
+" %1$s in fees.\n"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:222
+#, c-format
+msgid ""
+"Waiting for a response from\n"
+" %1$s"
msgstr ""
-#: src/pages/confirm-create-reserve.tsx:276
+#: src/pages/confirm-create-reserve.tsx:233
+#, c-format
+msgid "A problem occured, see below."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:239
+#, c-format
+msgid ""
+"Information about fees will be available when an exchange provider is "
+"selected."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:247
+#, c-format
+msgid "You are about to withdraw %1$s from your bank account into your wallet."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:256
+#, c-format
+msgid "Accept fees and withdraw"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:278
#, c-format
msgid "Error: URL is empty"
msgstr ""
-#: src/pages/confirm-create-reserve.tsx:284
+#: src/pages/confirm-create-reserve.tsx:286
#, c-format
msgid "Error: URL may not be relative"
msgstr ""
+#: src/pages/confirm-create-reserve.tsx:344
+#, c-format
+msgid ""
+"Oops, something went wrong. The wallet responded with error status (%1$s)."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:371
+#, c-format
+msgid "Checking URL, please wait ..."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:385
+#, c-format
+msgid "Can't parse amount: %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:393
+#, c-format
+msgid "Can't parse wire_types: %1$s"
+msgstr ""
+
+#. TODO:generic error reporting function or component.
+#: src/pages/confirm-create-reserve.tsx:410
+#, c-format
+msgid "Fatal error: \"%1$s\"."
+msgstr ""
+
+#: src/popup/popup.tsx:173
+#, c-format
+msgid "Balance"
+msgstr ""
+
+#: src/popup/popup.tsx:176
+#, c-format
+msgid "History"
+msgstr ""
+
+#: src/popup/popup.tsx:179
+#, c-format
+msgid "Debug"
+msgstr ""
+
+#: src/popup/popup.tsx:239
+#, c-format
+msgid "help"
+msgstr ""
+
#: src/popup/popup.tsx:244
#, c-format
msgid ""
@@ -58,42 +205,52 @@ msgid ""
" %1$s getting started?\n"
msgstr ""
-#: src/popup/popup.tsx:298
+#: src/popup/popup.tsx:261
+#, c-format
+msgid "%1$s incoming\n"
+msgstr ""
+
+#: src/popup/popup.tsx:274
+#, c-format
+msgid "%1$s being spent\n"
+msgstr ""
+
+#: src/popup/popup.tsx:300
#, c-format
msgid "Error: could not retrieve balance information."
msgstr ""
-#: src/popup/popup.tsx:338
+#: src/popup/popup.tsx:340
#, c-format
msgid "Bank requested reserve (%1$s) for %2$s."
msgstr ""
-#: src/popup/popup.tsx:349
+#: src/popup/popup.tsx:351
#, c-format
msgid "Started to withdraw %1$s from %2$s (%3$s)."
msgstr ""
-#: src/popup/popup.tsx:359
+#: src/popup/popup.tsx:361
#, c-format
msgid "Merchant %1$s offered contract %2$s."
msgstr ""
-#: src/popup/popup.tsx:368
+#: src/popup/popup.tsx:371
#, c-format
msgid "Withdrew %1$s from %2$s (%3$s)."
msgstr ""
-#: src/popup/popup.tsx:378
+#: src/popup/popup.tsx:382
#, c-format
msgid "Paid %1$s to merchant %2$s. (%3$s)"
msgstr ""
-#: src/popup/popup.tsx:425
+#: src/popup/popup.tsx:429
#, c-format
msgid "Error: could not retrieve event history"
msgstr ""
-#: src/popup/popup.tsx:459
+#: src/popup/popup.tsx:463
#, c-format
msgid "Your wallet has no events recorded."
msgstr ""
diff --git a/src/i18n/taler-wallet-webex.pot b/src/i18n/taler-wallet-webex.pot
index 29c14a8b8..e9c3d69b5 100644
--- a/src/i18n/taler-wallet-webex.pot
+++ b/src/i18n/taler-wallet-webex.pot
@@ -27,30 +27,177 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: src/pages/confirm-contract.tsx:154
+#: src/pages/confirm-contract.tsx:61
+#, c-format
+msgid "show more details\n"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:75
+#, c-format
+msgid "Accepted exchanges:"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:80
+#, c-format
+msgid "Exchanges in the wallet:"
+msgstr ""
+
+#: src/pages/confirm-contract.tsx:156
#, c-format
msgid "You have insufficient funds of the requested currency in your wallet."
msgstr ""
-#: src/pages/confirm-contract.tsx:155
+#: src/pages/confirm-contract.tsx:157
#, c-format
msgid ""
"You do not have any funds from an exchange that is accepted by this "
-"merchant.\n"
-" None of the exchanges accepted by the merchant is known to "
-"your wallet."
+"merchant. None of the exchanges accepted "
+"by the merchant is known to your wallet."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:105
+#, c-format
+msgid "Withdrawal fees: %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:106
+#, c-format
+msgid "Rounding loss: %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:109
+#, c-format
+msgid "# Coins"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:110
+#, c-format
+msgid "Value"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:111
+#, c-format
+msgid "Withdraw Fee"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:112
+#, c-format
+msgid "Refresh Fee"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:113
+#, c-format
+msgid "Deposit Fee"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:146
+#, c-format
+msgid "Withdraw fees:"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:180
+#, c-format
+msgid "view fee structure / select different exchange provider"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:194
+#, c-format
+msgid "Detailed Fee Structure"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:210
+#, c-format
+msgid ""
+"The exchange provider will charge\n"
+" %1$s in fees.\n"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:222
+#, c-format
+msgid ""
+"Waiting for a response from\n"
+" %1$s"
msgstr ""
-#: src/pages/confirm-create-reserve.tsx:276
+#: src/pages/confirm-create-reserve.tsx:233
+#, c-format
+msgid "A problem occured, see below."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:239
+#, c-format
+msgid ""
+"Information about fees will be available when an exchange provider is "
+"selected."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:247
+#, c-format
+msgid "You are about to withdraw %1$s from your bank account into your wallet."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:256
+#, c-format
+msgid "Accept fees and withdraw"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:278
#, c-format
msgid "Error: URL is empty"
msgstr ""
-#: src/pages/confirm-create-reserve.tsx:284
+#: src/pages/confirm-create-reserve.tsx:286
#, c-format
msgid "Error: URL may not be relative"
msgstr ""
+#: src/pages/confirm-create-reserve.tsx:344
+#, c-format
+msgid ""
+"Oops, something went wrong. The wallet responded with error status (%1$s)."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:371
+#, c-format
+msgid "Checking URL, please wait ..."
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:385
+#, c-format
+msgid "Can't parse amount: %1$s"
+msgstr ""
+
+#: src/pages/confirm-create-reserve.tsx:393
+#, c-format
+msgid "Can't parse wire_types: %1$s"
+msgstr ""
+
+#. TODO:generic error reporting function or component.
+#: src/pages/confirm-create-reserve.tsx:410
+#, c-format
+msgid "Fatal error: \"%1$s\"."
+msgstr ""
+
+#: src/popup/popup.tsx:173
+#, c-format
+msgid "Balance"
+msgstr ""
+
+#: src/popup/popup.tsx:176
+#, c-format
+msgid "History"
+msgstr ""
+
+#: src/popup/popup.tsx:179
+#, c-format
+msgid "Debug"
+msgstr ""
+
+#: src/popup/popup.tsx:239
+#, c-format
+msgid "help"
+msgstr ""
+
#: src/popup/popup.tsx:244
#, c-format
msgid ""
@@ -58,42 +205,52 @@ msgid ""
" %1$s getting started?\n"
msgstr ""
-#: src/popup/popup.tsx:298
+#: src/popup/popup.tsx:261
+#, c-format
+msgid "%1$s incoming\n"
+msgstr ""
+
+#: src/popup/popup.tsx:274
+#, c-format
+msgid "%1$s being spent\n"
+msgstr ""
+
+#: src/popup/popup.tsx:300
#, c-format
msgid "Error: could not retrieve balance information."
msgstr ""
-#: src/popup/popup.tsx:338
+#: src/popup/popup.tsx:340
#, c-format
msgid "Bank requested reserve (%1$s) for %2$s."
msgstr ""
-#: src/popup/popup.tsx:349
+#: src/popup/popup.tsx:351
#, c-format
msgid "Started to withdraw %1$s from %2$s (%3$s)."
msgstr ""
-#: src/popup/popup.tsx:359
+#: src/popup/popup.tsx:361
#, c-format
msgid "Merchant %1$s offered contract %2$s."
msgstr ""
-#: src/popup/popup.tsx:368
+#: src/popup/popup.tsx:371
#, c-format
msgid "Withdrew %1$s from %2$s (%3$s)."
msgstr ""
-#: src/popup/popup.tsx:378
+#: src/popup/popup.tsx:382
#, c-format
msgid "Paid %1$s to merchant %2$s. (%3$s)"
msgstr ""
-#: src/popup/popup.tsx:425
+#: src/popup/popup.tsx:429
#, c-format
msgid "Error: could not retrieve event history"
msgstr ""
-#: src/popup/popup.tsx:459
+#: src/popup/popup.tsx:463
#, c-format
msgid "Your wallet has no events recorded."
msgstr ""
diff --git a/src/pages/confirm-contract.tsx b/src/pages/confirm-contract.tsx
index 238ae2fb5..2ce3b0616 100644
--- a/src/pages/confirm-contract.tsx
+++ b/src/pages/confirm-contract.tsx
@@ -58,7 +58,9 @@ class Details extends React.Component<DetailProps, DetailState> {
<div>
<button className="linky"
onClick={() => { this.setState({collapsed: false} as any)}}>
+ <i18n.Translate wrap="span">
show more details
+ </i18n.Translate>
</button>
</div>
);
@@ -70,12 +72,12 @@ class Details extends React.Component<DetailProps, DetailState> {
show less details
</button>
<div>
- Accepted exchanges:
+ {i18n`Accepted exchanges:`}
<ul>
{this.props.contract.exchanges.map(
e => <li>{`${e.url}: ${e.master_pub}`}</li>)}
</ul>
- Exchanges in the wallet:
+ {i18n`Exchanges in the wallet:`}
<ul>
{(this.props.exchanges || []).map(
(e: ExchangeRecord) =>
@@ -152,8 +154,7 @@ class ContractPrompt extends React.Component<ContractPromptProps, ContractPrompt
switch (resp.error) {
case "coins-insufficient":
let msgInsufficient = i18n`You have insufficient funds of the requested currency in your wallet.`;
- let msgNoMatch = i18n`You do not have any funds from an exchange that is accepted by this merchant.
- None of the exchanges accepted by the merchant is known to your wallet.`;
+ let msgNoMatch = i18n`You do not have any funds from an exchange that is accepted by this merchant. None of the exchanges accepted by the merchant is known to your wallet.`;
if (this.state.exchanges && this.state.offer) {
let acceptedExchangePubs = this.state.offer.contract.exchanges.map((e) => e.master_pub);
let ex = this.state.exchanges.find((e) => acceptedExchangePubs.indexOf(e.masterPublicKey) >= 0);
diff --git a/src/pages/confirm-create-reserve.tsx b/src/pages/confirm-create-reserve.tsx
index 81a90650c..77a18a8a8 100644
--- a/src/pages/confirm-create-reserve.tsx
+++ b/src/pages/confirm-create-reserve.tsx
@@ -102,15 +102,15 @@ function renderReserveCreationDetails(rci: ReserveCreationInfo|null) {
return (
<div>
- <p>{`Withdrawal fees: ${withdrawFeeStr}`}</p>
- <p>{`Rounding loss: ${overheadStr}`}</p>
+ <p>{i18n`Withdrawal fees: ${withdrawFeeStr}`}</p>
+ <p>{i18n`Rounding loss: ${overheadStr}`}</p>
<table>
<thead>
- <th># Coins</th>
- <th>Value</th>
- <th>Withdraw Fee</th>
- <th>Refresh Fee</th>
- <th>Deposit fee</th>
+ <th>{i18n`# Coins`}</th>
+ <th>{i18n`Value`}</th>
+ <th>{i18n`Withdraw Fee`}</th>
+ <th>{i18n`Refresh Fee`}</th>
+ <th>{i18n`Deposit Fee`}</th>
</thead>
<tbody>
{uniq.map(row)}
@@ -143,7 +143,7 @@ function WithdrawFee(props: {reserveCreationInfo: ReserveCreationInfo|null}): JS
if (props.reserveCreationInfo) {
let {overhead, withdrawFee} = props.reserveCreationInfo;
let totalCost = Amounts.add(overhead, withdrawFee).amount;
- return <p>Withdraw fees: {amountToPretty(totalCost)}</p>;
+ return <p>{i18n`Withdraw fees:`} {amountToPretty(totalCost)}</p>;
}
return <p />;
}
@@ -177,7 +177,7 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
return (
<button className="linky"
onClick={() => this.detailCollapsed(false)}>
- view fee structure / select different exchange provider
+ {i18n`view fee structure / select different exchange provider`}
</button>
);
}
@@ -191,7 +191,7 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
onInput={(e) => this.onUrlChanged((e.target as HTMLInputElement).value)}/>
<br />
{this.renderStatus()}
- <h2>Detailed Fee Structure</h2>
+ <h2>{i18n`Detailed Fee Structure`}</h2>
{renderReserveCreationDetails(this.reserveCreationInfo())}
</div>)
}
@@ -208,33 +208,35 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
renderFeeStatus() {
if (this.reserveCreationInfo()) {
return (
- <p>
+ <i18n.Translate wrap="p">
The exchange provider will charge
{" "}
- {this.renderFee()}
+ <span>{this.renderFee()}</span>
{" "}
in fees.
- </p>
+ </i18n.Translate>
);
}
if (this.url() && !this.statusString()) {
let shortName = URI(this.url()!).host();
- return <p>
- Waiting for a response from
- {" "}
- <em>{shortName}</em>
- </p>;
+ return (
+ <i18n.Translate wrap="p">
+ Waiting for a response from
+ {" "}
+ <em>{shortName}</em>
+ </i18n.Translate>
+ );
}
if (this.statusString()) {
return (
<p>
- <strong style={{color: "red"}}>A problem occured, see below.</strong>
+ <strong style={{color: "red"}}>{i18n`A problem occured, see below.`}</strong>
</p>
);
}
return (
<p>
- Information about fees will be available when an exchange provider is selected.
+ {i18n`Information about fees will be available when an exchange provider is selected.`}
</p>
);
}
@@ -242,16 +244,16 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
render(): JSX.Element {
return (
<div>
- <p>
+ <i18n.Translate wrap="p">
{"You are about to withdraw "}
<strong>{amountToPretty(this.props.amount)}</strong>
{" from your bank account into your wallet."}
- </p>
+ </i18n.Translate>
{this.renderFeeStatus()}
<button className="accept"
disabled={this.reserveCreationInfo() == null}
onClick={() => this.confirmReserve()}>
- Accept fees and withdraw
+ {i18n`Accept fees and withdraw`}
</button>
<br/>
{this.renderAdvanced()}
@@ -340,8 +342,7 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
} else {
this.reset();
this.statusString(
- `Oops, something went wrong.` +
- `The wallet responded with error status (${rawResp.error}).`);
+ i18n`Oops, something went wrong. The wallet responded with error status (${rawResp.error}).`);
this.detailCollapsed(false);
}
};
@@ -367,7 +368,7 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
if (this.statusString()) {
return <p><strong style={{color: "red"}}>{this.statusString()}</strong></p>;
} else if (!this.reserveCreationInfo()) {
- return <p>Checking URL, please wait ...</p>;
+ return <p>{i18n`Checking URL, please wait ...`}</p>;
}
return "";
}
@@ -381,7 +382,7 @@ export async function main() {
try {
amount = AmountJson.checked(JSON.parse(query.amount));
} catch (e) {
- throw Error(`Can't parse amount: ${e.message}`);
+ throw Error(i18n`Can't parse amount: ${e.message}`);
}
const callback_url = query.callback_url;
const bank_url = query.bank_url;
@@ -389,7 +390,7 @@ export async function main() {
try {
wt_types = JSON.parse(query.wt_types);
} catch (e) {
- throw Error(`Can't parse wire_types: ${e.message}`);
+ throw Error(i18n`Can't parse wire_types: ${e.message}`);
}
const suggestedExchangeUrl = await getSuggestedExchange(amount.currency);
@@ -406,7 +407,7 @@ export async function main() {
} catch (e) {
// TODO: provide more context information, maybe factor it out into a
// TODO:generic error reporting function or component.
- document.body.innerText = `Fatal error: "${e.message}".`;
+ document.body.innerText = i18n`Fatal error: "${e.message}".`;
console.error(`got error "${e.message}"`, e);
}
}
diff --git a/src/popup/popup.tsx b/src/popup/popup.tsx
index e9fa6a87b..b97a361e9 100644
--- a/src/popup/popup.tsx
+++ b/src/popup/popup.tsx
@@ -170,13 +170,13 @@ class WalletNavBar extends React.Component<any,any> {
return (
<div className="nav" id="header">
<Tab target="/balance">
- Balance
+ {i18n`Balance`}
</Tab>
<Tab target="/history">
- History
+ {i18n`History`}
</Tab>
<Tab target="/debug">
- Debug
+ {i18n`Debug`}
</Tab>
</div>);
}
@@ -236,14 +236,14 @@ class WalletBalanceView extends React.Component<any, any> {
renderEmpty(): JSX.Element {
let helpLink = (
<ExtensionLink target="/src/pages/help/empty-wallet.html">
- help
+ {i18n`help`}
</ExtensionLink>
);
return (
<div>
<i18n.Translate>
You have no balance to show. Need some
- {" "}{helpLink}{" "}
+ {" "}<span>{helpLink}</span>{" "}
getting started?
</i18n.Translate>
</div>
@@ -259,25 +259,27 @@ class WalletBalanceView extends React.Component<any, any> {
if (Amounts.isNonZero(entry.pendingIncoming)) {
incoming = (
- <span>
+ <i18n.Translate wrap="span">
<span style={{color: "darkgreen"}}>
{"+"}
{prettyAmount(entry.pendingIncoming)}
</span>
{" "}
incoming
- </span>);
+ </i18n.Translate>
+ );
}
if (Amounts.isNonZero(entry.pendingPayment)) {
payment = (
- <span>
+ <i18n.Translate wrap="span">
<span style={{color: "darkblue"}}>
{prettyAmount(entry.pendingPayment)}
</span>
{" "}
being spent
- </span>);
+ </i18n.Translate>
+ );
}
let l = [incoming, payment].filter((x) => x !== undefined);
@@ -364,9 +366,11 @@ function formatHistoryItem(historyItem: HistoryRecord) {
let exchange = d.exchangeBaseUrl ? URI(d.exchangeBaseUrl).host() : "??";
let amount = prettyAmount(d.requestedAmount);
let pub = abbrev(d.reservePub);
- return (<p>
- {i18n.parts`Withdrew ${amount} from ${exchange} (${pub}).`}
- </p>);
+ return (
+ <p>
+ {i18n.parts`Withdrew ${amount} from ${exchange} (${pub}).`}
+ </p>
+ );
}
case "pay": {
let url = substituteFulfillmentUrl(d.fulfillmentUrl,