Skip to content

Commit

Permalink
change eligibility copies
Browse files Browse the repository at this point in the history
  • Loading branch information
RamRamez committed Sep 23, 2024
1 parent 461f94c commit f47e8c8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions lang/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions src/components/views/donate/common/EligibilityBadges.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const EligibilityBadges: FC<IEligibilityBadges> = props => {
isOnQFEligibleNetworks &&
donationUsdValue >= (activeStartedRound?.minimumValidUsdValue || 0);
const givbacksEligibleWarning =
(tokenPrice && !isTokenGivbacksEligible) || !isProjectGivbacksEligible;
(token && !isTokenGivbacksEligible) || !isProjectGivbacksEligible;
const isGivbacksEligible =
isTokenGivbacksEligible &&
isProjectGivbacksEligible &&
Expand All @@ -81,7 +81,7 @@ const EligibilityBadges: FC<IEligibilityBadges> = 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,
Expand Down Expand Up @@ -115,7 +115,7 @@ const EligibilityBadges: FC<IEligibilityBadges> = 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,
Expand Down

0 comments on commit f47e8c8

Please sign in to comment.