translations

This commit is contained in:
Florian Dold 2016-11-23 01:14:45 +01:00
parent 4000b3ae76
commit 7731ddd098
8 changed files with 912 additions and 133 deletions

View File

@ -27,30 +27,177 @@ 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/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 #, 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/pages/confirm-contract.tsx:155 #: src/pages/confirm-contract.tsx:157
#, 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 "
"merchant.\n" "merchant. None of the exchanges accepted "
" None of the exchanges accepted by the merchant is known to " "by the merchant is known to your wallet."
"your wallet."
msgstr "" msgstr ""
#: src/pages/confirm-create-reserve.tsx:276 #: 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: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 #, c-format
msgid "Error: URL is empty" msgid "Error: URL is empty"
msgstr "" msgstr ""
#: src/pages/confirm-create-reserve.tsx:284 #: src/pages/confirm-create-reserve.tsx:286
#, c-format #, c-format
msgid "Error: URL may not be relative" msgid "Error: URL may not be relative"
msgstr "" 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 #: src/popup/popup.tsx:244
#, fuzzy, c-format #, fuzzy, c-format
msgid "" msgid ""
@ -58,48 +205,58 @@ msgid ""
" %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/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 #, c-format
msgid "Error: could not retrieve balance information." msgid "Error: could not retrieve balance information."
msgstr "" msgstr ""
#: src/popup/popup.tsx:338 #: src/popup/popup.tsx:340
#, fuzzy, c-format #, fuzzy, c-format
msgid "Bank requested reserve (%1$s) for %2$s." msgid "Bank requested reserve (%1$s) for %2$s."
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/popup/popup.tsx:349 #: src/popup/popup.tsx:351
#, fuzzy, c-format #, fuzzy, c-format
msgid "Started to withdraw %1$s from %2$s (%3$s)." msgid "Started to withdraw %1$s from %2$s (%3$s)."
msgstr "Reserve (%1$s) mit %2$s bei %3$s erzeugt" msgstr "Reserve (%1$s) mit %2$s bei %3$s erzeugt"
#: src/popup/popup.tsx:359 #: src/popup/popup.tsx:361
#, c-format #, c-format
msgid "Merchant %1$s offered contract %2$s." msgid "Merchant %1$s offered contract %2$s."
msgstr "" msgstr ""
#: src/popup/popup.tsx:368 #: src/popup/popup.tsx:371
#, fuzzy, c-format #, fuzzy, c-format
msgid "Withdrew %1$s from %2$s (%3$s)." msgid "Withdrew %1$s from %2$s (%3$s)."
msgstr "Reserve (%1$s) mit %2$s bei %3$s erzeugt" msgstr "Reserve (%1$s) mit %2$s bei %3$s erzeugt"
#: src/popup/popup.tsx:378 #: src/popup/popup.tsx:382
#, fuzzy, c-format #, fuzzy, c-format
msgid "Paid %1$s to merchant %2$s. (%3$s)" msgid "Paid %1$s to merchant %2$s. (%3$s)"
msgstr "Reserve (%1$s) mit %2$s bei %3$s erzeugt" msgstr "Reserve (%1$s) mit %2$s bei %3$s erzeugt"
#: src/popup/popup.tsx:425 #: src/popup/popup.tsx:429
#, c-format #, c-format
msgid "Error: could not retrieve event history" msgid "Error: could not retrieve event history"
msgstr "" msgstr ""
#: src/popup/popup.tsx:459 #: src/popup/popup.tsx:463
#, 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/renderHtml.tsx:42 #: src/renderHtml.tsx:42
#, 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:"
@ -115,18 +272,6 @@ msgstr "Sie sind dabei, Folgendes zu kaufen:"
#~ msgid "Confirm Payment" #~ msgid "Confirm Payment"
#~ msgstr "Bezahlung bestätigen" #~ 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" #~ msgid "Wallet depleted reserve (%1$s) at %2$s"
#~ msgstr "Geldbörse hat die Reserve (%1$s) erschöpft" #~ msgstr "Geldbörse hat die Reserve (%1$s) erschöpft"

