[TWIG][TEMPLATES] Rename transchoice to trans and make it more generic

This commit is contained in:
2022-03-01 13:19:38 +00:00
parent b3374333f3
commit fc203e2e38
3 changed files with 5 additions and 5 deletions

View File

@@ -9,10 +9,10 @@
{% endfor %}
{% if conversation.show_more %}
<a href="{{ conversation.note.getConversationUrl() }}">
{{ transchoice({
{{ trans({
'1': 'Show an additional reply',
'other': 'Show # additional replies'
}, (conversation.total_replies - config('plugin_tree_notes', 'feed_replies'))) }}
}, {'count': (conversation.total_replies - config('plugin_tree_notes', 'feed_replies'))}) }}
</a>
{% endif %}
</div>