diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-10 16:35:08 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-10 16:35:08 +0100 |
| commit | f2be002df3b13254a5b549dd1589089545c53f02 (patch) | |
| tree | 1d057bb3941769df6af99066cecbd5d563676ea3 /src/i18n | |
| parent | 74df20972a7e9155fadb1d18aad260c0cd9959a9 (diff) | |
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.
Diffstat (limited to 'src/i18n')
| -rw-r--r-- | src/i18n/en.json | 4 | ||||
| -rw-r--r-- | src/i18n/fr.json | 4 |
2 files changed, 8 insertions, 0 deletions
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." |
