From 34697a30851afc9afc0c91d5f7631bda89eda9a9 Mon Sep 17 00:00:00 2001 From: Lisa Durand Date: Thu, 20 Apr 2023 15:56:27 +0200 Subject: [PATCH] add missing translation for filter groupe instructeur --- app/models/procedure_presentation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/procedure_presentation.rb b/app/models/procedure_presentation.rb index 4151ecbb2..025c9ef7c 100644 --- a/app/models/procedure_presentation.rb +++ b/app/models/procedure_presentation.rb @@ -247,7 +247,7 @@ class ProcedurePresentation < ApplicationRecord Dossier.human_attribute_name("state.#{filter['value']}") elsif filter['table'] == 'groupe_instructeur' && filter['column'] == 'id' instructeur.groupe_instructeurs - .find { _1.id == filter['value'].to_i }&.label || "Groupe Instructeur #{filter['value']}" + .find { _1.id == filter['value'].to_i }&.label || I18n.t('activerecord.attributes.procedure_presentation.fields.groupe_instructeur.label') + " #{filter['value']}" else filter['value'] end