mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
housekeep: TU rename - UI elements
Rename all UI elements and translations. Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
parent
1702075875
commit
f540c79580
76 changed files with 952 additions and 1143 deletions
|
@ -20,9 +20,9 @@
|
|||
<select name="T" id="id_type">
|
||||
<option value="">{{ "Any type" | tr }}</option>
|
||||
<option value="u">{{ "Normal user" | tr }}</option>
|
||||
<option value="t">{{ "Trusted user" | tr }}</option>
|
||||
<option value="t">{{ "Package Maintainer" | tr }}</option>
|
||||
<option value="d">{{ "Developer" | tr }}</option>
|
||||
<option value="td">{{ "Trusted User & Developer" | tr }}</option>
|
||||
<option value="td">{{ "Package Maintainer & Developer" | tr }}</option>
|
||||
</select>
|
||||
</p>
|
||||
<p>
|
||||
|
|
|
@ -24,21 +24,21 @@
|
|||
selected
|
||||
{% endif %}
|
||||
>
|
||||
{{ "Addition of a TU" | tr }}
|
||||
{{ "Addition of a Package Maintainer" | tr }}
|
||||
</option>
|
||||
<option value="remove_pm"
|
||||
{% if "remove_pm" == type %}
|
||||
selected
|
||||
{% endif %}
|
||||
>
|
||||
{{ "Removal of a TU" | tr }}
|
||||
{{ "Removal of a Package Maintainer" | tr }}
|
||||
</option>
|
||||
<option value="remove_inactive_pm"
|
||||
{% if "remove_inactive_pm" == type %}
|
||||
selected
|
||||
{% endif %}
|
||||
>
|
||||
{{ "Removal of a TU (undeclared inactivity)" | tr }}
|
||||
{{ "Removal of a Package Maintainer (undeclared inactivity)" | tr }}
|
||||
</option>
|
||||
<option value="bylaws"
|
||||
{% if "bylaws" == type %}
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="stat-desc">
|
||||
{{ "Trusted Users" | tr }}
|
||||
{{ "Package Maintainers" | tr }}
|
||||
</td>
|
||||
<td>{{ package_maintainer_count }}</td>
|
||||
</tr>
|
||||
|
|
|
@ -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>")
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -69,8 +69,8 @@
|
|||
|
||||
<p id="deletion_hint">
|
||||
{{
|
||||
"By submitting a deletion request, you ask a Trusted "
|
||||
"User to delete the package base. This type of "
|
||||
"By submitting a deletion request, you ask a Package "
|
||||
"Maintainer to delete the package base. This type of "
|
||||
"request should be used for duplicates, software "
|
||||
"abandoned by upstream, as well as illegal and "
|
||||
"irreparably broken packages." | tr
|
||||
|
@ -79,8 +79,8 @@
|
|||
|
||||
<p id="merge_hint" style="display: none">
|
||||
{{
|
||||
"By submitting a merge request, you ask a Trusted "
|
||||
"User to delete the package base and transfer its "
|
||||
"By submitting a merge request, you ask a Package "
|
||||
"Maintainer to delete the package base and transfer its "
|
||||
"votes and comments to another package base. "
|
||||
"Merging a package does not affect the corresponding "
|
||||
"Git repositories. Make sure you update the Git "
|
||||
|
@ -90,8 +90,8 @@
|
|||
|
||||
<p id="orphan_hint" style="display: none">
|
||||
{{
|
||||
"By submitting an orphan request, you ask a Trusted "
|
||||
"User to disown the package base. Please only do this "
|
||||
"By submitting an orphan request, you ask a Package "
|
||||
"Maintainer to disown the package base. Please only do this "
|
||||
"if the package needs maintainer action, the "
|
||||
"maintainer is MIA and you already tried to contact "
|
||||
"the maintainer previously." | tr
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
<table class="no-width">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{ "Total" | tr }} {{ "Trusted Users" | tr }}:</td>
|
||||
<td>{{ "Total" | tr }} {{ "Package Maintainers" | tr }}:</td>
|
||||
<td>{{ package_maintainer_count }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ "Active" | tr }} {{ "Trusted Users" | tr }}:</td>
|
||||
<td>{{ "Active" | tr }} {{ "Package Maintainers" | tr }}:</td>
|
||||
<td>{{ active_package_maintainer_count }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -45,7 +45,7 @@
|
|||
{% include "partials/tu/proposals.html" %}
|
||||
{% endwith %}
|
||||
|
||||
{% with title = "Last Votes by TU", votes = last_votes_by_pm %}
|
||||
{% with title = "Last Votes by Package Maintainer", votes = last_votes_by_pm %}
|
||||
{% include "partials/tu/last_votes.html" %}
|
||||
{% endwith %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue