Move from transchoice to trans

This commit is contained in:
Yassine Guedidi 2023-08-05 23:39:13 +01:00
parent c2bfc0f359
commit f43d8fa947
3 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@
<form name="form_mass_action" action="{{ path('mass_action') }}" method="post">
<div class="results">
<div class="nb-results">
{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}
{{ 'entry.list.number_on_the_page'|trans({'%count%': entries.count}) }}
{% if entries.count > 0 %}
<a class="results-item" href="{{ path('switch_view_mode') }}"><i class="material-icons">{% if list_mode == 0 %}view_list{% else %}view_module{% endif %}</i></a>
{% endif %}

View file

@ -269,7 +269,7 @@
{% if entry.annotations|length %}
<li>
<i class="material-icons grey-text">comment</i>
{{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations|length) }}
{{ 'entry.view.annotations_on_the_entry'|trans({'%count%': entry.annotations|length}) }}
</li>
{% endif %}
{% if entry.originUrl is not empty %}

View file

@ -4,7 +4,7 @@
{% block content %}
<div class="results clearfix">
{{ 'tag.list.number_on_the_page'|transchoice(tags|length) }}
{{ 'tag.list.number_on_the_page'|trans({'%count%': tags|length}) }}
</div>
<div class="row">