housekeep: TU rename - UI elements

Rename all UI elements and translations.

Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
moson 2023-09-01 14:44:43 +02:00
parent 1702075875
commit f540c79580
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296
76 changed files with 952 additions and 1143 deletions

View file

@ -36,10 +36,10 @@
</a>
</li>
{# Only CRED_TU_LIST_VOTES privileged users see Trusted User #}
{# Only CRED_PM_LIST_VOTES privileged users see Package Maintainer #}
{% if request.user.has_credential(creds.PM_LIST_VOTES) %}
<li>
<a href="/tu">{% trans %}Trusted User{% endtrans %}</a>
<a href="/tu">{% trans %}Package Maintainer{% endtrans %}</a>
</li>
{% endif %}

View file

@ -42,7 +42,7 @@
</tr>
<tr>
<td class="stat-desc">
{{ "Trusted Users" | tr }}
{{ "Package Maintainers" | tr }}
</td>
<td>{{ package_maintainer_count }}</td>
</tr>

View file

@ -10,7 +10,7 @@
</p>
<ul>
<li><em>{% trans %}Orphan Request{% endtrans %}</em>: {% trans %}Request a package to be disowned, e.g. when the maintainer is inactive and the package has been flagged out-of-date for a long time.{% endtrans %}</li>
<li><em>{% trans %}Deletion Request{% endtrans %}</em>: {%trans %}Request a package to be removed from the Arch User Repository. Please do not use this if a package is broken and can be fixed easily. Instead, contact the package maintainer and file orphan request if necessary.{% endtrans %}</li>
<li><em>{% trans %}Deletion Request{% endtrans %}</em>: {%trans %}Request a package to be removed from the Arch User Repository. Please do not use this if a package is broken and can be fixed easily. Instead, contact the maintainer and file orphan request if necessary.{% endtrans %}</li>
<li><em>{% trans %}Merge Request{% endtrans %}</em>: {% trans %}Request a package to be merged into another one. Can be used when a package needs to be renamed or replaced by a split package.{% endtrans %}</li>
</ul>
<p>
@ -44,7 +44,7 @@
<h4>{% trans %}Discussion{% endtrans %}</h4>
<div class="article-content">
<p>
{{ "General discussion regarding the Arch User Repository (AUR) and Trusted User structure takes place on %saur-general%s. For discussion relating to the development of the AUR web interface, use the %saur-dev%s mailing list."
{{ "General discussion regarding the Arch User Repository (AUR) and Package Maintainer structure takes place on %saur-general%s. For discussion relating to the development of the AUR web interface, use the %saur-dev%s mailing list."
| tr
| format('<a href="https://lists.archlinux.org/mailman3/lists/aur-general.lists.archlinux.org/">', "</a>",
'<a href="https://lists.archlinux.org/mailman3/lists/aur-dev.lists.archlinux.org/">', "</a>")
@ -55,7 +55,7 @@
<h4>{% trans %}Bug Reporting{% endtrans %}</h4>
<div class="article-content">
<p>
{{ "If you find a bug in the AUR web interface, please fill out a bug report on our %sbug tracker%s. Use the tracker to report bugs in the AUR web interface %sonly%s. To report packaging bugs contact the package maintainer or leave a comment on the appropriate package page."
{{ "If you find a bug in the AUR web interface, please fill out a bug report on our %sbug tracker%s. Use the tracker to report bugs in the AUR web interface %sonly%s. To report packaging bugs contact the maintainer or leave a comment on the appropriate package page."
| tr
| format('<a href="https://gitlab.archlinux.org/archlinux/aurweb/-/issues">', "</a>",
"<strong>", "</strong>")

View file

@ -22,7 +22,7 @@
</div>
<div class="field">
{{ "Active" | tr }} {{ "Trusted Users" | tr }} {{ "assigned" | tr }}:
{{ "Active" | tr }} {{ "Package Maintainers" | tr }} {{ "assigned" | tr }}:
{{ voteinfo.ActiveTUs }}
</div>