refactor(contact): form is persisted in db before pushed to HS

This commit is contained in:
Colin Darie 2024-07-30 19:14:04 +02:00
parent 4bc0a04106
commit 5af32b46f4
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
10 changed files with 236 additions and 290 deletions

View file

@ -1,7 +1,7 @@
en:
activemodel:
activerecord:
attributes:
helpscout/form:
contact_form:
email: 'Your email address'
email_pro: Professional email address
phone: Professional phone number (direct line)
@ -12,15 +12,10 @@ en:
email: 'Example: address@mail.com'
errors:
models:
helpscout/form:
contact_form:
invalid_email_format: 'is not valid'
support:
index:
contact: Contact
intro_html:
'<p>Contact us via this form and we will answer you as quickly as possible.</p>
<p>Make sure you provide all the required information so we can help you in the best way.</p>'
notice_email: 'Expected format: address@mail.com'
form:
your_question: Your question
our_answer: Our answer
notice_pj_product: A screenshot can help us identify the element to improve.

View file

@ -1,7 +1,7 @@
fr:
activemodel:
activerecord:
attributes:
helpscout/form:
contact_form:
email: 'Votre adresse email'
email_pro: Votre adresse email professionnelle
phone: Numéro de téléphone professionnel (ligne directe)
@ -12,15 +12,10 @@ fr:
email: 'Exemple: adresse@mail.com'
errors:
models:
helpscout/form:
contact_form:
invalid_email_format: 'est invalide'
support:
index:
contact: Contact
intro_html:
'<p>Contactez-nous via ce formulaire et nous vous répondrons dans les plus brefs délais.</p>
<p>Pensez bien à nous donner le plus dinformations possible pour que nous puissions vous aider au mieux.</p>'
notice_email: 'Format attendu : adresse@mail.com'
form:
your_question: Votre question
our_answer: Notre réponse
notice_pj_product: Une capture décran peut nous aider à identifier plus facilement lendroit à améliorer.