From bb15d5fadc5011a9a60d8c238a30691c566484d1 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 24 Aug 2021 09:57:43 -0500 Subject: [PATCH] i18n: put french first in the locales list Because French is the reference locale, and we should reflect this to users. --- app/views/layouts/_locale_dropdown.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/_locale_dropdown.html.haml b/app/views/layouts/_locale_dropdown.html.haml index 40f8d8a95..15ef75f61 100644 --- a/app/views/layouts/_locale_dropdown.html.haml +++ b/app/views/layouts/_locale_dropdown.html.haml @@ -3,9 +3,9 @@ .hidden t('.languages') = image_tag "icons/translate-icon.svg", alt: t('.languages'), width: 24, height: 24, lazy: true, aria: { hidden: true } %ul.header-menu.dropdown-content - %li - = active_link_to save_locale_path(locale: :en), method: :post, class: "menu-item menu-link", active: I18n.locale == :en do - English %li = active_link_to save_locale_path(locale: :fr), method: :post, class: "menu-item menu-link", active: I18n.locale == :fr do Français + %li + = active_link_to save_locale_path(locale: :en), method: :post, class: "menu-item menu-link", active: I18n.locale == :en do + English