From 857c46bc2bcea15483cdf5ca95f4c780497a605e Mon Sep 17 00:00:00 2001 From: Owen Rees Date: Wed, 5 Jul 2023 15:07:26 +0200 Subject: [PATCH] french to english fixes --- app/[lang]/contactez-nous/ContactForm.tsx | 2 +- messages/en.json | 5 +++-- messages/fr.json | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/[lang]/contactez-nous/ContactForm.tsx b/app/[lang]/contactez-nous/ContactForm.tsx index 1045880..16cf1fb 100644 --- a/app/[lang]/contactez-nous/ContactForm.tsx +++ b/app/[lang]/contactez-nous/ContactForm.tsx @@ -78,7 +78,7 @@ const ContactForm = () => { type="email" id="email" className="focus:ring-primary-500 focus:border-primary-500 dark:focus:ring-primary-500 dark:focus:border-primary-500 dark:shadow-sm-light block w-full rounded-lg border border-gray-300 bg-gray-50 p-2.5 text-sm text-gray-900 shadow-sm dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400" - placeholder="nom@exemple.com" + placeholder={t("emailPlaceholder")} required data-test="email-input" /> diff --git a/messages/en.json b/messages/en.json index d8a8f9c..a1109b3 100644 --- a/messages/en.json +++ b/messages/en.json @@ -58,14 +58,15 @@ }, "Contact": { - "title": "Contactez-Nous", + "title": "Contact Us", "info": "Would you like to add tournaments from your federation to this website? Are you experiencing any technical issues? Would you like to participate in this project? Please feel free to contact us.", "emailLabel": "Email", + "emailPlaceholder": "name@example.com", "subjectLabel": "Subject", "subjectPlaceholder": "Your reason for contacting us", "messageLabel": "Your Message", "messagePlaceholder": "Please provide the details of your request here...", - "sendButton": "Envoi Message", + "sendButton": "Send Message", "sending": "Sending...", "success": "Thank you for your message.", "failure": "Sorry, something went wrong. Please try again." diff --git a/messages/fr.json b/messages/fr.json index 06edfdb..59e7160 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -1,6 +1,6 @@ { "Metadata": { - "title": "Echecs France - Tournois d'Échecs", + "title": "Échecs France - Tournois d'Échecs", "description": "Trouvez Vos Tournois d'Échecs en France Sur Une Carte", "keywords": "echecs, France, tournoi, tournois, FFE, carte" }, @@ -61,6 +61,7 @@ "title": "Contactez-Nous", "info": "Vous souhaitez ajouter les tournois de votre fédération sur ce site\u00a0? Vous avez un problème technique? Vous aimeriez participer à ce projet? Contactez-nous.", "emailLabel": "Adresse e-mail", + "emailPlaceholder": "nom@exemple.com", "subjectLabel": "Sujet", "subjectPlaceholder": "Le motif de ma demande", "messageLabel": "Votre message",