Fix pluralization in search page
This commit is contained in:
parent
38ace037f3
commit
fbe93e0fce
2 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
.container
|
.container
|
||||||
.page-title
|
.page-title
|
||||||
Résultat de la recherche :
|
Résultat de la recherche :
|
||||||
= pluralize(@dossiers.count, "dossier trouvé", "dossiers trouvés")
|
= t('pluralize.dossier_trouve', count: @dossiers.count)
|
||||||
|
|
||||||
- if @dossiers.present?
|
- if @dossiers.present?
|
||||||
%table.table.dossiers-table.hoverable
|
%table.table.dossiers-table.hoverable
|
||||||
|
|
|
@ -313,3 +313,7 @@ fr:
|
||||||
zero: archivé
|
zero: archivé
|
||||||
one: archivé
|
one: archivé
|
||||||
other: archivés
|
other: archivés
|
||||||
|
dossier_trouve:
|
||||||
|
zero: 0 dossier trouvé
|
||||||
|
one: 1 dossier trouvé
|
||||||
|
other: "%{count} dossiers trouvés"
|
||||||
|
|
Loading…
Reference in a new issue