add categories feature translation #26

This commit is contained in:
ghost 2023-11-04 13:51:41 +02:00
parent d1e9e72401
commit ff565ac33b
23 changed files with 894 additions and 31 deletions

View file

@ -362,7 +362,7 @@
{% if torrent.categories %}
<div class="padding-y-4-px">
{% set i = 0 %}
{% for category in torrent.categories | sort %}{% if i > 0 %},{% endif %} {{ category | u.title }}{% set i = i + 1 %}{% endfor %}
{% for category in torrent.categories | sort %}{% if i > 0 %},{% endif %} {{ category | trans_category | u.title }}{% set i = i + 1 %}{% endfor %}
</div>
{% endif %}
</div>