i18n: remove language code from the locale dropdown

This commit is contained in:
Pierre de La Morinerie 2021-08-24 09:46:40 -05:00
parent 47e1555dce
commit 227b1dc462

View file

@ -5,7 +5,7 @@
%ul.header-menu.dropdown-content %ul.header-menu.dropdown-content
%li %li
= link_to save_locale_path(locale: :en), method: :post, class: "menu-item menu-link" do = link_to save_locale_path(locale: :en), method: :post, class: "menu-item menu-link" do
EN English English
%li %li
= link_to save_locale_path(locale: :fr), method: :post, class: "menu-item menu-link" do = link_to save_locale_path(locale: :fr), method: :post, class: "menu-item menu-link" do
FR Français Français