appropriate plural

master
Aevann 2023-09-12 23:33:38 +03:00
parent 9d4951c225
commit 9d49e51146
6 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,7 @@
{% extends "default.html" %}
{% block pagetitle %}@{{u.username}}'s blockers{% endblock %}
{% block content %}
<h5 class="my-3">@{{u.username}}'s blockers ({{total}} users)</h5>
<h5 class="my-3">@{{u.username}}'s blockers ({{total}} user{{macros.plural(total)}})</h5>
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>
@ -24,3 +24,5 @@
{% block pagenav %}
{% include "pagination.html" %}
{% endblock %}
({{total}} user{{macros.plural(total)}})

View File

@ -1,7 +1,7 @@
{% extends "default.html" %}
{% block pagetitle %}Users blocked by @{{u.username}}{% endblock %}
{% block content %}
<h5 class="my-3">Users blocked by @{{u.username}} ({{total}} users)</h5>
<h5 class="my-3">Users blocked by @{{u.username}} ({{total}} user{{macros.plural(total)}})</h5>
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>

View File

@ -1,7 +1,7 @@
{% extends "default.html" %}
{% block pagetitle %}@{{u.username}}'s followers{% endblock %}
{% block content %}
<h5 class="my-3">@{{u.username}}'s followers ({{total}} users)</h5>
<h5 class="my-3">@{{u.username}}'s followers ({{total}} user{{macros.plural(total)}})</h5>
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>

View File

@ -1,7 +1,7 @@
{% extends "default.html" %}
{% block pagetitle %}Users followed by @{{u.username}}{% endblock %}
{% block content %}
<h5 class="my-3">Users followed by @{{u.username}} ({{total}} users)</h5>
<h5 class="my-3">Users followed by @{{u.username}} ({{total}} user{{macros.plural(total)}})</h5>
<div class="overflow-x-auto"><table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>

View File

@ -1,7 +1,7 @@
{% extends "default.html" %}
{% block pagetitle %}@{{u.username}}'s notification muters{% endblock %}
{% block content %}
<h5 class="my-3">@{{u.username}}'s notification muters ({{total}} users)</h5>
<h5 class="my-3">@{{u.username}}'s notification muters ({{total}} user{{macros.plural(total)}})</h5>
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>

View File

@ -1,7 +1,7 @@
{% extends "default.html" %}
{% block pagetitle %}Users whose notifications are muted by @{{u.username}}{% endblock %}
{% block content %}
<h5 class="my-3">Users whose notifications are muted by @{{u.username}} ({{total}} users)</h5>
<h5 class="my-3">Users whose notifications are muted by @{{u.username}} ({{total}} user{{macros.plural(total)}})</h5>
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>