refactor(contact): suggest email correction, strict email validation, fix admin form
This commit is contained in:
parent
49be3a797a
commit
ff62e99e7b
15 changed files with 371 additions and 331 deletions
|
@ -52,9 +52,6 @@ en:
|
|||
asterisk_html: "Fields marked by an asterisk ( <svg aria-label='required' class='icon mandatory' height='10' role='img' viewBox='0 0 1200 1200' width='10' xml:space='preserve' xmlns='http://www.w3.org/2000/svg'><desc>required</desc><path d='M489.838 29.354v443.603L68.032 335.894 0 545.285l421.829 137.086-260.743 358.876 178.219 129.398L600.048 811.84l260.673 358.806 178.146-129.398-260.766-358.783L1200 545.379l-68.032-209.403-421.899 137.07V29.443H489.84l-.002-.089z'></path></svg> ) are mandatory."
|
||||
mandatory_champs: All fields are mandatory.
|
||||
no_mandatory: (optional)
|
||||
file_number: File number
|
||||
subject: Subject
|
||||
message: Message
|
||||
send_mail: Send message
|
||||
new_tab: New tab
|
||||
helpers:
|
||||
|
|
|
@ -43,9 +43,6 @@ fr:
|
|||
asterisk_html: "Les champs suivis d’un astérisque ( <svg aria-label='obligatoire' class='icon mandatory' height='10' role='img' viewBox='0 0 1200 1200' width='10' xml:space='preserve' xmlns='http://www.w3.org/2000/svg'><desc>obligatoire</desc><path d='M489.838 29.354v443.603L68.032 335.894 0 545.285l421.829 137.086-260.743 358.876 178.219 129.398L600.048 811.84l260.673 358.806 178.146-129.398-260.766-358.783L1200 545.379l-68.032-209.403-421.899 137.07V29.443H489.84l-.002-.089z'></path></svg> ) sont obligatoires."
|
||||
mandatory_champs: Tous les champs sont obligatoires.
|
||||
no_mandatory: (facultatif)
|
||||
file_number: Numéro de dossier
|
||||
subject: Sujet
|
||||
message: Message
|
||||
send_mail: Envoyer le message
|
||||
new_tab: "Nouvel onglet"
|
||||
helpers:
|
||||
|
|
|
@ -1,4 +1,19 @@
|
|||
en:
|
||||
activemodel:
|
||||
attributes:
|
||||
helpscout/form:
|
||||
email: 'Your email address'
|
||||
email_pro: Professional email address
|
||||
phone: Professional phone number (direct line)
|
||||
subject: Subject
|
||||
text: Message
|
||||
dossier_id: File number
|
||||
hints:
|
||||
email: 'Example: address@mail.com'
|
||||
errors:
|
||||
models:
|
||||
helpscout/form:
|
||||
invalid_email_format: 'is not valid'
|
||||
support:
|
||||
index:
|
||||
contact: Contact
|
||||
|
@ -10,44 +25,51 @@ en:
|
|||
our_answer: Our answer
|
||||
notice_pj_product: A screenshot can help us identify the element to improve.
|
||||
notice_pj_other: A screenshot can help us identify the issue.
|
||||
notice_upload_group: "Maximum size: 200 MB. Supported formats: jpg, png, pdf."
|
||||
notice_upload_group: 'Maximum size: 200 MB. Supported formats: jpg, png, pdf.'
|
||||
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>'
|
||||
procedure_info:
|
||||
question: I've encountered a problem while completing my application
|
||||
answer_html: "<p>Are you sure that all the mandatory fields (<span class= mandatory> * </span>) are properly filled?
|
||||
<p>If you have questions about the information requested, <a href=\"%{link_procedure_info}\">contact the service in charge of the procedure (FAQ)</a>.</p>"
|
||||
answer_html:
|
||||
'<p>Are you sure that all the mandatory fields (<span class= mandatory> * </span>) are properly filled?
|
||||
<p>If you have questions about the information requested, <a href="%{link_procedure_info}">contact the service in charge of the procedure (FAQ)</a>.</p>'
|
||||
instruction_info:
|
||||
question: I have a question about the instruction of my application
|
||||
answer_html: "<p>If you have questions about the instruction of your application (response delay for example), <a href=\"%{link_instruction_info}\">contact directly the instructor via our mail system (FAQ)</a>.</p>
|
||||
<p>If you are facing technical issues on the website, use the form below. We will not be able to inform you about the instruction of your application.</p>"
|
||||
answer_html:
|
||||
'<p>If you have questions about the instruction of your application (response delay for example), <a href="%{link_instruction_info}">contact directly the instructor via our mail system (FAQ)</a>.</p>
|
||||
<p>If you are facing technical issues on the website, use the form below. We will not be able to inform you about the instruction of your application.</p>'
|
||||
product:
|
||||
question: I have an idea to improve the website
|
||||
answer_html: "<p>Got an idea? <a href=\"%{link_product}\" rel=\"noopener noreferrer\" target=\"_blank\" title=\"Please check our enhancement dashboard - New tab\">Please check our enhancement dashboard</a> :</p>
|
||||
<ul><li>Vote for your priority improvements</li>
|
||||
<li>Share your own ideas</li></ul>"
|
||||
answer_html:
|
||||
'<p>Got an idea? <a href="%{link_product}" rel="noopener noreferrer" target="_blank" title="Please check our enhancement dashboard - New tab">Please check our enhancement dashboard</a> :</p>
|
||||
<ul><li>Vote for your priority improvements</li>
|
||||
<li>Share your own ideas</li></ul>'
|
||||
lost_user:
|
||||
question: I am having trouble finding the procedure I am looking for
|
||||
answer_html: "<p>We invite you to contact the administration in charge of the procedure so they can provide you the link.
|
||||
It should look like this: <code>%{base_url}/commencer/NOM_DE_LA_DEMARCHE</code>.</p>
|
||||
<p>You can <a href=\"%{link_lost_user}\">find here the most popular procedures (licence, detr, etc.)</a>.</p>"
|
||||
answer_html:
|
||||
'<p>We invite you to contact the administration in charge of the procedure so they can provide you the link.
|
||||
It should look like this: <code>%{base_url}/commencer/NOM_DE_LA_DEMARCHE</code>.</p>
|
||||
<p>You can <a href="%{link_lost_user}">find here the most popular procedures (licence, detr, etc.)</a>.</p>'
|
||||
other:
|
||||
question: Other topic
|
||||
admin:
|
||||
your_question: Your question
|
||||
admin_intro_html: "<p>As an administration, you can contact us through this form. We'll answer you as quickly as possibly by e-mail or phone.</p>
|
||||
admin_intro_html:
|
||||
'<p>As an administration, you can contact us through this form. We''ll answer you as quickly as possibly by e-mail or phone.</p>
|
||||
<p><strong>Caution, this form is dedicated to public bodies only.</strong>
|
||||
It does not concern individuals, companies nor associations (except those recognised of public utility). If you belong to one of these categories, contact us <a href=\"%{contact_path}\">here</a>.</p>"
|
||||
It does not concern individuals, companies nor associations (except those recognised of public utility). If you belong to one of these categories, contact us <a href="%{contact_path}">here</a>.</p>'
|
||||
contact_team: Contact our team
|
||||
pro_phone_number: Professional phone number (direct line)
|
||||
pro_mail: Professional email address
|
||||
admin question:
|
||||
admin_question:
|
||||
question: I have a question about %{app_name}
|
||||
admin demande rdv:
|
||||
admin_demande_rdv:
|
||||
question: I request an appointment for an online presentation of %{app_name}
|
||||
admin soucis:
|
||||
admin_soucis:
|
||||
question: I am facing a technical issue on %{app_name}
|
||||
admin suggestion produit:
|
||||
admin_suggestion_produit:
|
||||
question: I have a suggestion for an evolution
|
||||
admin demande compte:
|
||||
admin_demande_compte:
|
||||
question: I want to open an admin account with an Orange, Wanadoo, etc. email
|
||||
admin autre:
|
||||
admin_autre:
|
||||
question: Other topic
|
||||
|
|
|
@ -1,4 +1,19 @@
|
|||
fr:
|
||||
activemodel:
|
||||
attributes:
|
||||
helpscout/form:
|
||||
email: 'Votre adresse email'
|
||||
email_pro: Votre adresse email professionnelle
|
||||
phone: Numéro de téléphone professionnel (ligne directe)
|
||||
subject: Sujet
|
||||
text: Message
|
||||
dossier_id: Numéro de dossier
|
||||
hints:
|
||||
email: 'Exemple: adresse@mail.com'
|
||||
errors:
|
||||
models:
|
||||
helpscout/form:
|
||||
invalid_email_format: 'est invalide'
|
||||
support:
|
||||
index:
|
||||
contact: Contact
|
||||
|
@ -10,44 +25,52 @@ fr:
|
|||
our_answer: Notre réponse
|
||||
notice_pj_product: Une capture d’écran peut nous aider à identifier plus facilement l’endroit à améliorer.
|
||||
notice_pj_other: Une capture d’écran peut nous aider à identifier plus facilement le problème.
|
||||
notice_upload_group: "Taille maximale : 200 Mo. Formats supportés : jpg, png, pdf."
|
||||
notice_upload_group: 'Taille maximale : 200 Mo. Formats supportés : jpg, png, pdf.'
|
||||
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 d’informations possible pour que nous puissions vous aider au mieux.</p>'
|
||||
procedure_info:
|
||||
question: J’ai un problème lors du remplissage de mon dossier
|
||||
answer_html: "<p>Avez-vous bien vérifié que tous les champs obligatoires (<span class= mandatory> * </span>) sont remplis ?
|
||||
<p>Si vous avez des questions sur les informations à saisir, <a href=\"%{link_procedure_info}\">contactez les services en charge de la démarche (FAQ)</a>.</p>"
|
||||
answer_html:
|
||||
'<p>Avez-vous bien vérifié que tous les champs obligatoires (<span class= mandatory> * </span>) sont remplis ?
|
||||
<p>Si vous avez des questions sur les informations à saisir, <a href="%{link_procedure_info}">contactez les services en charge de la démarche (FAQ)</a>.</p>'
|
||||
instruction_info:
|
||||
question: J’ai une question sur l’instruction de mon dossier
|
||||
answer_html: "<p>Si vous avez des questions sur l’instruction de votre dossier (par exemple sur les délais), nous vous invitons à <a href=\"%{link_instruction_info}\">contacter directement les services qui instruisent votre dossier par votre messagerie (FAQ)</a>.</p>
|
||||
<p>Si vous souhaitez poser une question pour un problème technique sur le site, utilisez le formulaire ci-dessous. Nous ne pourrons pas vous renseigner sur l’instruction de votre dossier.</p>"
|
||||
answer_html:
|
||||
'<p>Si vous avez des questions sur l’instruction de votre dossier (par exemple sur les délais), nous vous invitons à <a href="%{link_instruction_info}">contacter directement les services qui instruisent votre dossier par votre messagerie (FAQ)</a>.</p>
|
||||
<p>Si vous souhaitez poser une question pour un problème technique sur le site, utilisez le formulaire ci-dessous. Nous ne pourrons pas vous renseigner sur l’instruction de votre dossier.</p>'
|
||||
product:
|
||||
question: J’ai une idée d’amélioration pour votre site
|
||||
answer_html: "<p>Une idée ? Pensez à <a href=\"%{link_product}\" rel=\"noopener noreferrer\" target=\"_blank\" title=\"Consulter notre tableau de bord des améliorations - Nouvel onglet\">consulter notre tableau de bord des améliorations</a> :</p>
|
||||
answer_html:
|
||||
'<p>Une idée ? Pensez à <a href="%{link_product}" rel="noopener noreferrer" target="_blank" title="Consulter notre tableau de bord des améliorations - Nouvel onglet">consulter notre tableau de bord des améliorations</a> :</p>
|
||||
<ul><li>Votez pour vos améliorations prioritaires,</li>
|
||||
<li>Proposez votre propre idée.</li></ul>"
|
||||
<li>Proposez votre propre idée.</li></ul>'
|
||||
lost_user:
|
||||
question: Je ne trouve pas la démarche que je veux faire
|
||||
answer_html: "<p>Nous vous invitons à contacter l’administration en charge de votre démarche pour qu’elle vous indique le lien à suivre. Celui-ci devrait ressembler à cela : <code>%{base_url}/commencer/NOM_DE_LA_DEMARCHE</code>.</p>
|
||||
<p>Vous pouvez aussi <a href=\"%{link_lost_user}\">consulter ici la liste de nos démarches les plus fréquentes (permis, detr, etc.)</a>.</p>"
|
||||
answer_html:
|
||||
'<p>Nous vous invitons à contacter l’administration en charge de votre démarche pour qu’elle vous indique le lien à suivre. Celui-ci devrait ressembler à cela : <code>%{base_url}/commencer/NOM_DE_LA_DEMARCHE</code>.</p>
|
||||
<p>Vous pouvez aussi <a href="%{link_lost_user}">consulter ici la liste de nos démarches les plus fréquentes (permis, detr, etc.)</a>.</p>'
|
||||
other:
|
||||
question: Autre sujet
|
||||
|
||||
admin:
|
||||
your_question: Votre question
|
||||
admin_intro_html: "<p>En tant qu’administration, vous pouvez nous contactez via ce formulaire. Nous vous répondrons dans les plus brefs délais, par email ou par téléphone.</p>
|
||||
admin_intro_html:
|
||||
'<p>En tant qu’administration, vous pouvez nous contactez via ce formulaire. Nous vous répondrons dans les plus brefs délais, par email ou par téléphone.</p>
|
||||
<p><strong>Attention, ce formulaire est réservé uniquement aux organismes publics.</strong>
|
||||
Il ne concerne ni les particuliers, ni les entreprises, ni les associations (sauf celles reconnues d’utilité publique). Si c'est votre cas, rendez-vous sur notre
|
||||
<a href=\"%{contact_path}\">formulaire de contact public</a>.</p>"
|
||||
Il ne concerne ni les particuliers, ni les entreprises, ni les associations (sauf celles reconnues d’utilité publique). Si c''est votre cas, rendez-vous sur notre
|
||||
<a href="%{contact_path}">formulaire de contact public</a>.</p>'
|
||||
contact_team: Contactez notre équipe
|
||||
pro_phone_number: Numéro de téléphone professionnel (ligne directe)
|
||||
pro_mail: Adresse e-mail professionnelle
|
||||
admin question:
|
||||
admin_question:
|
||||
question: J’ai une question sur %{app_name}
|
||||
admin demande rdv:
|
||||
admin_demande_rdv:
|
||||
question: Demande de RDV pour une présentation à distance de %{app_name}
|
||||
admin soucis:
|
||||
admin_soucis:
|
||||
question: J’ai un problème technique avec %{app_name}
|
||||
admin suggestion produit:
|
||||
admin_suggestion_produit:
|
||||
question: J’ai une proposition d’évolution
|
||||
admin demande compte:
|
||||
admin_demande_compte:
|
||||
question: Je souhaite ouvrir un compte administrateur avec un email Orange, Wanadoo, etc.
|
||||
admin autre:
|
||||
admin_autre:
|
||||
question: Autre sujet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue