diff --git a/src/BootstrapAdminUi/templates/shared/helper/pagination.html.twig b/src/BootstrapAdminUi/templates/shared/helper/pagination.html.twig index ade4ba99..cdaaefb4 100644 --- a/src/BootstrapAdminUi/templates/shared/helper/pagination.html.twig +++ b/src/BootstrapAdminUi/templates/shared/helper/pagination.html.twig @@ -7,7 +7,7 @@ {% set to = paginator.maxPerPage + (paginator.currentPage - 1) * paginator.maxPerPage %} {% set to = to < paginator.nbResults ? to : paginator.nbResults %} - {{ 'sylius.ui.pagination.number_of_results'|trans({'%from%': from, '%to%': to, '%total%': paginator.nbResults}) }} + {{ 'sylius.ui.pagination.number_of_results'|trans({'%from%': from, '%to%': to, '%total%': paginator.nbResults, '%count%': paginator.nbResults}) }} {% endmacro %} {% macro number_of_results_selector(paginator, pagination_limits) %} diff --git a/src/UiTranslations/translations/messages.en.yaml b/src/UiTranslations/translations/messages.en.yaml index 7cc06bc5..92c31334 100644 --- a/src/UiTranslations/translations/messages.en.yaml +++ b/src/UiTranslations/translations/messages.en.yaml @@ -48,7 +48,7 @@ sylius: not_equal: 'Not equal' not_in: 'Not in' pagination: - number_of_results: 'Showing %from% to %to% of %total% entries' + number_of_results: 'Showing %from% to %to% of %total% entry|Showing %from% to %to% of %total% entries' report_it: 'Report it' reset: Reset search: Search diff --git a/src/UiTranslations/translations/messages.fr.yaml b/src/UiTranslations/translations/messages.fr.yaml index 06afe76d..eaa17f51 100644 --- a/src/UiTranslations/translations/messages.fr.yaml +++ b/src/UiTranslations/translations/messages.fr.yaml @@ -48,7 +48,7 @@ sylius: not_equal: 'Différent de' not_in: 'Pas dans' pagination: - number_of_results: 'Affiche de %from% à %to% sur %total% items' + number_of_results: 'Affichage de %from% à %to% sur %total% élément|Affichage de %from% à %to% sur %total% éléments' report_it: Signalez le reset: 'Réinitialiser' search: 'Rechercher'