View File

@ -27,30 +27,177 @@ 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/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 #, 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/pages/confirm-contract.tsx:155 #: src/pages/confirm-contract.tsx:157
#, 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 "
"merchant.\n" "merchant. None of the exchanges accepted "
" None of the exchanges accepted by the merchant is known to " "by the merchant is known to your wallet."
"your wallet."
msgstr "" msgstr ""
#: src/pages/confirm-create-reserve.tsx:276 #: 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: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 #, c-format
msgid "Error: URL is empty" msgid "Error: URL is empty"
msgstr "" msgstr ""
#: src/pages/confirm-create-reserve.tsx:284 #: src/pages/confirm-create-reserve.tsx:286
#, c-format #, c-format
msgid "Error: URL may not be relative" msgid "Error: URL may not be relative"
msgstr "" 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 #: src/popup/popup.tsx:244
#, c-format #, c-format
msgid "" msgid ""
@ -58,42 +205,52 @@ msgid ""
" %1$s getting started?\n" " %1$s getting started?\n"
msgstr "" 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 #, c-format
msgid "Error: could not retrieve balance information." msgid "Error: could not retrieve balance information."
msgstr "" msgstr ""
#: src/popup/popup.tsx:338 #: src/popup/popup.tsx:340
#, c-format #, c-format
msgid "Bank requested reserve (%1$s) for %2$s." msgid "Bank requested reserve (%1$s) for %2$s."
msgstr "" msgstr ""
#: src/popup/popup.tsx:349 #: src/popup/popup.tsx:351
#, c-format #, c-format
msgid "Started to withdraw %1$s from %2$s (%3$s)." msgid "Started to withdraw %1$s from %2$s (%3$s)."
msgstr "" msgstr ""
#: src/popup/popup.tsx:359 #: src/popup/popup.tsx:361
#, c-format #, c-format
msgid "Merchant %1$s offered contract %2$s." msgid "Merchant %1$s offered contract %2$s."
msgstr "" msgstr ""
#: src/popup/popup.tsx:368 #: src/popup/popup.tsx:371
#, c-format #, c-format
msgid "Withdrew %1$s from %2$s (%3$s)." msgid "Withdrew %1$s from %2$s (%3$s)."
msgstr "" msgstr ""
#: src/popup/popup.tsx:378 #: src/popup/popup.tsx:382
#, c-format #, c-format
msgid "Paid %1$s to merchant %2$s. (%3$s)" msgid "Paid %1$s to merchant %2$s. (%3$s)"
msgstr "" msgstr ""
#: src/popup/popup.tsx:425 #: src/popup/popup.tsx:429
#, c-format #, c-format
msgid "Error: could not retrieve event history" msgid "Error: could not retrieve event history"
msgstr "" msgstr ""
#: src/popup/popup.tsx:459 #: src/popup/popup.tsx:463
#, c-format #, c-format
msgid "Your wallet has no events recorded." msgid "Your wallet has no events recorded."
msgstr "" msgstr ""

View File

