Skip to content

Commit

Permalink
feat: update gift message to clarify dedication to recipient
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitb35 committed Nov 13, 2024
1 parent fa0c770 commit 9ca3909
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"selectLanguage": "Select Language",
"trees": "trees",
"logout": "Logout",
"directGiftRecipient": "This donation supports {{name}}'s Forest",
"giftDedicatedTo": "This donation is dedicated to {{name}}",
"saveGiftDetails": "Save Gift Details",
"giftSomeone": "My donation is dedicated to someone",
"or": "OR",
Expand Down Expand Up @@ -223,4 +223,4 @@
"top_project_standards_fulfilled": "The project inspection revealed that this project fulfilled at least 12 of the 19 Top Project <2>standards.</2>",
"standardsLink": "https://www.plant-for-the-planet.org/standards/",
"enterValidEmail": "Please enter a valid email"
}
}
2 changes: 1 addition & 1 deletion src/Donations/Micros/GiftForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export default function GiftForm(): ReactElement {
) : (
<div className="donation-supports-info mt-10">
<p onClick={() => resetGiftForm()}>
{t("directGiftRecipient", {
{t("giftDedicatedTo", {
name: giftDetails.recipientName,
})}
</p>
Expand Down

0 comments on commit 9ca3909

Please sign in to comment.