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

@ -634,7 +634,7 @@ def test_tu_running_proposal(
active = details.xpath('./div[contains(@class, "field")]')[1]
content = active.text.strip()
assert "Active Trusted Users assigned:" in content
assert "Active Package Maintainers assigned:" in content
assert "1" in content
submitted = details.xpath('./div[contains(@class, "submitted")]/text()')[0]
@ -796,7 +796,7 @@ def test_tu_proposal_vote_unauthorized(
root = parse_root(response.text)
status = root.xpath('//span[contains(@class, "status")]/text()')[0]
assert status == "Only Trusted Users are allowed to vote."
assert status == "Only Package Maintainers are allowed to vote."
with client as request:
data = {"decision": "Yes"}
@ -806,7 +806,7 @@ def test_tu_proposal_vote_unauthorized(
root = parse_root(response.text)
status = root.xpath('//span[contains(@class, "status")]/text()')[0]
assert status == "Only Trusted Users are allowed to vote."
assert status == "Only Package Maintainers are allowed to vote."
def test_tu_proposal_vote_cant_self_vote(client, proposal):