@ -27,30 +27,177 @@ 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/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 #, 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/pages/confirm-contract.tsx:155 #: src/pages/confirm-contract.tsx:157
#, 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 "
"merchant.\n" "merchant. None of the exchanges accepted "
" None of the exchanges accepted by the merchant is known to " "by the merchant is known to your wallet."
"your wallet."
msgstr "" msgstr ""
#: src/pages/confirm-create-reserve.tsx:276 #: 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: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 #, c-format
msgid "Error: URL is empty" msgid "Error: URL is empty"
msgstr "" msgstr ""
#: src/pages/confirm-create-reserve.tsx:284 #: src/pages/confirm-create-reserve.tsx:286
#, c-format #, c-format
msgid "Error: URL may not be relative" msgid "Error: URL may not be relative"
msgstr "" 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 #: src/popup/popup.tsx:244
#, c-format #, c-format
msgid "" msgid ""
@ -58,42 +205,52 @@ msgid ""
" %1$s getting started?\n" " %1$s getting started?\n"
msgstr "" 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 #, c-format
msgid "Error: could not retrieve balance information." msgid "Error: could not retrieve balance information."
msgstr "" msgstr ""
#: src/popup/popup.tsx:338 #: src/popup/popup.tsx:340
#, c-format #, c-format
msgid "Bank requested reserve (%1$s) for %2$s." msgid "Bank requested reserve (%1$s) for %2$s."
msgstr "" msgstr ""
#: src/popup/popup.tsx:349 #: src/popup/popup.tsx:351
#, c-format #, c-format
msgid "Started to withdraw %1$s from %2$s (%3$s)." msgid "Started to withdraw %1$s from %2$s (%3$s)."
msgstr "" msgstr ""
#: src/popup/popup.tsx:359 #: src/popup/popup.tsx:361
#, c-format #, c-format
msgid "Merchant %1$s offered contract %2$s." msgid "Merchant %1$s offered contract %2$s."
msgstr "" msgstr ""
#: src/popup/popup.tsx:368 #: src/popup/popup.tsx:371
#, c-format #, c-format
msgid "Withdrew %1$s from %2$s (%3$s)." msgid "Withdrew %1$s from %2$s (%3$s)."
msgstr "" msgstr ""
#: src/popup/popup.tsx:378 #: src/popup/popup.tsx:382
#, c-format #, c-format
msgid "Paid %1$s to merchant %2$s. (%3$s)" msgid "Paid %1$s to merchant %2$s. (%3$s)"
msgstr "" msgstr ""
#: src/popup/popup.tsx:425 #: src/popup/popup.tsx:429
#, c-format #, c-format
msgid "Error: could not retrieve event history" msgid "Error: could not retrieve event history"
msgstr "" msgstr ""
#: src/popup/popup.tsx:459 #: src/popup/popup.tsx:463
#, c-format #, c-format
msgid "Your wallet has no events recorded." msgid "Your wallet has no events recorded."
msgstr "" msgstr ""

View File

@ -27,30 +27,177 @@ 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/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 #, 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/pages/confirm-contract.tsx:155 #: src/pages/confirm-contract.tsx:157
#, 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 "
"merchant.\n" "merchant. None of the exchanges accepted "
" None of the exchanges accepted by the merchant is known to " "by the merchant is known to your wallet."
"your wallet."
msgstr "" msgstr ""
#: src/pages/confirm-create-reserve.tsx:276 #: 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: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 #, c-format
msgid "Error: URL is empty" msgid "Error: URL is empty"
msgstr "" msgstr ""
#: src/pages/confirm-create-reserve.tsx:284 #: src/pages/confirm-create-reserve.tsx:286
#, c-format #, c-format
msgid "Error: URL may not be relative" msgid "Error: URL may not be relative"
msgstr "" 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 #: src/popup/popup.tsx:244
#, c-format #, c-format
msgid "" msgid ""
@ -58,42 +205,52 @@ msgid ""
" %1$s getting started?\n" " %1$s getting started?\n"
msgstr "" 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 #, c-format
msgid "Error: could not retrieve balance information." msgid "Error: could not retrieve balance information."
msgstr "" msgstr ""
#: src/popup/popup.tsx:338 #: src/popup/popup.tsx:340
#, c-format #, c-format
msgid "Bank requested reserve (%1$s) for %2$s." msgid "Bank requested reserve (%1$s) for %2$s."
msgstr "" msgstr ""
#: src/popup/popup.tsx:349 #: src/popup/popup.tsx:351
#, c-format #, c-format
msgid "Started to withdraw %1$s from %2$s (%3$s)." msgid "Started to withdraw %1$s from %2$s (%3$s)."
msgstr "" msgstr ""
#: src/popup/popup.tsx:359 #: src/popup/popup.tsx:361
#, c-format #, c-format
msgid "Merchant %1$s offered contract %2$s." msgid "Merchant %1$s offered contract %2$s."
msgstr "" msgstr ""
#: src/popup/popup.tsx:368 #: src/popup/popup.tsx:371
#, c-format #, c-format
msgid "Withdrew %1$s from %2$s (%3$s)." msgid "Withdrew %1$s from %2$s (%3$s)."
msgstr "" msgstr ""
#: src/popup/popup.tsx:378 #: src/popup/popup.tsx:382
#, c-format #, c-format
msgid "Paid %1$s to merchant %2$s. (%3$s)" msgid "Paid %1$s to merchant %2$s. (%3$s)"
msgstr "" msgstr ""
#: src/popup/popup.tsx:425 #: src/popup/popup.tsx:429
#, c-format #, c-format
msgid "Error: could not retrieve event history" msgid "Error: could not retrieve event history"
msgstr "" msgstr ""
#: src/popup/popup.tsx:459 #: src/popup/popup.tsx:463
#, c-format #, c-format
msgid "Your wallet has no events recorded." msgid "Your wallet has no events recorded."
msgstr "" msgstr ""

