From 1a477eb511a65bf3f409d927394e1a53af029f1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 25 Jun 2021 22:23:06 +0200 Subject: [PATCH] Remove unneeded optgroup in locale switcher The `` doesn't make much sense if all options are inside one group. And the information provided was redundant: when using a select field having "Language" as a label, it's obvious that the options are the available languages. Now that, since now the ` - "> - <% I18n.available_locales.map do |loc| %> - - <% end %> - + <% I18n.available_locales.map do |loc| %> + + <% end %> diff --git a/config/locales/en/general.yml b/config/locales/en/general.yml index 650e44785..a58e5e6ba 100644 --- a/config/locales/en/general.yml +++ b/config/locales/en/general.yml @@ -226,7 +226,6 @@ en: header: administration_menu: Menu administration: Administration - available_locales: Available languages collaborative_legislation: Collaborative legislation debates: Debates locale: "Language:" diff --git a/config/locales/es/general.yml b/config/locales/es/general.yml index 7c59338f9..81a903d8c 100644 --- a/config/locales/es/general.yml +++ b/config/locales/es/general.yml @@ -226,7 +226,6 @@ es: header: administration_menu: Menú administration: Administración - available_locales: Idiomas disponibles collaborative_legislation: Legislación colaborativa debates: Debates locale: "Idioma:"