fix linter missing I18n key
This commit is contained in:
parent
a7d2d39f3b
commit
074e3bf5f8
3 changed files with 9 additions and 9 deletions
|
@ -8,7 +8,7 @@
|
|||
- if multiple_devise_profile_connect?
|
||||
%li
|
||||
= link_to "#", class: "fr-nav__link", "aria-current" => "true" do
|
||||
= t('connected_as', profile: t("#{nav_bar_profile}"), scope: [:layouts])
|
||||
= t('layouts.connected_as', profile: t("layouts.#{nav_bar_profile}"))
|
||||
|
||||
- if user_signed_in? && nav_bar_profile != :user
|
||||
%li
|
||||
|
|
|
@ -12,7 +12,7 @@ en:
|
|||
logout: "Log out"
|
||||
my_account: "My account"
|
||||
connected_as: "connected as %{profile}"
|
||||
instructeur: instructor
|
||||
administrateur: admin
|
||||
expert: expert
|
||||
user: user
|
||||
instructeur: instructor
|
||||
administrateur: admin
|
||||
expert: expert
|
||||
user: user
|
||||
|
|
|
@ -12,7 +12,7 @@ fr:
|
|||
logout: "Se déconnecter"
|
||||
my_account: "Mon compte"
|
||||
connected_as: "connecté en tant qu’%{profile}"
|
||||
instructeur: instructeur
|
||||
administrateur: administrateur
|
||||
expert: expert
|
||||
user: usager
|
||||
instructeur: instructeur
|
||||
administrateur: administrateur
|
||||
expert: expert
|
||||
user: usager
|
||||
|
|
Loading…
Reference in a new issue