diff --git a/app/views/instructeurs/recherche/index.html.haml b/app/views/instructeurs/recherche/index.html.haml index 2ccce0994..635895a60 100644 --- a/app/views/instructeurs/recherche/index.html.haml +++ b/app/views/instructeurs/recherche/index.html.haml @@ -3,7 +3,7 @@ .container .page-title Résultat de la recherche : - = pluralize(@dossiers.count, "dossier trouvé", "dossiers trouvés") + = t('pluralize.dossier_trouve', count: @dossiers.count) - if @dossiers.present? %table.table.dossiers-table.hoverable diff --git a/config/locales/fr.yml b/config/locales/fr.yml index c44b18967..5935c6cc9 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -313,3 +313,7 @@ fr: zero: archivé one: archivé other: archivés + dossier_trouve: + zero: 0 dossier trouvé + one: 1 dossier trouvé + other: "%{count} dossiers trouvés"