From 4391890763373a6f8d09cf9a808abb9315229e54 Mon Sep 17 00:00:00 2001 From: mohitb35 <44917347+mohitb35@users.noreply.github.com> Date: Wed, 10 Jan 2024 08:06:27 +0530 Subject: [PATCH] fix: updates Continue button text (Donate step) --- public/locales/cs/common.json | 3 +-- public/locales/de/common.json | 3 +-- public/locales/en/common.json | 3 +-- public/locales/es/common.json | 3 +-- public/locales/fr/common.json | 3 +-- public/locales/it/common.json | 3 +-- public/locales/pt-BR/common.json | 3 +-- src/Donations/PaymentMethods/PaymentRequestCustomButton.tsx | 2 +- 8 files changed, 8 insertions(+), 15 deletions(-) diff --git a/public/locales/cs/common.json b/public/locales/cs/common.json index 2afd34af..3556f821 100644 --- a/public/locales/cs/common.json +++ b/public/locales/cs/common.json @@ -102,7 +102,6 @@ "directGiftRecipient": "Tento dar podporuje Les od {{name}}", "saveGiftDetails": "Uloži darovací údaje", "giftSomeone": "Můj dar je někomu věnován ", - "payPalCard": "Použít Paypal nebo kartu", "or": "NEBO", "donateWith": "Darovat s", "donating": "Darování", @@ -172,4 +171,4 @@ "planetCashIUnderstand": "Rozumím, že PlanetCash dary/platby jsou nevratné a nealokované platby budou automaticky alokované na projekty na Platformě po 6 měsících od Platby", "createPlanetCashAccount": "Vytvořit účet PlanetCash", "myContributionIsPartOfThat": "A můj příspěvek je toho součástí." -} \ No newline at end of file +} diff --git a/public/locales/de/common.json b/public/locales/de/common.json index a26f6b4a..b5ffb768 100644 --- a/public/locales/de/common.json +++ b/public/locales/de/common.json @@ -121,7 +121,6 @@ "directGiftRecipient": "Diese Spende unterstützt den Wald von {{name}}", "saveGiftDetails": "Geschenkdetails speichern", "giftSomeone": "Meine Spende ist ein Geschenk an jemanden", - "payPalCard": "PayPal oder Karte verwenden", "or": "ODER", "donateWith": "Spende mit", "donating": "Spenden ", @@ -223,4 +222,4 @@ "top_project_standards_fulfilled": "Die Projektinspektion ergab, dass dieses Projekt mindestens 12 der 19 wichtigsten <2>Projektstandards erfüllte.", "standardsLink": "https://www.plant-for-the-planet.org/standards/", "enterValidEmail": "Bitte gibt eine gültige E-Mail-Adresse ein" -} \ No newline at end of file +} diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 73bccbd0..3cf51bfd 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -121,7 +121,6 @@ "directGiftRecipient": "This donation supports {{name}}'s Forest", "saveGiftDetails": "Save Gift Details", "giftSomeone": "My donation is dedicated to someone", - "payPalCard": "Use PayPal or Card", "or": "OR", "donateWith": "Donate with", "donating": "Donating", @@ -223,4 +222,4 @@ "top_project_standards_fulfilled": "The project inspection revealed that this project fulfilled at least 12 of the 19 Top Project <2>standards.", "standardsLink": "https://www.plant-for-the-planet.org/standards/", "enterValidEmail": "Please enter a valid email" -} \ No newline at end of file +} diff --git a/public/locales/es/common.json b/public/locales/es/common.json index ab92b234..749cfe32 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -87,7 +87,6 @@ "directGiftRecipient": "Esta donación apoya {{name}}", "saveGiftDetails": "Guardar detalles de los regalos", "giftSomeone": "Mi donación es un regalo para alguien", - "payPalCard": "Usar PayPal o tarjeta", "or": "O", "donateWith": "Donar con", "donating": "Donar ", @@ -108,4 +107,4 @@ "monthlySuccess": "mensual", "yearlySuccess": "anual", "customAmount": "Otro importe" -} \ No newline at end of file +} diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index 5b9ec533..6bbb7d74 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -90,7 +90,6 @@ "directGiftRecipient": "Ce don soutient {{name}}", "saveGiftDetails": "Save Gift Details", "giftSomeone": "Mon don est un cadeau pour quelqu'un", - "payPalCard": "Utilisez PayPal ou une carte", "or": "OU", "donateWith": "Faites un don avec", "donating": "Donation ", @@ -109,4 +108,4 @@ "contributedToTpo": "J'ai contribué à {{amount}} à {{organization}}", "janeSuccessMessage": "En attendant, nous vous invitions à passer le mot sur les réseaux sociaux avec le hashtag #TreesForJane, et à écouter le message de Jane ci-dessous.", "backToTreesForJane": "Retourner à Trees for Jane" -} \ No newline at end of file +} diff --git a/public/locales/it/common.json b/public/locales/it/common.json index 3501d3f6..653519bb 100644 --- a/public/locales/it/common.json +++ b/public/locales/it/common.json @@ -86,7 +86,6 @@ "directGiftRecipient": "Questa donazione sostiene {{name}}", "saveGiftDetails": "Salva i dettagli del regalo", "giftSomeone": "La mia donazione è un regalo a qualcuno", - "payPalCard": "Usa PayPal o carta", "or": "O", "donateWith": "Donare con", "donating": "Donare ", @@ -101,4 +100,4 @@ "dedicatedTo": "Dedicato a", "message": "Messaggio", "contributedToTpo": "Ho contribuito {{amount}} a {{organization}}" -} \ No newline at end of file +} diff --git a/public/locales/pt-BR/common.json b/public/locales/pt-BR/common.json index e6c13a1b..01f0e293 100644 --- a/public/locales/pt-BR/common.json +++ b/public/locales/pt-BR/common.json @@ -101,7 +101,6 @@ "directGiftRecipient": "Esta doação apoia a Floresta {{name}}", "saveGiftDetails": "Salvar Detalhes do Presente", "giftSomeone": "A minha doação é um presente para alguém", - "payPalCard": "Use PayPal ou Cartão", "or": "OU", "donateWith": "Doe com", "donating": "Doando ", @@ -164,4 +163,4 @@ "bouquetPurpose": "Doação", "conservationPurpose": "doação de conservação", "planet-cashPurpose": "Doação PlanetCash" -} \ No newline at end of file +} diff --git a/src/Donations/PaymentMethods/PaymentRequestCustomButton.tsx b/src/Donations/PaymentMethods/PaymentRequestCustomButton.tsx index dbb6cc35..e010c56b 100644 --- a/src/Donations/PaymentMethods/PaymentRequestCustomButton.tsx +++ b/src/Donations/PaymentMethods/PaymentRequestCustomButton.tsx @@ -205,7 +205,7 @@ export const PaymentRequestCustomButton = ({ onClick={() => continueNext()} className="primary-button" > - {canMakePayment ? t("payPalCard") : t("continue")} + {t("continue")} )}