From f2be002df3b13254a5b549dd1589089545c53f02 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 10 Feb 2022 16:35:08 +0100 Subject: chore: improve contact form behavior * The status was not visile in top of the form, so I moved it under the submit button. * It was possible to send an empty form. * The input type for email should be email instead of text. --- src/i18n/en.json | 4 ++++ src/i18n/fr.json | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'src/i18n') diff --git a/src/i18n/en.json b/src/i18n/en.json index 536f1e7..cec7ca9 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -159,6 +159,10 @@ "defaultMessage": "Email", "description": "ContactPage: email field label" }, + "HvUpaq": { + "defaultMessage": "Warning: mail not sent. Some required fields are empty.", + "description": "ContactPage: missing fields message." + }, "ILRLTq": { "defaultMessage": "{brandingName} picture", "description": "Branding: branding name picture." diff --git a/src/i18n/fr.json b/src/i18n/fr.json index 0b9b8f6..49066aa 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -159,6 +159,10 @@ "defaultMessage": "Email", "description": "ContactPage: email field label" }, + "HvUpaq": { + "defaultMessage": "Attention : le mail n'a pas été envoyé. Certains champs requis sont vides.", + "description": "ContactPage: missing fields message." + }, "ILRLTq": { "defaultMessage": "Image de {brandingName}", "description": "Branding: branding name picture." -- cgit v1.2.3