diff --git a/app/views/layouts/_header.haml b/app/views/layouts/_header.haml index 80e64b4d5..1cc645e27 100644 --- a/app/views/layouts/_header.haml +++ b/app/views/layouts/_header.haml @@ -65,9 +65,9 @@ - elsif request.path != new_user_session_path - if request.path == new_user_registration_path %li - Vous avez déjà un compte ? + = t('views.shared.account.already_user_question') %li - = link_to "Connexion", new_user_session_path, class: "button secondary" + = link_to t('views.shared.account.signin'), new_user_session_path, class: "button secondary" %li - if dossier.present? && nav_bar_profile == :user diff --git a/app/views/shared/help/_help_button.html.haml b/app/views/shared/help/_help_button.html.haml index a73a69381..7b782036c 100644 --- a/app/views/shared/help/_help_button.html.haml +++ b/app/views/shared/help/_help_button.html.haml @@ -1 +1 @@ -= link_to 'Aide', FAQ_URL, class: 'button primary' += link_to t('help'), FAQ_URL, class: 'button primary' diff --git a/config/locales/en.yml b/config/locales/en.yml index fbb5921ec..79733ad87 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -30,6 +30,7 @@ # available at http://guides.rubyonrails.org/i18n.html. en: + help: 'Help' utils: deconnexion: "Log out" pj: "Attachments" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 3649d2bb5..6e1b0fdf9 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -20,6 +20,7 @@ # available at http://guides.rubyonrails.org/i18n.html. fr: + help: 'Aide' utils: deconnexion: "Déconnexion" pj: "Pièces jointes" diff --git a/config/locales/views/shared/en.yml b/config/locales/views/shared/en.yml index 896b668f6..e79a9aae2 100644 --- a/config/locales/views/shared/en.yml +++ b/config/locales/views/shared/en.yml @@ -8,5 +8,7 @@ en: help_link: What is FranceConnect? separator: or account: + already_user_question: 'Do you already have an account?' already_user: "I already have an account" create: 'Create an account' + signin: 'Sign in' diff --git a/config/locales/views/shared/fr.yml b/config/locales/views/shared/fr.yml index b56cb8783..29d6b9f4b 100644 --- a/config/locales/views/shared/fr.yml +++ b/config/locales/views/shared/fr.yml @@ -16,5 +16,7 @@ fr: help_link: "Qu’est-ce que FranceConnect ?" separator: 'ou' account: + already_user_question: 'Vous avez déjà un compte ?' already_user: 'J’ai déjà un compte' create: 'Créer un compte' + signin: 'Connexion'