diff --git a/src/features/common/TreeCounter/TreeCounter.tsx b/src/features/common/TreeCounter/TreeCounter.tsx index f1b0b338ae..55a2a3c595 100644 --- a/src/features/common/TreeCounter/TreeCounter.tsx +++ b/src/features/common/TreeCounter/TreeCounter.tsx @@ -78,7 +78,7 @@ export default function TpoProfile(props: any) { )}

- {t('me:treesPlanted', { + {t('me:treesPlanted_plural', { count: Number(props.planted), treeCount: getFormattedNumber( i18n.language, diff --git a/src/features/projects/components/ProjectSnippet.tsx b/src/features/projects/components/ProjectSnippet.tsx index 8fa5b819c8..641134237d 100644 --- a/src/features/projects/components/ProjectSnippet.tsx +++ b/src/features/projects/components/ProjectSnippet.tsx @@ -109,7 +109,10 @@ export default function ProjectSnippet({ Number(project.countPlanted), 1 )}{' '} - {t('common:tree', { count: Number(project.countPlanted) })} •{' '} + {t('common:tree_plural', { + count: Number(project.countPlanted), + })}{' '} + •{' '} ) : ( [] diff --git a/src/features/user/Widget/DonationLink/DonationLinkForm.module.scss b/src/features/user/Widget/DonationLink/DonationLinkForm.module.scss index 60f4b7512d..79106bec69 100644 --- a/src/features/user/Widget/DonationLink/DonationLinkForm.module.scss +++ b/src/features/user/Widget/DonationLink/DonationLinkForm.module.scss @@ -4,7 +4,7 @@ display: flex; flex-direction: column; gap: 12px; -} + } .formHeader { font-size: $fontMedium; color: $primaryFontColor; diff --git a/src/features/user/Widget/DonationLink/DonationLinkForm.tsx b/src/features/user/Widget/DonationLink/DonationLinkForm.tsx index 7dd91be309..01b93ca210 100644 --- a/src/features/user/Widget/DonationLink/DonationLinkForm.tsx +++ b/src/features/user/Widget/DonationLink/DonationLinkForm.tsx @@ -8,7 +8,7 @@ import supportedLanguages from '../../../../utils/language/supportedLanguages.js import React from 'react'; import ProjectSelectAutocomplete from '../../BulkCodes/components/ProjectSelectAutocomplete'; import { TENANT_ID } from '../../../../utils/constants/environment'; -import styles from '../../../../../src/features/user/Widget/DonationLink'; +import styles from '../../../../../src/features/user/Widget/DonationLink/DonationLinkForm.module.scss'; import CopyToClipboard from '../../../common/CopyToClipboard'; import { MuiAutoComplete,