From f47e8c8c6c57d26883048fd4ffa3ceb8fdf4b816 Mon Sep 17 00:00:00 2001 From: Ramin Date: Mon, 23 Sep 2024 18:48:44 +0330 Subject: [PATCH] change eligibility copies --- lang/ca.json | 4 ++-- lang/en.json | 4 ++-- lang/es.json | 4 ++-- src/components/views/donate/common/EligibilityBadges.tsx | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lang/ca.json b/lang/ca.json index a46116cbd2..f6022013fd 100644 --- a/lang/ca.json +++ b/lang/ca.json @@ -1348,8 +1348,8 @@ "page.donate.passport_toast.title.non_eligible": "No et perdis l'emparellament!", "page.donate.title": "Donar", "page.donate.zero_fees": "Sense Comissions", - "page.donate.donate_$_to_be_eligible": "Fes una donació de ${value} per ser elegible per a GIVbacks", - "page.donate.donate_$_to_get_matched": "Dona ${value} per igualar la teva donació", + "page.donate.makes_you_eligible_for_givbacks": "${value} et fan elegible per a GIVbacks", + "page.donate.unlocks_matching_funds": "${value} desbloquegen fons coincidents", "page.donate.donations_will_be_matched": "La donació serà igualada", "page.donate.project_not_eligible_for_qf": "El projecte no és elegible per a la concordança QF.", "page.donate.network_not_eligible_for_qf": "{network} no són aptes per a la concordança", diff --git a/lang/en.json b/lang/en.json index 0a70abf9f4..442108fac2 100644 --- a/lang/en.json +++ b/lang/en.json @@ -1353,8 +1353,8 @@ "page.donate.passport_toast.title.non_eligible": "Don’t miss out on matching!", "page.donate.title": "Donate", "page.donate.zero_fees": "Zero Fees", - "page.donate.donate_$_to_be_eligible": "Donate ${value} to be eligible for GIVbacks", - "page.donate.donate_$_to_get_matched": "Donate ${value} to get your donation matched", + "page.donate.makes_you_eligible_for_givbacks": "${value} makes you eligible for GIVbacks", + "page.donate.unlocks_matching_funds": "${value} unlocks matching funds", "page.donate.donations_will_be_matched": "Donation will be matched", "page.donate.project_not_eligible_for_qf": "The project is not eligible for QF matching.", "page.donate.network_not_eligible_for_qf": "{network} aren’t eligible for matching", diff --git a/lang/es.json b/lang/es.json index 84350f21d1..ba39078da6 100644 --- a/lang/es.json +++ b/lang/es.json @@ -1348,8 +1348,8 @@ "page.donate.passport_toast.title.non_eligible": "¡No te pierdas la oportunidad!", "page.donate.title": "Donar", "page.donate.zero_fees": "Sin Comisiones", - "page.donate.donate_$_to_be_eligible": "Dona ${value} para ser elegible para GIVbacks", - "page.donate.donate_$_to_get_matched": "Dona ${value} para que tu donación sea igualada", + "page.donate.makes_you_eligible_for_givbacks": "${value} te hacen elegible para recibir GIVbacks", + "page.donate.unlocks_matching_funds": "${value} desbloquean fondos equivalentes", "page.donate.donations_will_be_matched": "La donación será igualada", "page.donate.project_not_eligible_for_qf": "El proyecto no es elegible para la financiación QF.", "page.donate.network_not_eligible_for_qf": "{network} no son elegibles para la coincidencia", diff --git a/src/components/views/donate/common/EligibilityBadges.tsx b/src/components/views/donate/common/EligibilityBadges.tsx index 125849e8a3..48dba422ef 100644 --- a/src/components/views/donate/common/EligibilityBadges.tsx +++ b/src/components/views/donate/common/EligibilityBadges.tsx @@ -55,7 +55,7 @@ const EligibilityBadges: FC = props => { isOnQFEligibleNetworks && donationUsdValue >= (activeStartedRound?.minimumValidUsdValue || 0); const givbacksEligibleWarning = - (tokenPrice && !isTokenGivbacksEligible) || !isProjectGivbacksEligible; + (token && !isTokenGivbacksEligible) || !isProjectGivbacksEligible; const isGivbacksEligible = isTokenGivbacksEligible && isProjectGivbacksEligible && @@ -81,7 +81,7 @@ const EligibilityBadges: FC = props => { ? 'page.donate.project_not_eligible_for_qf' : !isOnQFEligibleNetworks ? 'page.donate.network_not_eligible_for_qf' - : 'page.donate.donate_$_to_get_matched', + : 'page.donate.unlocks_matching_funds', }, { value: activeStartedRound?.minimumValidUsdValue, @@ -115,7 +115,7 @@ const EligibilityBadges: FC = props => { ? 'page.donate.project_not_givbacks_eligible' : token && !isTokenGivbacksEligible ? 'page.donate.token_not_givbacks_eligible' - : 'page.donate.donate_$_to_be_eligible', + : 'page.donate.makes_you_eligible_for_givbacks', }, { value: GIVBACKS_DONATION_QUALIFICATION_VALUE_USD,