Merge pull request #5991 from betagouv/localize-sign-in-form
Usagers : traduction de la page `/users/sign_in` en anglais (derrière un feature-flag) (#5991)
This commit is contained in:
commit
66ffbf77a5
5 changed files with 52 additions and 21 deletions
|
@ -2,8 +2,8 @@
|
|||
= image_tag "landing/hero/dematerialiser.svg", class: "paperless-logo", alt: "moins de papier"
|
||||
.baseline.center
|
||||
%p
|
||||
%span.simple Un outil simple
|
||||
%span.simple= t('views.commencer.no_procedure.ligne1')
|
||||
%br
|
||||
pour gérer les formulaires
|
||||
= t('views.commencer.no_procedure.ligne2')
|
||||
%br
|
||||
administratifs dématérialisés.
|
||||
= t('views.commencer.no_procedure.ligne3')
|
||||
|
|
|
@ -3,29 +3,29 @@
|
|||
.auth-form.sign-in-form
|
||||
|
||||
= form_for User.new, url: user_session_path, html: { class: "form" } do |f|
|
||||
%h1.huge-title Connectez-vous
|
||||
%h1.huge-title= t('views.sessions.new.title')
|
||||
|
||||
= render partial: 'shared/france_connect_login', locals: { url: france_connect_particulier_path }
|
||||
|
||||
= f.label :email, "Email (nom@site.com)"
|
||||
= f.label :email, t('views.sessions.new.email')
|
||||
= f.text_field :email, type: :email, autocomplete: 'username', autofocus: true
|
||||
|
||||
= f.label :password, "Mot de passe (#{PASSWORD_MIN_LENGTH} caractères minimum)"
|
||||
= f.label :password, t('views.sessions.new.password', min_length: PASSWORD_MIN_LENGTH)
|
||||
= f.password_field :password, autocomplete: 'current-password'
|
||||
|
||||
.auth-options
|
||||
%div
|
||||
= f.check_box :remember_me
|
||||
= f.label :remember_me, "Se souvenir de moi", class: 'remember-me'
|
||||
= f.label :remember_me, t('views.sessions.new.remember_me'), class: 'remember-me'
|
||||
|
||||
.text-right
|
||||
= link_to "Mot de passe oublié ?", new_user_password_path, class: "link"
|
||||
= link_to t('views.sessions.new.reset_password'), new_user_password_path, class: "link"
|
||||
|
||||
= f.submit "Se connecter", class: "button large primary expand"
|
||||
= f.submit t('views.sessions.new.connection'), class: "button large primary expand"
|
||||
|
||||
%hr
|
||||
%p.center
|
||||
%span Vous êtes nouveau sur #{APPLICATION_NAME.gsub("-","‑").html_safe} ?
|
||||
%span= t('views.sessions.new.are_you_new', app_name: APPLICATION_NAME.gsub("-","‑")).html_safe
|
||||
%br
|
||||
%br
|
||||
= link_to "Trouvez votre démarche", COMMENT_TROUVER_MA_DEMARCHE_URL, target: "_blank", class: "button expend secondary"
|
||||
= link_to t('views.sessions.new.find_procedure'), COMMENT_TROUVER_MA_DEMARCHE_URL, target: "_blank", class: "button expend secondary"
|
||||
|
|
|
@ -35,7 +35,21 @@ en:
|
|||
previous: Previous
|
||||
first: First
|
||||
truncate: '…'
|
||||
|
||||
sessions:
|
||||
new:
|
||||
title: Sign in
|
||||
email: Email address (name@site.com)
|
||||
password: Password (minimum length %{min_length} characters)
|
||||
remember_me: Remember me
|
||||
reset_password: Forgot password?
|
||||
connection: Sign in
|
||||
are_you_new: First time on %{app_name} ?
|
||||
find_procedure: Find your procedure
|
||||
commencer:
|
||||
no_procedure:
|
||||
ligne1: A simple tool
|
||||
ligne2: to manage dematerialized
|
||||
ligne3: administrative forms.
|
||||
modal:
|
||||
publish:
|
||||
title:
|
||||
|
@ -47,7 +61,6 @@ en:
|
|||
submit:
|
||||
publish: Publish
|
||||
reopen: Reopen
|
||||
|
||||
activerecord:
|
||||
attributes:
|
||||
user:
|
||||
|
@ -91,7 +104,6 @@ en:
|
|||
taken: is already used for procedure. You cannot use it because it belongs to another administrator.
|
||||
# taken_can_be_claimed: est identique à celui d’une autre de vos procedures publiées. Si vous publiez cette procedure, l’ancienne sera dépubliée et ne sera plus accessible au public. Les utilisateurs qui ont commencé un brouillon vont pouvoir le déposer.
|
||||
invalid: is not valid. It must countain between 3 and 50 characters among a-z, 0-9, '_' and '-'.
|
||||
|
||||
errors:
|
||||
messages:
|
||||
dossier_not_found: "The file does not exist or you do not have access to it."
|
||||
|
@ -111,7 +123,6 @@ en:
|
|||
# other: "Aucune parcelle cadastrale sur les zones sélectionnées"
|
||||
not_an_integer: "must be an integer (without decimal)"
|
||||
blank: "can't be blank"
|
||||
|
||||
time:
|
||||
formats:
|
||||
default: "%B %d %Y %R"
|
||||
|
@ -151,4 +162,4 @@ en:
|
|||
draft:
|
||||
zero: Draft
|
||||
one: Draft
|
||||
other: Drafts
|
||||
other: Drafts
|
|
@ -35,7 +35,21 @@ fr:
|
|||
previous: Précédent
|
||||
first: Premier
|
||||
truncate: '…'
|
||||
|
||||
sessions:
|
||||
new:
|
||||
title: Connectez-vous
|
||||
email: Email (nom@site.com)
|
||||
password: Mot de passe (%{min_length} caractères minimum)
|
||||
remember_me: Se souvenir de moi
|
||||
reset_password: Mot de passe oublié ?
|
||||
connection: Se connecter
|
||||
are_you_new: Vous êtes nouveau sur %{app_name} ?
|
||||
find_procedure: Trouvez votre démarche
|
||||
commencer:
|
||||
no_procedure:
|
||||
ligne1: Un outil simple
|
||||
ligne2: pour gérer les formulaires
|
||||
ligne3: administratifs dématérialisés.
|
||||
modal:
|
||||
publish:
|
||||
title:
|
||||
|
@ -47,7 +61,6 @@ fr:
|
|||
submit:
|
||||
publish: Publier
|
||||
reopen: Réactiver
|
||||
|
||||
activerecord:
|
||||
attributes:
|
||||
default_attributes: &default_attributes
|
||||
|
@ -100,7 +113,6 @@ fr:
|
|||
taken: est déjà utilisé par une démarche. Vous ne pouvez pas l’utiliser car il appartient à un autre administrateur.
|
||||
taken_can_be_claimed: est identique à celui d’une autre de vos démarches publiées. Si vous publiez cette démarche, l’ancienne sera dépubliée et ne sera plus accessible au public. Les utilisateurs qui ont commencé un brouillon vont pouvoir le déposer.
|
||||
invalid: n’est pas valide. Il doit comporter au moins 3 caractères, au plus 50 caractères et seuls les caractères a-z, 0-9, '_' et '-' sont autorisés.
|
||||
|
||||
errors:
|
||||
messages:
|
||||
saml_not_authorized: "Vous n'êtes pas autorisé à accéder à ce service."
|
||||
|
@ -122,7 +134,6 @@ fr:
|
|||
other: "Aucune parcelle cadastrale sur les zones sélectionnées"
|
||||
not_an_integer: "doit être un nombre entier (sans chiffres après la virgule)"
|
||||
blank: "doit être rempli"
|
||||
|
||||
time:
|
||||
formats:
|
||||
default: "%d %B %Y %R"
|
||||
|
@ -174,4 +185,4 @@ fr:
|
|||
draft:
|
||||
zero: Brouillon
|
||||
one: Brouillon
|
||||
other: Brouillons
|
||||
other: Brouillons
|
9
config/locales/views/shared/en.yml
Normal file
9
config/locales/views/shared/en.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
en:
|
||||
views:
|
||||
shared:
|
||||
france_connect_login:
|
||||
title: "With FranceConnect"
|
||||
description: "France connect is a solution proposed by the government to secure and simplify the connection to web services."
|
||||
login_button: "Sign in with FranceConnect"
|
||||
help_link: What is FranceConnect ?
|
||||
separator: or
|
Loading…
Reference in a new issue