Skip to content

Commit

Permalink
fix: fix en.json string typo and incorrect key in tsx file (#2509)
Browse files Browse the repository at this point in the history
* fix: correct typo in 'those' #2469

* fix: correct key for site deletion strings #2472

* fix: update text for change depths dialog

* fix: correct typo in ‘their’
  • Loading branch information
paulschreiber authored Nov 20, 2024
1 parent 55ef5ec commit bfe3a1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ export const SiteSettingsScreen = ({siteId}: Props) => {
onPress={onOpen}
/>
)}
title={t('project.sites.delete_site_modal.title')}
body={t('project.sites.delete_site_modal.body', {
title={t('projects.sites.delete_site_modal.title')}
body={t('projects.sites.delete_site_modal.body', {
siteName: site.name,
})}
actionName={t('project.sites.delete_site_modal.action_name')}
actionName={t('projects.sites.delete_site_modal.action_name')}
handleConfirm={onDelete}
/>
</Column>
Expand Down
6 changes: 3 additions & 3 deletions dev-client/src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
},
"confirm_preset": {
"title": "Change depths?",
"body": "Soil pit data that has been entered will be deleted. This action cannot be undone.",
"body": "Soil pit observations that have been entered will be deleted. This action cannot be undone.",
"confirm": "Change"
},
"label": "Label",
Expand Down Expand Up @@ -320,7 +320,7 @@
},
"transfer_site_modal": {
"title": "Transfer sites?",
"body": "Transferred sites will use the inputs, settings and team member roles from this project.\n\nIf sites have observations entered at different depths than what is specified in this project, rhose observations will be deleted. This cannot be undone.",
"body": "Transferred sites will use the inputs, settings and team member roles from this project.\n\nIf sites have observations entered at different depths than what is specified in this project, those observations will be deleted. This cannot be undone.",
"action_name": "Transfer"
},
"search": {
Expand Down Expand Up @@ -350,7 +350,7 @@
"remove": "Remove from project",
"remove_help": "Remove the team member’s access to this project, retaining any observations contributed to sites",
"confirm_removal_title": "Remove from Project?",
"confirm_removal_body": "This will remove the team member from the project. Yheir contributed site observations will be retained.",
"confirm_removal_body": "This will remove the team member from the project. Their contributed site observations will be retained.",
"confirm_removal_action": "Remove"
},
"transfer_sites": {
Expand Down

0 comments on commit bfe3a1b

Please sign in to comment.