From 391d4bd70b8ee58b2362af2e39cf4415e88fd0f8 Mon Sep 17 00:00:00 2001 From: towards-a-new-leftypol Date: Thu, 3 Aug 2023 18:55:18 -0400 Subject: [PATCH] Twig3: fix trans tag in view_ip.html --- templates/mod/view_ip.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/mod/view_ip.html b/templates/mod/view_ip.html index e74757e2..b3d08377 100644 --- a/templates/mod/view_ip.html +++ b/templates/mod/view_ip.html @@ -71,7 +71,7 @@ {% if bans and bans|length > 0 and mod|hasPermission(config.mod.view_ban) %}
{% set bans_on_record = 'ban' ~ (bans|count != 1 ? 's' : '') ~ ' on record' %} - {{ bans|count }} {% trans bans_on_record %} + {{ bans|count }} {{ bans_on_record|trans }} {% for ban in bans %}