fix linter missing I18n key

This commit is contained in:
Lisa Durand 2023-07-13 12:08:30 +02:00
parent a7d2d39f3b
commit 074e3bf5f8
3 changed files with 9 additions and 9 deletions

View file

@ -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

View file

@ -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

View file

@ -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