i18n on the web - deepseek translations

This commit is contained in:
Priec
2026-08-14 20:35:37 +02:00
parent 2dc0d94ba0
commit 8f1bfdbe0c
91 changed files with 4679 additions and 1237 deletions

View File

@@ -7,20 +7,20 @@
someone, and deciding what it may do are three different decisions, and doing
them on one screen was what made the old page hard to read.
#}
<nav class="tabs" aria-label="permission sections">
<nav class="tabs" aria-label="{{ nav.tr("perm-tabs-aria") }}">
{% if page.tabs.can_manage_roles %}
<a href="/permissions/roles" class="tab {% if page.tabs.is("roles") %}selected{% endif %}" {% if page.tabs.is("roles") %}aria-current="page"{% endif %}>
<span>Roles</span><small>Create roles and their inheritance</small>
<span>{{ nav.tr("perm-tab-roles") }}</span><small>{{ nav.tr("perm-tab-roles-sub") }}</small>
</a>
{% endif %}
{% if page.tabs.can_manage_users %}
<a href="/permissions/users" class="tab {% if page.tabs.is("users") %}selected{% endif %}" {% if page.tabs.is("users") %}aria-current="page"{% endif %}>
<span>People</span><small>Give a user a role</small>
<span>{{ nav.tr("perm-tab-people") }}</span><small>{{ nav.tr("perm-tab-people-sub") }}</small>
</a>
{% endif %}
{% if page.tabs.can_manage_roles %}
<a href="/permissions/grants" class="tab {% if page.tabs.is("grants") %}selected{% endif %}" {% if page.tabs.is("grants") %}aria-current="page"{% endif %}>
<span>Access</span><small>What a role may do</small>
<span>{{ nav.tr("perm-tab-access") }}</span><small>{{ nav.tr("perm-tab-access-sub") }}</small>
</a>
{% endif %}
</nav>