Skip to content

Commit

Permalink
Move hardcoded text to translations
Browse files Browse the repository at this point in the history
  • Loading branch information
barbarah committed Jun 26, 2024
1 parent 1048ae8 commit 8fa5fb7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export function UserEnrichmentForm({
<SlideOutButton
className="p-1 sm:py-2 sm:px-3 rounded-full text-xs bg-neutral-200/50 hover:bg-neutral-300/50 text-neutral-800 transition flex items-center gap-1"
id={slideOutId}
aira-label="Close form"
aira-label={t('accessibilityCloseButton')}
>
<XMarkIcon className='className="w-4 h-4 stroke-neutral-900' />
</SlideOutButton>
Expand Down
3 changes: 2 additions & 1 deletion apps/researcher/src/messages/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,8 @@
"citationRequired": "Resource is required",
"agreedToLicenseUnchecked": "You need to agree to the license before you can add a narrative",
"noCommunities": "You are not yet a member of a community that has permission to add a story. You can create a community or join an existing community.",
"saving": "Saving..."
"saving": "Saving...",
"accessibilityCloseButton": "Close form"
},
"ContactForm": {
"labelEmailAddress": "Email",
Expand Down
3 changes: 2 additions & 1 deletion apps/researcher/src/messages/nl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,8 @@
"citationRequired": "Bron is vereist",
"agreedToLicenseUnchecked": "U moet akkoord gaan met de licentie voordat u een verhaal kunt toevoegen",
"noCommunities": "U bent nog geen lid van een gemeenschap die toestemming heeft om een verhaal toe te voegen. U kunt een gemeenschap creëren of lid worden van een bestaande gemeenschap.",
"saving": "Opslaan..."
"saving": "Opslaan...",
"accessibilityCloseButton": "Sluit formulier"
},
"ContactForm": {
"labelEmailAddress": "E-mail",
Expand Down

0 comments on commit 8fa5fb7

Please sign in to comment.