From 8c3e57293422d670b93c2f2a19cfc47f3aecc7b1 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 23 Feb 2022 15:44:14 -0300 Subject: we are force to use i18n.Translate, otherwise pogen won't find the tag --- .../taler-wallet-webextension/src/cta/Deposit.tsx | 40 +++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'packages/taler-wallet-webextension/src/cta/Deposit.tsx') diff --git a/packages/taler-wallet-webextension/src/cta/Deposit.tsx b/packages/taler-wallet-webextension/src/cta/Deposit.tsx index 5adc641f4..82d898d77 100644 --- a/packages/taler-wallet-webextension/src/cta/Deposit.tsx +++ b/packages/taler-wallet-webextension/src/cta/Deposit.tsx @@ -111,7 +111,7 @@ export function DepositPage({ talerPayUri, goBack }: Props): VNode { if (!talerPayUri) { return ( - missing pay uri + missing pay uri ); } @@ -122,14 +122,14 @@ export function DepositPage({ talerPayUri, goBack }: Props): VNode {

- Digital cash payment + Digital cash payment

+ Could not get the payment information for this order - + } error={payErrMsg?.operationError} /> @@ -142,13 +142,13 @@ export function DepositPage({ talerPayUri, goBack }: Props): VNode {

- Digital cash payment + Digital cash payment

- + Could not get the payment information for this order - +

{payErrMsg}
@@ -157,7 +157,7 @@ export function DepositPage({ talerPayUri, goBack }: Props): VNode { } return ( - Loading payment information ... + Loading payment information ... ); } @@ -205,28 +205,28 @@ export function PaymentRequestView({

- Digital cash deposit + Digital cash deposit

{payStatus.status === PreparePayResultType.AlreadyConfirmed && (payStatus.paid ? ( - Already paid + Already paid ) : ( - Already claimed + Already claimed ))} {payResult && payResult.type === ConfirmPayResultType.Done && (

- Payment complete + Payment complete

{!payResult.contractTerms.fulfillment_message ? ( - + You will now be sent back to the merchant you came from. - + ) : ( payResult.contractTerms.fulfillment_message )} @@ -238,7 +238,7 @@ export function PaymentRequestView({ Amounts.isNonZero(totalFees) && ( Total to pay} + title={Total to pay} text={amountToPretty( Amounts.parseOrThrow(payStatus.amountEffective), )} @@ -247,7 +247,7 @@ export function PaymentRequestView({ )} Purchase amount} + title={Purchase amount} text={amountToPretty(Amounts.parseOrThrow(payStatus.amountRaw))} kind="neutral" /> @@ -255,25 +255,25 @@ export function PaymentRequestView({ Fee} + title={Fee} text={amountToPretty(totalFees)} kind="negative" /> )} Merchant} + title={Merchant} text={contractTerms.merchant.name} kind="neutral" /> Purchase} + title={Purchase} text={contractTerms.summary} kind="neutral" /> {contractTerms.order_id && ( Receipt} + title={Receipt} text={`#${contractTerms.order_id}`} kind="neutral" /> -- cgit v1.2.3