Twig3: fix trans tag in view_ip.html

This commit is contained in:
towards-a-new-leftypol 2023-08-03 18:55:18 -04:00
parent f5d61cc459
commit 391d4bd70b
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@
{% if bans and bans|length > 0 and mod|hasPermission(config.mod.view_ban) %}
<fieldset id="bans">
{% set bans_on_record = 'ban' ~ (bans|count != 1 ? 's' : '') ~ ' on record' %}
<legend>{{ bans|count }} {% trans bans_on_record %}</legend>
<legend>{{ bans|count }} {{ bans_on_record|trans }}</legend>
{% for ban in bans %}
<form action="" method="post" style="text-align:center">