View File

@ -27,30 +27,177 @@ 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/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 #, 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/pages/confirm-contract.tsx:155 #: src/pages/confirm-contract.tsx:157
#, 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 "
"merchant.\n" "merchant. None of the exchanges accepted "
" None of the exchanges accepted by the merchant is known to " "by the merchant is known to your wallet."
"your wallet."
msgstr "" msgstr ""
#: src/pages/confirm-create-reserve.tsx:276 #: 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: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 #, c-format
msgid "Error: URL is empty" msgid "Error: URL is empty"
msgstr "" msgstr ""
#: src/pages/confirm-create-reserve.tsx:284 #: src/pages/confirm-create-reserve.tsx:286
#, c-format #, c-format
msgid "Error: URL may not be relative" msgid "Error: URL may not be relative"
msgstr "" 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 #: src/popup/popup.tsx:244
#, c-format #, c-format
msgid "" msgid ""
@ -58,42 +205,52 @@ msgid ""
" %1$s getting started?\n" " %1$s getting started?\n"
msgstr "" 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 #, c-format
msgid "Error: could not retrieve balance information." msgid "Error: could not retrieve balance information."
msgstr "" msgstr ""
#: src/popup/popup.tsx:338 #: src/popup/popup.tsx:340
#, c-format #, c-format
msgid "Bank requested reserve (%1$s) for %2$s." msgid "Bank requested reserve (%1$s) for %2$s."
msgstr "" msgstr ""
#: src/popup/popup.tsx:349 #: src/popup/popup.tsx:351
#, c-format #, c-format
msgid "Started to withdraw %1$s from %2$s (%3$s)." msgid "Started to withdraw %1$s from %2$s (%3$s)."
msgstr "" msgstr ""
#: src/popup/popup.tsx:359 #: src/popup/popup.tsx:361
#, c-format #, c-format
msgid "Merchant %1$s offered contract %2$s." msgid "Merchant %1$s offered contract %2$s."
msgstr "" msgstr ""
#: src/popup/popup.tsx:368 #: src/popup/popup.tsx:371
#, c-format #, c-format
msgid "Withdrew %1$s from %2$s (%3$s)." msgid "Withdrew %1$s from %2$s (%3$s)."
msgstr "" msgstr ""
#: src/popup/popup.tsx:378 #: src/popup/popup.tsx:382
#, c-format #, c-format
msgid "Paid %1$s to merchant %2$s. (%3$s)" msgid "Paid %1$s to merchant %2$s. (%3$s)"
msgstr "" msgstr ""
#: src/popup/popup.tsx:425 #: src/popup/popup.tsx:429
#, c-format #, c-format
msgid "Error: could not retrieve event history" msgid "Error: could not retrieve event history"
msgstr "" msgstr ""
#: src/popup/popup.tsx:459 #: src/popup/popup.tsx:463
#, c-format #, c-format
msgid "Your wallet has no events recorded." msgid "Your wallet has no events recorded."
msgstr "" msgstr ""

