From 7731ddd098d48fc54cd86b72d432493fe75399e4 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 23 Nov 2016 01:14:45 +0100 Subject: translations --- src/i18n/de.po | 201 ++++++++++++++++++++++++++++++----- src/i18n/en-US.po | 187 +++++++++++++++++++++++++++++--- src/i18n/fr.po | 187 +++++++++++++++++++++++++++++--- src/i18n/it.po | 187 +++++++++++++++++++++++++++++--- src/i18n/taler-wallet-webex.pot | 187 +++++++++++++++++++++++++++++--- src/pages/confirm-contract.tsx | 9 +- src/pages/confirm-create-reserve.tsx | 59 +++++----- src/popup/popup.tsx | 28 ++--- 8 files changed, 912 insertions(+), 133 deletions(-) (limited to 'src') 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 {
); @@ -70,12 +72,12 @@ class Details extends React.Component { show less details
- Accepted exchanges: + {i18n`Accepted exchanges:`}
    {this.props.contract.exchanges.map( e =>
  • {`${e.url}: ${e.master_pub}`}
  • )}
- Exchanges in the wallet: + {i18n`Exchanges in the wallet:`}
    {(this.props.exchanges || []).map( (e: ExchangeRecord) => @@ -152,8 +154,7 @@ class ContractPrompt extends React.Component 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 (
    -

    {`Withdrawal fees: ${withdrawFeeStr}`}

    -

    {`Rounding loss: ${overheadStr}`}

    +

    {i18n`Withdrawal fees: ${withdrawFeeStr}`}

    +

    {i18n`Rounding loss: ${overheadStr}`}

    - - - - - + + + + + {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

    Withdraw fees: {amountToPretty(totalCost)}

    ; + return

    {i18n`Withdraw fees:`} {amountToPretty(totalCost)}

    ; } return

    ; } @@ -177,7 +177,7 @@ class ExchangeSelection extends ImplicitStateComponent { return ( ); } @@ -191,7 +191,7 @@ class ExchangeSelection extends ImplicitStateComponent { onInput={(e) => this.onUrlChanged((e.target as HTMLInputElement).value)}/>
    {this.renderStatus()} -

    Detailed Fee Structure

    +

    {i18n`Detailed Fee Structure`}

    {renderReserveCreationDetails(this.reserveCreationInfo())} ) } @@ -208,33 +208,35 @@ class ExchangeSelection extends ImplicitStateComponent { renderFeeStatus() { if (this.reserveCreationInfo()) { return ( -

    + The exchange provider will charge {" "} - {this.renderFee()} + {this.renderFee()} {" "} in fees. -

    + ); } if (this.url() && !this.statusString()) { let shortName = URI(this.url()!).host(); - return

    - Waiting for a response from - {" "} - {shortName} -

    ; + return ( + + Waiting for a response from + {" "} + {shortName} + + ); } if (this.statusString()) { return (

    - A problem occured, see below. + {i18n`A problem occured, see below.`}

    ); } return (

    - 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.`}

    ); } @@ -242,16 +244,16 @@ class ExchangeSelection extends ImplicitStateComponent { render(): JSX.Element { return (
    -

    + {"You are about to withdraw "} {amountToPretty(this.props.amount)} {" from your bank account into your wallet."} -

    + {this.renderFeeStatus()}
    {this.renderAdvanced()} @@ -340,8 +342,7 @@ class ExchangeSelection extends ImplicitStateComponent { } 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 { if (this.statusString()) { return

    {this.statusString()}

    ; } else if (!this.reserveCreationInfo()) { - return

    Checking URL, please wait ...

    ; + return

    {i18n`Checking URL, please wait ...`}

    ; } 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 { return ( ); } @@ -236,14 +236,14 @@ class WalletBalanceView extends React.Component { renderEmpty(): JSX.Element { let helpLink = ( - help + {i18n`help`} ); return (
    You have no balance to show. Need some - {" "}{helpLink}{" "} + {" "}{helpLink}{" "} getting started?
    @@ -259,25 +259,27 @@ class WalletBalanceView extends React.Component { if (Amounts.isNonZero(entry.pendingIncoming)) { incoming = ( - + {"+"} {prettyAmount(entry.pendingIncoming)} {" "} incoming - ); + + ); } if (Amounts.isNonZero(entry.pendingPayment)) { payment = ( - + {prettyAmount(entry.pendingPayment)} {" "} being spent - ); + + ); } 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 (

    - {i18n.parts`Withdrew ${amount} from ${exchange} (${pub}).`} -

    ); + return ( +

    + {i18n.parts`Withdrew ${amount} from ${exchange} (${pub}).`} +

    + ); } case "pay": { let url = substituteFulfillmentUrl(d.fulfillmentUrl, -- cgit v1.2.3
    # CoinsValueWithdraw FeeRefresh FeeDeposit fee{i18n`# Coins`}{i18n`Value`}{i18n`Withdraw Fee`}{i18n`Refresh Fee`}{i18n`Deposit Fee`}