Skip to content
Snippets Groups Projects
Unverified Commit 90b07b90 authored by Pierre-André Boissinot's avatar Pierre-André Boissinot Committed by GitHub
Browse files

Réparation de la liste des langues (#2704)

* fix language list

* remove unused locales

* other places
parent 75142233
No related branches found
No related tags found
No related merge requests found
<%= f.association :language,
include_blank: false,
collection: current_university.languages.ordered,
label_method: lambda { |l| t("languages.#{l.iso_code.to_s}") } %>
label_method: lambda { |l| language_name(l.iso_code) } %>
......@@ -23,7 +23,7 @@
</tr>
<tr>
<td><%= User.human_attribute_name('language') %></td>
<td class="text-end"><%= t("languages.#{@user.language.iso_code.to_s}") %></td>
<td class="text-end"><%= language_name(@user.language.iso_code) %></td>
</tr>
<% if @user.person %>
<tr>
......
......@@ -24,7 +24,7 @@
<%= f.association :language,
required: true,
collection: Language.available_for_interface,
label_method: lambda { |l| t("languages.#{l.iso_code.to_s}") },
label_method: lambda { |l| language_name(l.iso_code) },
include_blank: :translate %>
</div>
<div class="col-lg-6">
......
......@@ -396,9 +396,6 @@ en:
inactivity_alert: "It seems you have been away a little bit too long. Could you please retry?"
internationalization:
label: Internationalization
languages:
en: English
fr: French
legal: Legal
loading: Loading...
localization:
......
......@@ -396,9 +396,6 @@ fr:
inactivity_alert: "Il semble que vous soyez resté sur la page un peu trop longtemps. Pouvez-vous ré-essayer ?"
internationalization:
label: Internationalisation
languages:
en: Anglais
fr: Français
legal: Légal
loading: Chargement...
localization:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment