From e404f5e6d3001906c11b82a532db518720caebfd Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 7 Apr 2020 20:17:15 +0530 Subject: add test case for i18n, fix react i18n bug --- src/i18n/strings.ts | 669 ++++++++++++++++++++++++++-------------------------- 1 file changed, 337 insertions(+), 332 deletions(-) (limited to 'src/i18n') diff --git a/src/i18n/strings.ts b/src/i18n/strings.ts index 6d9161f24..748b9656a 100644 --- a/src/i18n/strings.ts +++ b/src/i18n/strings.ts @@ -16,353 +16,358 @@ export const strings: { [s: string]: any } = {}; strings["de"] = { - "Invalid Wire": [null, ""], - "Invalid Test Wire Detail": [null, ""], - "Test Wire Acct #%1$s on %2$s": [null, ""], - "Unknown Wire Detail": [null, ""], - Operation: [null, ""], - "time (ms/op)": [null, ""], - "The total price is %1$s (plus %2$s fees).": [null, ""], - "The total price is %1$s.": [null, ""], - Retry: [null, ""], - Balance: [null, "Saldo"], - History: [null, "Verlauf"], - Debug: [null, "Debug"], - "%1$s incoming": [null, ""], - "%1$s being spent": [null, ""], - "Error: could not retrieve balance information.": [null, ""], - "Invalid ": [null, ""], - "Fees ": [null, ""], - "Refresh sessions has completed": [null, ""], - "Order Refused": [null, ""], - "Order redirected": [null, ""], - "Payment aborted": [null, ""], - "Payment Sent": [null, ""], - "Order accepted": [null, ""], - "Reserve balance updated": [null, ""], - "Payment refund": [null, ""], - "Tip Accepted": [null, ""], - "Tip Declined": [null, ""], - "%1$s": [null, ""], - "Your wallet has no events recorded.": [ - null, - "Ihre Geldbörse verzeichnet keine Vorkommnisse.", - ], - "Wire to bank account": [null, ""], - "Could not get details for withdraw operation:": [null, ""], - "Chose different exchange provider": [null, ""], - "Please select an exchange. You can review the details before after your selection.": [ - null, - "", - ], - "Select %1$s": [null, ""], - "Select custom exchange": [null, ""], - "You are about to withdraw %1$s from your bank account into your wallet.": [ - null, - "", - ], - "Accept fees and withdraw": [null, ""], - "Cancel withdraw operation": [null, ""], - "Rounding loss:": [null, ""], - "Earliest expiration (for deposit): %1$s": [null, ""], - "# Coins": [null, ""], - Value: [null, ""], - "Refresh Fee": [null, ""], - "Deposit Fee": [null, ""], - "": { - "project-id-version": "Taler Wallet", - "report-msgid-bugs-to": "", - "pot-creation-date": "2016-11-23 00:00+0100", - "po-revision-date": "YEAR-MO-DA HO:MI+ZONE", - "last-translator": "FULL NAME ", - "language-team": "LANGUAGE ", - language: "", - "mime-version": "1.0", - "content-type": "text/plain; charset=UTF-8", - "content-transfer-encoding": "8bit", - "plural-forms": "nplurals=2; plural=(n != 1);", + domain: "messages", + locale_data: { + messages: { + "": { + domain: "messages", + plural_forms: "nplurals=2; plural=(n != 1);", + lang: "", + }, + "Invalid Wire": [""], + "Invalid Test Wire Detail": [""], + "Test Wire Acct #%1$s on %2$s": [""], + "Unknown Wire Detail": [""], + Operation: [""], + "time (ms/op)": [""], + "The merchant %1$s offers you to purchase:": [ + "Der Händler %1$s möchte einen Vertrag über %2$s mit Ihnen abschließen.", + ], + "The total price is %1$s (plus %2$s fees).": [""], + "The total price is %1$s.": [""], + Retry: [""], + "Confirm payment": ["Bezahlung bestätigen"], + Balance: ["Saldo"], + History: ["Verlauf"], + Debug: ["Debug"], + "You have no balance to show. Need some %1$s getting started?": [ + "Sie haben kein Digitalgeld. Wollen Sie %1$s? abheben?", + ], + "%1$s incoming": [""], + "%1$s being spent": [""], + "Error: could not retrieve balance information.": [""], + "Invalid ": [""], + "Fees ": [""], + "Refresh sessions has completed": [""], + "Order Refused": [""], + "Order redirected": [""], + "Payment aborted": [""], + "Payment Sent": [""], + "Order accepted": [""], + "Reserve balance updated": [""], + "Payment refund": [""], + Withdrawn: ["Abheben bei %1$s"], + "Tip Accepted": [""], + "Tip Declined": [""], + "%1$s": [""], + "Your wallet has no events recorded.": [ + "Ihre Geldbörse verzeichnet keine Vorkommnisse.", + ], + "Wire to bank account": [""], + Confirm: ["Bezahlung bestätigen"], + Cancel: ["Saldo"], + "Could not get details for withdraw operation:": [""], + "Chose different exchange provider": [""], + "Please select an exchange. You can review the details before after your selection.": [ + "", + ], + "Select %1$s": [""], + "Select custom exchange": [""], + "You are about to withdraw %1$s from your bank account into your wallet.": [ + "", + ], + "Accept fees and withdraw": [""], + "Cancel withdraw operation": [""], + "Withdrawal fees:": ["Abheben bei"], + "Rounding loss:": [""], + "Earliest expiration (for deposit): %1$s": [""], + "# Coins": [""], + Value: [""], + "Withdraw Fee": ["Abheben bei %1$s"], + "Refresh Fee": [""], + "Deposit Fee": [""], + }, }, }; strings["en-US"] = { - "Invalid Wire": [null, ""], - "Invalid Test Wire Detail": [null, ""], - "Test Wire Acct #%1$s on %2$s": [null, ""], - "Unknown Wire Detail": [null, ""], - Operation: [null, ""], - "time (ms/op)": [null, ""], - "The merchant %1$s offers you to purchase:": [null, ""], - "The total price is %1$s (plus %2$s fees).": [null, ""], - "The total price is %1$s.": [null, ""], - Retry: [null, ""], - "Confirm payment": [null, ""], - Balance: [null, ""], - History: [null, ""], - Debug: [null, ""], - "You have no balance to show. Need some %1$s getting started?": [null, ""], - "%1$s incoming": [null, ""], - "%1$s being spent": [null, ""], - "Error: could not retrieve balance information.": [null, ""], - "Invalid ": [null, ""], - "Fees ": [null, ""], - "Refresh sessions has completed": [null, ""], - "Order Refused": [null, ""], - "Order redirected": [null, ""], - "Payment aborted": [null, ""], - "Payment Sent": [null, ""], - "Order accepted": [null, ""], - "Reserve balance updated": [null, ""], - "Payment refund": [null, ""], - Withdrawn: [null, ""], - "Tip Accepted": [null, ""], - "Tip Declined": [null, ""], - "%1$s": [null, ""], - "Your wallet has no events recorded.": [null, ""], - "Wire to bank account": [null, ""], - Confirm: [null, ""], - Cancel: [null, ""], - "Could not get details for withdraw operation:": [null, ""], - "Chose different exchange provider": [null, ""], - "Please select an exchange. You can review the details before after your selection.": [ - null, - "", - ], - "Select %1$s": [null, ""], - "Select custom exchange": [null, ""], - "You are about to withdraw %1$s from your bank account into your wallet.": [ - null, - "", - ], - "Accept fees and withdraw": [null, ""], - "Cancel withdraw operation": [null, ""], - "Withdrawal fees:": [null, ""], - "Rounding loss:": [null, ""], - "Earliest expiration (for deposit): %1$s": [null, ""], - "# Coins": [null, ""], - Value: [null, ""], - "Withdraw Fee": [null, ""], - "Refresh Fee": [null, ""], - "Deposit Fee": [null, ""], - "": { - "project-id-version": "Taler Wallet", - "report-msgid-bugs-to": "", - "pot-creation-date": "2016-11-23 00:00+0100", - "po-revision-date": "YEAR-MO-DA HO:MI+ZONE", - "last-translator": "FULL NAME ", - "language-team": "LANGUAGE ", - language: "", - "mime-version": "1.0", - "content-type": "text/plain; charset=UTF-8", - "content-transfer-encoding": "8bit", - "plural-forms": "nplurals=2; plural=(n != 1);", + domain: "messages", + locale_data: { + messages: { + "": { + domain: "messages", + plural_forms: "nplurals=2; plural=(n != 1);", + lang: "", + }, + "Invalid Wire": [""], + "Invalid Test Wire Detail": [""], + "Test Wire Acct #%1$s on %2$s": [""], + "Unknown Wire Detail": [""], + Operation: [""], + "time (ms/op)": [""], + "The merchant %1$s offers you to purchase:": [""], + "The total price is %1$s (plus %2$s fees).": [""], + "The total price is %1$s.": [""], + Retry: [""], + "Confirm payment": [""], + Balance: [""], + History: [""], + Debug: [""], + "You have no balance to show. Need some %1$s getting started?": [""], + "%1$s incoming": [""], + "%1$s being spent": [""], + "Error: could not retrieve balance information.": [""], + "Invalid ": [""], + "Fees ": [""], + "Refresh sessions has completed": [""], + "Order Refused": [""], + "Order redirected": [""], + "Payment aborted": [""], + "Payment Sent": [""], + "Order accepted": [""], + "Reserve balance updated": [""], + "Payment refund": [""], + Withdrawn: [""], + "Tip Accepted": [""], + "Tip Declined": [""], + "%1$s": [""], + "Your wallet has no events recorded.": [""], + "Wire to bank account": [""], + Confirm: [""], + Cancel: [""], + "Could not get details for withdraw operation:": [""], + "Chose different exchange provider": [""], + "Please select an exchange. You can review the details before after your selection.": [ + "", + ], + "Select %1$s": [""], + "Select custom exchange": [""], + "You are about to withdraw %1$s from your bank account into your wallet.": [ + "", + ], + "Accept fees and withdraw": [""], + "Cancel withdraw operation": [""], + "Withdrawal fees:": [""], + "Rounding loss:": [""], + "Earliest expiration (for deposit): %1$s": [""], + "# Coins": [""], + Value: [""], + "Withdraw Fee": [""], + "Refresh Fee": [""], + "Deposit Fee": [""], + }, }, }; strings["fr"] = { - "Invalid Wire": [null, ""], - "Invalid Test Wire Detail": [null, ""], - "Test Wire Acct #%1$s on %2$s": [null, ""], - "Unknown Wire Detail": [null, ""], - Operation: [null, ""], - "time (ms/op)": [null, ""], - "The merchant %1$s offers you to purchase:": [null, ""], - "The total price is %1$s (plus %2$s fees).": [null, ""], - "The total price is %1$s.": [null, ""], - Retry: [null, ""], - "Confirm payment": [null, ""], - Balance: [null, ""], - History: [null, ""], - Debug: [null, ""], - "You have no balance to show. Need some %1$s getting started?": [null, ""], - "%1$s incoming": [null, ""], - "%1$s being spent": [null, ""], - "Error: could not retrieve balance information.": [null, ""], - "Invalid ": [null, ""], - "Fees ": [null, ""], - "Refresh sessions has completed": [null, ""], - "Order Refused": [null, ""], - "Order redirected": [null, ""], - "Payment aborted": [null, ""], - "Payment Sent": [null, ""], - "Order accepted": [null, ""], - "Reserve balance updated": [null, ""], - "Payment refund": [null, ""], - Withdrawn: [null, ""], - "Tip Accepted": [null, ""], - "Tip Declined": [null, ""], - "%1$s": [null, ""], - "Your wallet has no events recorded.": [null, ""], - "Wire to bank account": [null, ""], - Confirm: [null, ""], - Cancel: [null, ""], - "Could not get details for withdraw operation:": [null, ""], - "Chose different exchange provider": [null, ""], - "Please select an exchange. You can review the details before after your selection.": [ - null, - "", - ], - "Select %1$s": [null, ""], - "Select custom exchange": [null, ""], - "You are about to withdraw %1$s from your bank account into your wallet.": [ - null, - "", - ], - "Accept fees and withdraw": [null, ""], - "Cancel withdraw operation": [null, ""], - "Withdrawal fees:": [null, ""], - "Rounding loss:": [null, ""], - "Earliest expiration (for deposit): %1$s": [null, ""], - "# Coins": [null, ""], - Value: [null, ""], - "Withdraw Fee": [null, ""], - "Refresh Fee": [null, ""], - "Deposit Fee": [null, ""], - "": { - "project-id-version": "Taler Wallet", - "report-msgid-bugs-to": "", - "pot-creation-date": "2016-11-23 00:00+0100", - "po-revision-date": "YEAR-MO-DA HO:MI+ZONE", - "last-translator": "FULL NAME ", - "language-team": "LANGUAGE ", - language: "", - "mime-version": "1.0", - "content-type": "text/plain; charset=UTF-8", - "content-transfer-encoding": "8bit", - "plural-forms": "nplurals=2; plural=(n != 1);", + domain: "messages", + locale_data: { + messages: { + "": { + domain: "messages", + plural_forms: "nplurals=2; plural=(n != 1);", + lang: "", + }, + "Invalid Wire": [""], + "Invalid Test Wire Detail": [""], + "Test Wire Acct #%1$s on %2$s": [""], + "Unknown Wire Detail": [""], + Operation: [""], + "time (ms/op)": [""], + "The merchant %1$s offers you to purchase:": [""], + "The total price is %1$s (plus %2$s fees).": [""], + "The total price is %1$s.": [""], + Retry: [""], + "Confirm payment": [""], + Balance: [""], + History: [""], + Debug: [""], + "You have no balance to show. Need some %1$s getting started?": [""], + "%1$s incoming": [""], + "%1$s being spent": [""], + "Error: could not retrieve balance information.": [""], + "Invalid ": [""], + "Fees ": [""], + "Refresh sessions has completed": [""], + "Order Refused": [""], + "Order redirected": [""], + "Payment aborted": [""], + "Payment Sent": [""], + "Order accepted": [""], + "Reserve balance updated": [""], + "Payment refund": [""], + Withdrawn: [""], + "Tip Accepted": [""], + "Tip Declined": [""], + "%1$s": [""], + "Your wallet has no events recorded.": [""], + "Wire to bank account": [""], + Confirm: [""], + Cancel: [""], + "Could not get details for withdraw operation:": [""], + "Chose different exchange provider": [""], + "Please select an exchange. You can review the details before after your selection.": [ + "", + ], + "Select %1$s": [""], + "Select custom exchange": [""], + "You are about to withdraw %1$s from your bank account into your wallet.": [ + "", + ], + "Accept fees and withdraw": [""], + "Cancel withdraw operation": [""], + "Withdrawal fees:": [""], + "Rounding loss:": [""], + "Earliest expiration (for deposit): %1$s": [""], + "# Coins": [""], + Value: [""], + "Withdraw Fee": [""], + "Refresh Fee": [""], + "Deposit Fee": [""], + }, }, }; strings["it"] = { - "Invalid Wire": [null, ""], - "Invalid Test Wire Detail": [null, ""], - "Test Wire Acct #%1$s on %2$s": [null, ""], - "Unknown Wire Detail": [null, ""], - Operation: [null, ""], - "time (ms/op)": [null, ""], - "The merchant %1$s offers you to purchase:": [null, ""], - "The total price is %1$s (plus %2$s fees).": [null, ""], - "The total price is %1$s.": [null, ""], - Retry: [null, ""], - "Confirm payment": [null, ""], - Balance: [null, ""], - History: [null, ""], - Debug: [null, ""], - "You have no balance to show. Need some %1$s getting started?": [null, ""], - "%1$s incoming": [null, ""], - "%1$s being spent": [null, ""], - "Error: could not retrieve balance information.": [null, ""], - "Invalid ": [null, ""], - "Fees ": [null, ""], - "Refresh sessions has completed": [null, ""], - "Order Refused": [null, ""], - "Order redirected": [null, ""], - "Payment aborted": [null, ""], - "Payment Sent": [null, ""], - "Order accepted": [null, ""], - "Reserve balance updated": [null, ""], - "Payment refund": [null, ""], - Withdrawn: [null, ""], - "Tip Accepted": [null, ""], - "Tip Declined": [null, ""], - "%1$s": [null, ""], - "Your wallet has no events recorded.": [null, ""], - "Wire to bank account": [null, ""], - Confirm: [null, ""], - Cancel: [null, ""], - "Could not get details for withdraw operation:": [null, ""], - "Chose different exchange provider": [null, ""], - "Please select an exchange. You can review the details before after your selection.": [ - null, - "", - ], - "Select %1$s": [null, ""], - "Select custom exchange": [null, ""], - "You are about to withdraw %1$s from your bank account into your wallet.": [ - null, - "", - ], - "Accept fees and withdraw": [null, ""], - "Cancel withdraw operation": [null, ""], - "Withdrawal fees:": [null, ""], - "Rounding loss:": [null, ""], - "Earliest expiration (for deposit): %1$s": [null, ""], - "# Coins": [null, ""], - Value: [null, ""], - "Withdraw Fee": [null, ""], - "Refresh Fee": [null, ""], - "Deposit Fee": [null, ""], - "": { - "project-id-version": "Taler Wallet", - "report-msgid-bugs-to": "", - "pot-creation-date": "2016-11-23 00:00+0100", - "po-revision-date": "YEAR-MO-DA HO:MI+ZONE", - "last-translator": "FULL NAME ", - "language-team": "LANGUAGE ", - language: "", - "mime-version": "1.0", - "content-type": "text/plain; charset=UTF-8", - "content-transfer-encoding": "8bit", - "plural-forms": "nplurals=2; plural=(n != 1);", + domain: "messages", + locale_data: { + messages: { + "": { + domain: "messages", + plural_forms: "nplurals=2; plural=(n != 1);", + lang: "", + }, + "Invalid Wire": [""], + "Invalid Test Wire Detail": [""], + "Test Wire Acct #%1$s on %2$s": [""], + "Unknown Wire Detail": [""], + Operation: [""], + "time (ms/op)": [""], + "The merchant %1$s offers you to purchase:": [""], + "The total price is %1$s (plus %2$s fees).": [""], + "The total price is %1$s.": [""], + Retry: [""], + "Confirm payment": [""], + Balance: [""], + History: [""], + Debug: [""], + "You have no balance to show. Need some %1$s getting started?": [""], + "%1$s incoming": [""], + "%1$s being spent": [""], + "Error: could not retrieve balance information.": [""], + "Invalid ": [""], + "Fees ": [""], + "Refresh sessions has completed": [""], + "Order Refused": [""], + "Order redirected": [""], + "Payment aborted": [""], + "Payment Sent": [""], + "Order accepted": [""], + "Reserve balance updated": [""], + "Payment refund": [""], + Withdrawn: [""], + "Tip Accepted": [""], + "Tip Declined": [""], + "%1$s": [""], + "Your wallet has no events recorded.": [""], + "Wire to bank account": [""], + Confirm: [""], + Cancel: [""], + "Could not get details for withdraw operation:": [""], + "Chose different exchange provider": [""], + "Please select an exchange. You can review the details before after your selection.": [ + "", + ], + "Select %1$s": [""], + "Select custom exchange": [""], + "You are about to withdraw %1$s from your bank account into your wallet.": [ + "", + ], + "Accept fees and withdraw": [""], + "Cancel withdraw operation": [""], + "Withdrawal fees:": [""], + "Rounding loss:": [""], + "Earliest expiration (for deposit): %1$s": [""], + "# Coins": [""], + Value: [""], + "Withdraw Fee": [""], + "Refresh Fee": [""], + "Deposit Fee": [""], + }, }, }; strings["sv"] = { - "Invalid Wire": [null, ""], - "Invalid Test Wire Detail": [null, ""], - "Test Wire Acct #%1$s on %2$s": [null, ""], - Operation: [null, ""], - "time (ms/op)": [null, ""], - Retry: [null, ""], - "Confirm payment": [null, "Godkän betalning"], - Balance: [null, "Balans"], - History: [null, "Historia"], - Debug: [null, ""], - "%1$s being spent": [null, ""], - "Error: could not retrieve balance information.": [null, ""], - "Invalid ": [null, ""], - "Fees ": [null, ""], - "Refresh sessions has completed": [null, ""], - "Order Refused": [null, ""], - "Order redirected": [null, ""], - "Payment aborted": [null, ""], - "Payment Sent": [null, ""], - "Order accepted": [null, ""], - "Reserve balance updated": [null, ""], - "Payment refund": [null, ""], - "Tip Accepted": [null, ""], - "Tip Declined": [null, ""], - "%1$s": [null, ""], - "Your wallet has no events recorded.": [null, "plånboken"], - "Wire to bank account": [null, "Övervisa till bank konto"], - Confirm: [null, "Bekräfta"], - Cancel: [null, "Avbryt"], - "Could not get details for withdraw operation:": [null, ""], - "Please select an exchange. You can review the details before after your selection.": [ - null, - "", - ], - "Select custom exchange": [null, ""], - "Accept fees and withdraw": [null, "Acceptera avgifter och utbetala"], - "Cancel withdraw operation": [null, ""], - "Withdrawal fees:": [null, "Utbetalnings avgifter:"], - "Rounding loss:": [null, ""], - "Earliest expiration (for deposit): %1$s": [null, ""], - "# Coins": [null, "# Mynt"], - Value: [null, "Värde"], - "Withdraw Fee": [null, "Utbetalnings avgift"], - "Refresh Fee": [null, "Återhämtnings avgift"], - "Deposit Fee": [null, "Depostitions avgift"], - "": { - "project-id-version": "Taler Wallet", - "report-msgid-bugs-to": "", - "pot-creation-date": "2016-11-23 00:00+0100", - "po-revision-date": "YEAR-MO-DA HO:MI+ZONE", - "last-translator": "Flo Reitz ", - "language-team": "LANGUAGE ", - language: "", - "mime-version": "1.0", - "content-type": "text/plain; charset=UTF-8", - "content-transfer-encoding": "8bit", - "plural-forms": "nplurals=2; plural=(n != 1);", + domain: "messages", + locale_data: { + messages: { + "": { + domain: "messages", + plural_forms: "nplurals=2; plural=(n != 1);", + lang: "", + }, + "Invalid Wire": [""], + "Invalid Test Wire Detail": [""], + "Test Wire Acct #%1$s on %2$s": [""], + "Unknown Wire Detail": ["visa mer"], + Operation: [""], + "time (ms/op)": [""], + "The merchant %1$s offers you to purchase:": [ + "Säljaren %1$s erbjuder följande:", + ], + "The total price is %1$s (plus %2$s fees).": [ + "Det totala priset är %1$s (plus %2$s avgifter).\n", + ], + "The total price is %1$s.": ["Det totala priset är %1$s."], + Retry: [""], + "Confirm payment": ["Godkän betalning"], + Balance: ["Balans"], + History: ["Historia"], + Debug: [""], + "You have no balance to show. Need some %1$s getting started?": [ + "Du har ingen balans att visa. Behöver du\n %1$s att börja?\n", + ], + "%1$s incoming": ["%1$s inkommande"], + "%1$s being spent": [""], + "Error: could not retrieve balance information.": [""], + "Invalid ": [""], + "Fees ": [""], + "Refresh sessions has completed": [""], + "Order Refused": [""], + "Order redirected": [""], + "Payment aborted": [""], + "Payment Sent": [""], + "Order accepted": [""], + "Reserve balance updated": [""], + "Payment refund": [""], + Withdrawn: ["Utbetalnings avgift"], + "Tip Accepted": [""], + "Tip Declined": [""], + "%1$s": [""], + "Your wallet has no events recorded.": ["plånboken"], + "Wire to bank account": ["Övervisa till bank konto"], + Confirm: ["Bekräfta"], + Cancel: ["Avbryt"], + "Could not get details for withdraw operation:": [""], + "Chose different exchange provider": ["Ändra tjänsteleverantörer"], + "Please select an exchange. You can review the details before after your selection.": [ + "", + ], + "Select %1$s": ["Välj %1$s"], + "Select custom exchange": [""], + "You are about to withdraw %1$s from your bank account into your wallet.": [ + "Du är på väg att ta ut\n %1$s från ditt bankkonto till din plånbok.\n", + ], + "Accept fees and withdraw": ["Acceptera avgifter och utbetala"], + "Cancel withdraw operation": [""], + "Withdrawal fees:": ["Utbetalnings avgifter:"], + "Rounding loss:": [""], + "Earliest expiration (for deposit): %1$s": [""], + "# Coins": ["# Mynt"], + Value: ["Värde"], + "Withdraw Fee": ["Utbetalnings avgift"], + "Refresh Fee": ["Återhämtnings avgift"], + "Deposit Fee": ["Depostitions avgift"], + }, }, }; -- cgit v1.2.3