add folders number for instructor group

This commit is contained in:
Eric Leroy-Terquem 2023-01-02 11:20:38 +01:00
parent 7e850db2dc
commit f82fba3e2f
3 changed files with 7 additions and 3 deletions

View file

@ -61,7 +61,7 @@
%td.actions
= link_to reaffecter_dossiers_admin_procedure_groupe_instructeur_path(procedure, group), class: 'button', title: t('.group_management.move_folders_confirmation') do
%span.icon.follow
= t('.group_management.move_folders')
= t('.group_management.move_folders', count: group.dossiers.count)
= paginate groupes_instructeurs

View file

@ -38,7 +38,9 @@ en:
title: Group management
delete: delete the group
delete_confirmation: Are you sure you want to delete the group "%{group_name}"
move_folders: move folders
move_folders:
one: move 1 file
other: move the %{count} files
move_folders_confirmation: Reassign folders to another group so you can delete it
add_a_group:
title: Add a group

View file

@ -44,7 +44,9 @@ fr:
title: Gestion des Groupes
delete: supprimer le groupe
delete_confirmation: Êtes-vous sûr de vouloir supprimer le groupe "%{group_name}"
move_folders: déplacer les dossiers
move_folders:
one: déplacer 1 dossier
other: déplacer les %{count} dossiers
move_folders_confirmation: Réaffecter les dossiers à un autre groupe afin de pouvoir le supprimer
add_a_group:
title: Ajouter un nom de groupe