From 8fa5fb7394c1e69b2de2dfd65968a09eeba967a7 Mon Sep 17 00:00:00 2001 From: Barbara Honhoff Date: Wed, 26 Jun 2024 10:38:08 +0200 Subject: [PATCH] Move hardcoded text to translations --- .../src/app/[locale]/objects/[id]/user-enrichment-form.tsx | 2 +- apps/researcher/src/messages/en/messages.json | 3 ++- apps/researcher/src/messages/nl/messages.json | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/researcher/src/app/[locale]/objects/[id]/user-enrichment-form.tsx b/apps/researcher/src/app/[locale]/objects/[id]/user-enrichment-form.tsx index 22626ffc..761fb6dd 100644 --- a/apps/researcher/src/app/[locale]/objects/[id]/user-enrichment-form.tsx +++ b/apps/researcher/src/app/[locale]/objects/[id]/user-enrichment-form.tsx @@ -131,7 +131,7 @@ export function UserEnrichmentForm({ diff --git a/apps/researcher/src/messages/en/messages.json b/apps/researcher/src/messages/en/messages.json index 8c0afc47..09922ce0 100644 --- a/apps/researcher/src/messages/en/messages.json +++ b/apps/researcher/src/messages/en/messages.json @@ -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", diff --git a/apps/researcher/src/messages/nl/messages.json b/apps/researcher/src/messages/nl/messages.json index afc0f5e9..740488f5 100644 --- a/apps/researcher/src/messages/nl/messages.json +++ b/apps/researcher/src/messages/nl/messages.json @@ -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",