mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat: remove the mention of recurring donations. (#46948)
feat: remove the mention of ongoing donations
This commit is contained in:
@@ -331,7 +331,6 @@
|
||||
"redirecting": "Redirecting...",
|
||||
"thanks": "Thanks for donating",
|
||||
"thank-you": "Thank you for being a supporter.",
|
||||
"thank-you-2": "Thank you for being a supporter of freeCodeCamp. You currently have a recurring donation.",
|
||||
"additional": "You can make an additional one-time donation of any amount using this link: <0>{{url}}</0>",
|
||||
"help-more": "Help us do more",
|
||||
"error": "Something went wrong with your donation.",
|
||||
|
||||
@@ -101,7 +101,7 @@ function DonatePage({
|
||||
</Row>
|
||||
{isDonating ? (
|
||||
<Alert data-cy='donate-alert' closeLabel={t('buttons.close')}>
|
||||
<p data-cy='donate.thank-you'>{t('donate.thank-you-2')}</p>
|
||||
<p data-cy='donate.thank-you'>{t('donate.thank-you')}</p>
|
||||
<br />
|
||||
<DonationOptionsAlertText />
|
||||
</Alert>
|
||||
|
||||
@@ -11,7 +11,7 @@ describe('Donate page', () => {
|
||||
|
||||
cy.get('[data-cy="donate.thank-you"]').should(
|
||||
'have.text',
|
||||
'Thank you for being a supporter of freeCodeCamp. You currently have a recurring donation.'
|
||||
'Thank you for being a supporter.'
|
||||
);
|
||||
cy.get('[data-cy="donate.bigger-donation"]').should(
|
||||
'have.text',
|
||||
|
||||
Reference in New Issue
Block a user