i18n(users/confirmations#new): i18n this page
This commit is contained in:
parent
261932b56f
commit
0643d15196
3 changed files with 26 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
- content_for(:title, 'Confirmez votre adresse email')
|
- content_for(:title, t('views.confirmation.new.title'))
|
||||||
|
|
||||||
- content_for :footer do
|
- content_for :footer do
|
||||||
= render partial: 'root/footer'
|
= render partial: 'root/footer'
|
||||||
|
@ -6,31 +6,28 @@
|
||||||
.container.devise-container.devise-confirmations
|
.container.devise-container.devise-confirmations
|
||||||
.one-column-centered
|
.one-column-centered
|
||||||
= devise_error_messages!
|
= devise_error_messages!
|
||||||
%h1.center Confirmez votre adresse email
|
%h1.center= t('views.confirmation.new.title')
|
||||||
|
|
||||||
%img.confirmation-icon{ src: image_url("user/confirmation-email.svg"), alt: "Email envoyé" }
|
%img.confirmation-icon{ src: image_url("user/confirmation-email.svg"), alt: t('views.confirmation.new.image_alt') }
|
||||||
|
|
||||||
%h2.confirmation-preamble
|
%h2.confirmation-preamble
|
||||||
= succeed '.' do
|
= succeed '.' do
|
||||||
Avant d’effectuer votre démarche, nous avons besoin de vérifier votre adresse
|
= t('views.confirmation.new.email_cta')
|
||||||
- if resource.email.present?
|
- if resource.email.present?
|
||||||
%strong= resource.email
|
%strong= resource.email
|
||||||
|
|
||||||
%p.confirmation-instructions
|
%p.confirmation-instructions= t('views.confirmation.new.email_guidelines_html')
|
||||||
Ouvrez votre boîte email, et
|
|
||||||
%strong cliquez sur le lien d’activation
|
|
||||||
dans le message que vous avez reçu.
|
|
||||||
|
|
||||||
%hr.confirmation-separator
|
%hr.confirmation-separator
|
||||||
|
|
||||||
.confirmation-resend
|
.confirmation-resend
|
||||||
%p Si vous n’avez pas reçu notre message (avez-vous vérifié les indésirables ?), nous pouvons vous le renvoyer.
|
%p= t('views.confirmation.new.email_missing')
|
||||||
|
|
||||||
= form_for(resource, as: resource_name, url: confirmation_path(resource_name)) do |f|
|
= form_for(resource, as: resource_name, url: confirmation_path(resource_name)) do |f|
|
||||||
= render Dsfr::InputComponent.new(form: f, attribute: :email, input_type: :email_field, opts: { autofocus: true })
|
= render Dsfr::InputComponent.new(form: f, attribute: :email, input_type: :email_field, opts: { autofocus: true })
|
||||||
= f.submit 'Renvoyer un email de confirmation', class: 'fr-btn'
|
= f.submit t('views.confirmation.new.resent'), class: 'fr-btn'
|
||||||
|
|
||||||
%p.fr-mt-3w
|
%p.fr-mt-3w
|
||||||
Vous pouvez également consulter notre
|
= t('views.confirmation.new.faq')
|
||||||
= link_to(t("links.common.faq.label"), t("links.common.faq.email_non_recu_url"), title: new_tab_suffix(t("links.common.faq.title")), **external_link_attributes)
|
= link_to(t("links.common.faq.label"), t("links.common.faq.email_non_recu_url"), title: new_tab_suffix(t("links.common.faq.title")), **external_link_attributes)
|
||||||
\.
|
\.
|
||||||
|
|
|
@ -301,6 +301,15 @@ en:
|
||||||
password_label: "Password (%{min_length} characters minimum)"
|
password_label: "Password (%{min_length} characters minimum)"
|
||||||
password_message: "Your password must have :"
|
password_message: "Your password must have :"
|
||||||
password_placeholder: "%{min_length} characters minimum"
|
password_placeholder: "%{min_length} characters minimum"
|
||||||
|
confirmation:
|
||||||
|
new:
|
||||||
|
title: 'Confirm your email address'
|
||||||
|
image_alt: "Email sent"
|
||||||
|
email_cta: "Before filling your file, we have to validate your email address"
|
||||||
|
email_guidelines_html: "Open your mailbox and <strong>click on the activation link</strong> within the mail we just sent you."
|
||||||
|
email_missing: "If you have not received our email (have you checked your spam ?), we can resend it."
|
||||||
|
resent: 'Resend the confirmation email'
|
||||||
|
faq: 'Also, you can check our'
|
||||||
invites:
|
invites:
|
||||||
dropdown:
|
dropdown:
|
||||||
invite_to_edit: Invite someone to edit this file
|
invite_to_edit: Invite someone to edit this file
|
||||||
|
|
|
@ -297,6 +297,15 @@ fr:
|
||||||
password_label: "Mot de passe (%{min_length} caractères minimum)"
|
password_label: "Mot de passe (%{min_length} caractères minimum)"
|
||||||
password_message: "Votre mot de passe doit contenir :"
|
password_message: "Votre mot de passe doit contenir :"
|
||||||
password_placeholder: "%{min_length} caractères minimum"
|
password_placeholder: "%{min_length} caractères minimum"
|
||||||
|
confirmation:
|
||||||
|
new:
|
||||||
|
title: 'Confirmez votre adresse email'
|
||||||
|
image_alt: "Email envoyé"
|
||||||
|
email_cta: "Avant d’effectuer votre démarche, nous avons besoin de vérifier votre adresse"
|
||||||
|
email_guidelines_html: "Ouvrez votre boîte email, et <strong>cliquez sur le lien d’activation</strong> dans le message que vous avez reçu."
|
||||||
|
email_missing: "Si vous n’avez pas reçu notre message (avez-vous vérifié les indésirables ?), nous pouvons vous le renvoyer."
|
||||||
|
resent: 'Renvoyer un email de confirmation'
|
||||||
|
faq: 'Vous pouvez également consulter notre'
|
||||||
invites:
|
invites:
|
||||||
dropdown:
|
dropdown:
|
||||||
invite_to_edit: Inviter une personne à modifier ce dossier
|
invite_to_edit: Inviter une personne à modifier ce dossier
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue