feat(contact): add toast notifications for form feedback
- Add toast notifications for contact form success/error responses - Add toast notifications for backend errors in AppFooter - Add accessibility explanation for honeypot field - Add loading state to contact form submit button - Add i18n translations for toast messages (en/fr) - Fix honeypot input missing v-model binding
This commit is contained in:
@@ -38,6 +38,11 @@
|
||||
"name": "Languages & Worldbuilding"
|
||||
},
|
||||
"contact": {
|
||||
"name": "Contact",
|
||||
"toast": {
|
||||
"success": "Email sent!",
|
||||
"error": "Failure sending message"
|
||||
},
|
||||
"form": {
|
||||
"sendButton": "Send Message",
|
||||
"validation": {
|
||||
@@ -59,8 +64,7 @@
|
||||
"message": "Hello, ...",
|
||||
"website": "https://example.com"
|
||||
}
|
||||
},
|
||||
"name": "Contact"
|
||||
}
|
||||
}
|
||||
},
|
||||
"footer": {
|
||||
@@ -81,7 +85,7 @@
|
||||
"unknown": "The website encountered an unknown error. Please try again later."
|
||||
},
|
||||
"contact": {
|
||||
"success": "Email sent! We’ve also sent you a confirmation email!",
|
||||
"success": "We’ve also sent you a confirmation email. If you haven’t received anything in a few minutes, please check your junk mail.",
|
||||
"honeypot": "Mmmmmh, I love me some honey from the honeypot!",
|
||||
"errors": {
|
||||
"internal": "The website encountered an internal error. Please try again later.",
|
||||
|
||||
Reference in New Issue
Block a user