Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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) %}
Expand Down
2 changes: 1 addition & 1 deletion src/UiTranslations/translations/messages.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/UiTranslations/translations/messages.fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Loading