From 724c45e98ecbde3f546baafccd687d8f51a6d20e Mon Sep 17 00:00:00 2001
From: pabois <pierreandre.boissinot@noesya.coop>
Date: Mon, 3 Oct 2022 16:37:50 +0200
Subject: [PATCH] locales

---
 app/views/admin/university/organizations/show.html.erb | 2 +-
 config/locales/university/fr.yml                       | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/views/admin/university/organizations/show.html.erb b/app/views/admin/university/organizations/show.html.erb
index d78932e53..47e541797 100644
--- a/app/views/admin/university/organizations/show.html.erb
+++ b/app/views/admin/university/organizations/show.html.erb
@@ -115,7 +115,7 @@
 </div>
 
 <% if @organization.experiences.any? %>
-  <h2><%= University::Person::Alumnus.model_name.human(count: 2) %></h2>
+  <h2><%= t('university.organization.employees') %></h2>
 
   <table class="<%= table_classes %>">
     <thead>
diff --git a/config/locales/university/fr.yml b/config/locales/university/fr.yml
index 56e74a01c..aba7fa598 100644
--- a/config/locales/university/fr.yml
+++ b/config/locales/university/fr.yml
@@ -175,6 +175,7 @@ fr:
     manage_cohorts: Gérer les promotions
     manage_experiences: Gérer les expériences professionnelles
     organization:
+      employees: Employés·es
       import_hint_html: "Les valeurs possibles pour <i>kind</i> sont : company, non_profit, government.<br>Les champs <i>siren</i>, <i>nic</i>, <i>zipcode</i> et <i>phone</i> doivent être au format texte, pas nombre.<br>Le champ <i>country</i> doit contenir le code ISO 3166 du pays, sur 2 caratères en majuscule (<a href=\"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes\" target=\_blank\">liste</a>)"
     person:
       administrator_roles: Rôles administratifs
-- 
GitLab