View File

@ -58,7 +58,9 @@ class Details extends React.Component<DetailProps, DetailState> {
<div> <div>
<button className="linky" <button className="linky"
onClick={() => { this.setState({collapsed: false} as any)}}> onClick={() => { this.setState({collapsed: false} as any)}}>
<i18n.Translate wrap="span">
show more details show more details
</i18n.Translate>
</button> </button>
</div> </div>
); );
@ -70,12 +72,12 @@ class Details extends React.Component<DetailProps, DetailState> {
show less details show less details
</button> </button>
<div> <div>
Accepted exchanges: {i18n`Accepted exchanges:`}
<ul> <ul>
{this.props.contract.exchanges.map( {this.props.contract.exchanges.map(
e => <li>{`${e.url}: ${e.master_pub}`}</li>)} e => <li>{`${e.url}: ${e.master_pub}`}</li>)}
</ul> </ul>
Exchanges in the wallet: {i18n`Exchanges in the wallet:`}
<ul> <ul>
{(this.props.exchanges || []).map( {(this.props.exchanges || []).map(
(e: ExchangeRecord) => (e: ExchangeRecord) =>
@ -152,8 +154,7 @@ class ContractPrompt extends React.Component<ContractPromptProps, ContractPrompt
switch (resp.error) { switch (resp.error) {
case "coins-insufficient": case "coins-insufficient":
let msgInsufficient = i18n`You have insufficient funds of the requested currency in your wallet.`; 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. 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.`;
None of the exchanges accepted by the merchant is known to your wallet.`;
if (this.state.exchanges && this.state.offer) { if (this.state.exchanges && this.state.offer) {
let acceptedExchangePubs = this.state.offer.contract.exchanges.map((e) => e.master_pub); let acceptedExchangePubs = this.state.offer.contract.exchanges.map((e) => e.master_pub);
let ex = this.state.exchanges.find((e) => acceptedExchangePubs.indexOf(e.masterPublicKey) >= 0); let ex = this.state.exchanges.find((e) => acceptedExchangePubs.indexOf(e.masterPublicKey) >= 0);

View File

@ -102,15 +102,15 @@ function renderReserveCreationDetails(rci: ReserveCreationInfo|null) {
return ( return (
<div> <div>
<p>{`Withdrawal fees: ${withdrawFeeStr}`}</p> <p>{i18n`Withdrawal fees: ${withdrawFeeStr}`}</p>
<p>{`Rounding loss: ${overheadStr}`}</p> <p>{i18n`Rounding loss: ${overheadStr}`}</p>
<table> <table>
<thead> <thead>
<th># Coins</th> <th>{i18n`# Coins`}</th>
<th>Value</th> <th>{i18n`Value`}</th>
<th>Withdraw Fee</th> <th>{i18n`Withdraw Fee`}</th>
<th>Refresh Fee</th> <th>{i18n`Refresh Fee`}</th>
<th>Deposit fee</th> <th>{i18n`Deposit Fee`}</th>
</thead> </thead>
<tbody> <tbody>
{uniq.map(row)} {uniq.map(row)}
@ -143,7 +143,7 @@ function WithdrawFee(props: {reserveCreationInfo: ReserveCreationInfo|null}): JS
if (props.reserveCreationInfo) { if (props.reserveCreationInfo) {
let {overhead, withdrawFee} = props.reserveCreationInfo; let {overhead, withdrawFee} = props.reserveCreationInfo;
let totalCost = Amounts.add(overhead, withdrawFee).amount; let totalCost = Amounts.add(overhead, withdrawFee).amount;
return <p>Withdraw fees: {amountToPretty(totalCost)}</p>; return <p>{i18n`Withdraw fees:`} {amountToPretty(totalCost)}</p>;
} }
return <p />; return <p />;
} }
@ -177,7 +177,7 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
return ( return (
<button className="linky" <button className="linky"
onClick={() => this.detailCollapsed(false)}> onClick={() => this.detailCollapsed(false)}>
view fee structure / select different exchange provider {i18n`view fee structure / select different exchange provider`}
</button> </button>
); );
} }
@ -191,7 +191,7 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
onInput={(e) => this.onUrlChanged((e.target as HTMLInputElement).value)}/> onInput={(e) => this.onUrlChanged((e.target as HTMLInputElement).value)}/>
<br /> <br />
{this.renderStatus()} {this.renderStatus()}
<h2>Detailed Fee Structure</h2> <h2>{i18n`Detailed Fee Structure`}</h2>
{renderReserveCreationDetails(this.reserveCreationInfo())} {renderReserveCreationDetails(this.reserveCreationInfo())}
</div>) </div>)
} }
@ -208,33 +208,35 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
renderFeeStatus() { renderFeeStatus() {
if (this.reserveCreationInfo()) { if (this.reserveCreationInfo()) {
return ( return (
<p> <i18n.Translate wrap="p">
The exchange provider will charge The exchange provider will charge
{" "} {" "}
{this.renderFee()} <span>{this.renderFee()}</span>
{" "} {" "}
in fees. in fees.
</p> </i18n.Translate>
); );
} }
if (this.url() && !this.statusString()) { if (this.url() && !this.statusString()) {
let shortName = URI(this.url()!).host(); let shortName = URI(this.url()!).host();
return <p> return (
<i18n.Translate wrap="p">
Waiting for a response from Waiting for a response from
{" "} {" "}
<em>{shortName}</em> <em>{shortName}</em>
</p>; </i18n.Translate>
);
} }
if (this.statusString()) { if (this.statusString()) {
return ( return (
<p> <p>
<strong style={{color: "red"}}>A problem occured, see below.</strong> <strong style={{color: "red"}}>{i18n`A problem occured, see below.`}</strong>
</p> </p>
); );
} }
return ( return (
<p> <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> </p>
); );
} }
@ -242,16 +244,16 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
render(): JSX.Element { render(): JSX.Element {
return ( return (
<div> <div>
<p> <i18n.Translate wrap="p">
{"You are about to withdraw "} {"You are about to withdraw "}
<strong>{amountToPretty(this.props.amount)}</strong> <strong>{amountToPretty(this.props.amount)}</strong>
{" from your bank account into your wallet."} {" from your bank account into your wallet."}
</p> </i18n.Translate>
{this.renderFeeStatus()} {this.renderFeeStatus()}
<button className="accept" <button className="accept"
disabled={this.reserveCreationInfo() == null} disabled={this.reserveCreationInfo() == null}
onClick={() => this.confirmReserve()}> onClick={() => this.confirmReserve()}>
Accept fees and withdraw {i18n`Accept fees and withdraw`}
</button> </button>
<br/> <br/>
{this.renderAdvanced()} {this.renderAdvanced()}
@ -340,8 +342,7 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
} else { } else {
this.reset(); this.reset();
this.statusString( this.statusString(
`Oops, something went wrong.` + i18n`Oops, something went wrong. The wallet responded with error status (${rawResp.error}).`);
`The wallet responded with error status (${rawResp.error}).`);
this.detailCollapsed(false); this.detailCollapsed(false);
} }
}; };
@ -367,7 +368,7 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
if (this.statusString()) { if (this.statusString()) {
return <p><strong style={{color: "red"}}>{this.statusString()}</strong></p>; return <p><strong style={{color: "red"}}>{this.statusString()}</strong></p>;
} else if (!this.reserveCreationInfo()) { } else if (!this.reserveCreationInfo()) {
return <p>Checking URL, please wait ...</p>; return <p>{i18n`Checking URL, please wait ...`}</p>;
} }
return ""; return "";
} }
@ -381,7 +382,7 @@ export async function main() {
try { try {
amount = AmountJson.checked(JSON.parse(query.amount)); amount = AmountJson.checked(JSON.parse(query.amount));
} catch (e) { } 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 callback_url = query.callback_url;
const bank_url = query.bank_url; const bank_url = query.bank_url;
@ -389,7 +390,7 @@ export async function main() {
try { try {
wt_types = JSON.parse(query.wt_types); wt_types = JSON.parse(query.wt_types);
} catch (e) { } 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); const suggestedExchangeUrl = await getSuggestedExchange(amount.currency);
@ -406,7 +407,7 @@ export async function main() {
} catch (e) { } catch (e) {
// TODO: provide more context information, maybe factor it out into a // TODO: provide more context information, maybe factor it out into a
// TODO:generic error reporting function or component. // 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); console.error(`got error "${e.message}"`, e);
} }
} }

View File

@ -170,13 +170,13 @@ class WalletNavBar extends React.Component<any,any> {
return ( return (
<div className="nav" id="header"> <div className="nav" id="header">
<Tab target="/balance"> <Tab target="/balance">
Balance {i18n`Balance`}
</Tab> </Tab>
<Tab target="/history"> <Tab target="/history">
History {i18n`History`}
</Tab> </Tab>
<Tab target="/debug"> <Tab target="/debug">
Debug {i18n`Debug`}
</Tab> </Tab>
</div>); </div>);
} }
@ -236,14 +236,14 @@ class WalletBalanceView extends React.Component<any, any> {
renderEmpty(): JSX.Element { renderEmpty(): JSX.Element {
let helpLink = ( let helpLink = (
<ExtensionLink target="/src/pages/help/empty-wallet.html"> <ExtensionLink target="/src/pages/help/empty-wallet.html">
help {i18n`help`}
</ExtensionLink> </ExtensionLink>
); );
return ( return (
<div> <div>
<i18n.Translate> <i18n.Translate>
You have no balance to show. Need some You have no balance to show. Need some
{" "}{helpLink}{" "} {" "}<span>{helpLink}</span>{" "}
getting started? getting started?
</i18n.Translate> </i18n.Translate>
</div> </div>
@ -259,25 +259,27 @@ class WalletBalanceView extends React.Component<any, any> {
if (Amounts.isNonZero(entry.pendingIncoming)) { if (Amounts.isNonZero(entry.pendingIncoming)) {
incoming = ( incoming = (
<span> <i18n.Translate wrap="span">
<span style={{color: "darkgreen"}}> <span style={{color: "darkgreen"}}>
{"+"} {"+"}
{prettyAmount(entry.pendingIncoming)} {prettyAmount(entry.pendingIncoming)}
</span> </span>
{" "} {" "}
incoming incoming
</span>); </i18n.Translate>
);
} }
if (Amounts.isNonZero(entry.pendingPayment)) { if (Amounts.isNonZero(entry.pendingPayment)) {
payment = ( payment = (
<span> <i18n.Translate wrap="span">
<span style={{color: "darkblue"}}> <span style={{color: "darkblue"}}>
{prettyAmount(entry.pendingPayment)} {prettyAmount(entry.pendingPayment)}
</span> </span>
{" "} {" "}
being spent being spent
</span>); </i18n.Translate>
);
} }
let l = [incoming, payment].filter((x) => x !== undefined); 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 exchange = d.exchangeBaseUrl ? URI(d.exchangeBaseUrl).host() : "??";
let amount = prettyAmount(d.requestedAmount); let amount = prettyAmount(d.requestedAmount);
let pub = abbrev(d.reservePub); let pub = abbrev(d.reservePub);
return (<p> return (
<p>
{i18n.parts`Withdrew ${amount} from ${exchange} (${pub}).`} {i18n.parts`Withdrew ${amount} from ${exchange} (${pub}).`}
</p>); </p>
);
} }
case "pay": { case "pay": {
let url = substituteFulfillmentUrl(d.fulfillmentUrl, let url = substituteFulfillmentUrl(d.fulfillmentUrl,