diff --git a/templates/banned.html b/templates/banned.html index 9b9ad35c..673de9d2 100644 --- a/templates/banned.html +++ b/templates/banned.html @@ -1,18 +1,18 @@ {% filter remove_whitespace %} {# Automatically removes unnecessary whitespace #}
-

You are banned! ;_;

+

{% trans %}You are banned! ;_;{% endtrans %}

- You have been banned from + {% trans %}You have been banned from {% if ban.uri %} {{ config.board_abbreviation|sprintf(ban.uri) }} {% else %} - all boards + {% trans %}all boards{% endtrans %} {% endif %} {% if ban.reason %} - for the following reason: + {% trans %}for the following reason:{% endtrans %} {% else %} - for an unspecified reason. + {% trans %}for an unspecified reason.{% endtrans %} {% endif %}

{% if ban.reason %} @@ -21,10 +21,10 @@

{% endif %}

- Your ban was filed on - {{ ban.set|date(config.ban_date) }} and + {% trans %}Your ban was filed on{% endtrans %} + {{ ban.set|date(config.ban_date) }} {% trans %}and{% endtrans %} {% if ban.expires %} - expires {{ ban.expires|until }} from now, which is on + {% trans %}expires{% endtrans %} {{ ban.expires|until }} {% trans %}from now, which is on{% endtrans %} {{ ban.expires|date(config.ban_date) }} @@ -38,7 +38,7 @@ var now = new Date().getTime(); var diff = Math.round((end - now) / 1000); if (diff < 0) { - document.getElementById("expires").innerHTML = "has since expired. Refresh the page to continue."; + document.getElementById("expires").innerHTML = "{% trans %}has since expired. Refresh the page to continue.{% endtrans %}"; clearInterval(int); return ""; } else if (diff < 60) { @@ -61,10 +61,10 @@ var int = setInterval(updateExpiresTime, 1000); {% else %} - will not expire. + {% trans %}will not expire{% endtrans %}. {% endif %}

-

Your IP address is {{ ban.ip }}.

+

{% trans %}Your IP address is{% endtrans %} {{ ban.ip }}.

{% endfilter %}