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 --- .../src/cta/TermsOfServiceSection.tsx | 34 +++++++++++++++------- 1 file changed, 23 insertions(+), 11 deletions(-) (limited to 'packages/taler-wallet-webextension/src/cta/TermsOfServiceSection.tsx') diff --git a/packages/taler-wallet-webextension/src/cta/TermsOfServiceSection.tsx b/packages/taler-wallet-webextension/src/cta/TermsOfServiceSection.tsx index 00f7bd211..1244b7915 100644 --- a/packages/taler-wallet-webextension/src/cta/TermsOfServiceSection.tsx +++ b/packages/taler-wallet-webextension/src/cta/TermsOfServiceSection.tsx @@ -34,7 +34,9 @@ export function TermsOfServiceSection({ {terms.status === "notfound" && (
- Exchange doesn't have terms of service + + Exchange doesn't have terms of service +
)} @@ -46,21 +48,27 @@ export function TermsOfServiceSection({ {terms.status === "notfound" && (
- Exchange doesn't have terms of service + + Exchange doesn't have terms of service +
)} {terms.status === "new" && (
onReview(true)}> - Review exchange terms of service + + Review exchange terms of service +
)} {terms.status === "changed" && (
onReview(true)}> - Review new version of terms of service + + Review new version of terms of service +
)} @@ -72,7 +80,7 @@ export function TermsOfServiceSection({ {onReview && (
onReview(true)}> - Show terms of service + Show terms of service
)} @@ -81,7 +89,9 @@ export function TermsOfServiceSection({ name="terms" enabled={reviewed} label={ - I accept the exchange terms of service + + I accept the exchange terms of service + } onToggle={() => { onAccept(!reviewed); @@ -97,9 +107,9 @@ export function TermsOfServiceSection({ {terms.status !== "notfound" && !terms.content && (
- + The exchange reply with a empty terms of service - +
)} @@ -120,7 +130,7 @@ export function TermsOfServiceSection({ )} {terms.content.type === "pdf" && ( - Download Terms of Service + Download Terms of Service )} @@ -128,7 +138,7 @@ export function TermsOfServiceSection({ {reviewed && onReview && (
onReview(false)}> - Hide terms of service + Hide terms of service
)} @@ -138,7 +148,9 @@ export function TermsOfServiceSection({ name="terms" enabled={reviewed} label={ - I accept the exchange terms of service + + I accept the exchange terms of service + } onToggle={() => { onAccept(!reviewed); -- cgit v1.2.3