[TWIG][TEMPLATES] Rename transchoice to trans and make it more generic
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user