i18n for header
This commit is contained in:
parent
a5750ed4ce
commit
99c16e8dc0
6 changed files with 9 additions and 3 deletions
|
@ -65,9 +65,9 @@
|
||||||
- elsif request.path != new_user_session_path
|
- elsif request.path != new_user_session_path
|
||||||
- if request.path == new_user_registration_path
|
- if request.path == new_user_registration_path
|
||||||
%li
|
%li
|
||||||
Vous avez déjà un compte ?
|
= t('views.shared.account.already_user_question')
|
||||||
%li
|
%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
|
%li
|
||||||
- if dossier.present? && nav_bar_profile == :user
|
- if dossier.present? && nav_bar_profile == :user
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
= link_to 'Aide', FAQ_URL, class: 'button primary'
|
= link_to t('help'), FAQ_URL, class: 'button primary'
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
# available at http://guides.rubyonrails.org/i18n.html.
|
# available at http://guides.rubyonrails.org/i18n.html.
|
||||||
|
|
||||||
en:
|
en:
|
||||||
|
help: 'Help'
|
||||||
utils:
|
utils:
|
||||||
deconnexion: "Log out"
|
deconnexion: "Log out"
|
||||||
pj: "Attachments"
|
pj: "Attachments"
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
# available at http://guides.rubyonrails.org/i18n.html.
|
# available at http://guides.rubyonrails.org/i18n.html.
|
||||||
|
|
||||||
fr:
|
fr:
|
||||||
|
help: 'Aide'
|
||||||
utils:
|
utils:
|
||||||
deconnexion: "Déconnexion"
|
deconnexion: "Déconnexion"
|
||||||
pj: "Pièces jointes"
|
pj: "Pièces jointes"
|
||||||
|
|
|
@ -8,5 +8,7 @@ en:
|
||||||
help_link: What is FranceConnect?
|
help_link: What is FranceConnect?
|
||||||
separator: or
|
separator: or
|
||||||
account:
|
account:
|
||||||
|
already_user_question: 'Do you already have an account?'
|
||||||
already_user: "I already have an account"
|
already_user: "I already have an account"
|
||||||
create: 'Create an account'
|
create: 'Create an account'
|
||||||
|
signin: 'Sign in'
|
||||||
|
|
|
@ -16,5 +16,7 @@ fr:
|
||||||
help_link: "Qu’est-ce que FranceConnect ?"
|
help_link: "Qu’est-ce que FranceConnect ?"
|
||||||
separator: 'ou'
|
separator: 'ou'
|
||||||
account:
|
account:
|
||||||
|
already_user_question: 'Vous avez déjà un compte ?'
|
||||||
already_user: 'J’ai déjà un compte'
|
already_user: 'J’ai déjà un compte'
|
||||||
create: 'Créer un compte'
|
create: 'Créer un compte'
|
||||||
|
signin: 'Connexion'
|
||||||
|
|
Loading…
Add table
Reference in a new issue