From e0ffbd42e429f83c0e00ffda7a4900b7f6757258 Mon Sep 17 00:00:00 2001 From: Priyankar Shukla Date: Sat, 4 Jul 2026 19:55:54 +0530 Subject: [PATCH] Improve wording in TWL portal interface (T430924) --- .../templates/emails/approval_notification-body-html.html | 2 +- .../templates/emails/approval_notification-body-text.html | 2 +- TWLight/resources/filters.py | 4 ++-- TWLight/resources/templates/resources/filter_section.html | 2 +- TWLight/users/templates/users/filter_section.html | 2 +- TWLight/users/templates/users/my_applications.html | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/TWLight/emails/templates/emails/approval_notification-body-html.html b/TWLight/emails/templates/emails/approval_notification-body-html.html index db0a639468..f21081e322 100644 --- a/TWLight/emails/templates/emails/approval_notification-body-html.html +++ b/TWLight/emails/templates/emails/approval_notification-body-html.html @@ -6,7 +6,7 @@

Dear {{ user }},

Thank you for applying for access to {{ partner }} resources through The Wikipedia Library. We are happy to inform you that your application has been approved.

{{ user_instructions }}

-

You can view the collections you're authorized to access at My Library: {{ link }}

+

You can view the collections you're authorized to access at the My Library page: {{ link }}

Cheers!

The Wikipedia Library

{% endblocktranslate %} diff --git a/TWLight/emails/templates/emails/approval_notification-body-text.html b/TWLight/emails/templates/emails/approval_notification-body-text.html index 75aeb35764..64ae6c563b 100644 --- a/TWLight/emails/templates/emails/approval_notification-body-text.html +++ b/TWLight/emails/templates/emails/approval_notification-body-text.html @@ -9,7 +9,7 @@ {{ user_instructions }} -You can view the collections you're authorized to access at My Library: {{ link }} +You can view the collections you're authorized to access at the My Library page: {{ link }} Cheers! diff --git a/TWLight/resources/filters.py b/TWLight/resources/filters.py index 78c758deb8..7857d5e208 100644 --- a/TWLight/resources/filters.py +++ b/TWLight/resources/filters.py @@ -13,7 +13,7 @@ # Translators: On the MyLibrary page (https://wikipedialibrary.wmflabs.org/users/my_library), this indicates that a collection may be accessed immediately. (INSTANT, _("Instant (proxy) access")), # Translators: On the MyLibrary page (https://wikipedialibrary.wmflabs.org/users/my_library), this indicates that a collection may be accessed only after additional steps, such as submitting an application and awaiting approval. - (MULTI_STEP, _("Multi-step access")), + (MULTI_STEP, _("Access upon application")), ) @@ -75,7 +75,7 @@ class PartnerFilter(MainPartnerFilter): searchable = django_filters.MultipleChoiceFilter( # Translators: On the MyLibrary page (https://wikipedialibrary.wmflabs.org/users/my_library), this text is shown to indicate if a collection is searchable. - label=_("Searchable"), + label=_("Indexed in the Library's search engine"), choices=Partner.SEARCHABLE_CHOICES, widget=forms.CheckboxSelectMultiple, ) diff --git a/TWLight/resources/templates/resources/filter_section.html b/TWLight/resources/templates/resources/filter_section.html index 9363eb1bd8..2b635d131e 100644 --- a/TWLight/resources/templates/resources/filter_section.html +++ b/TWLight/resources/templates/resources/filter_section.html @@ -51,6 +51,6 @@ {% comment %}Translators: On the Browse Partners page (https://wikipedialibrary.wmflabs.org/partners/), this is a placeholder for an input that helps users filter collections. {% endcomment %} + type="search" placeholder="{% trans 'Search the collection descriptions' %}" aria-label="Filter"> diff --git a/TWLight/users/templates/users/filter_section.html b/TWLight/users/templates/users/filter_section.html index 3254725fb2..eac5ae8ee0 100644 --- a/TWLight/users/templates/users/filter_section.html +++ b/TWLight/users/templates/users/filter_section.html @@ -79,6 +79,6 @@ {% comment %}Translators: On the MyLibrary page (https://wikipedialibrary.wmflabs.org/users/my_library), this is a placeholder for an input that helps users filter collections. {% endcomment %} + type="search" placeholder="{% trans 'Search the collection descriptions' %}" aria-label="Filter"> diff --git a/TWLight/users/templates/users/my_applications.html b/TWLight/users/templates/users/my_applications.html index 8dd01c1100..185f521c75 100644 --- a/TWLight/users/templates/users/my_applications.html +++ b/TWLight/users/templates/users/my_applications.html @@ -76,7 +76,7 @@

{% trans "Request renewal" %} {% else %} {% comment %}Translators: On the page listing applications, this text explains a user they cannot renew their application since they've already requested a renewal or there aren't any renewals available.{% endcomment %} - {% trans "Renewals are either not required, not available right now, or you have already requested a renewal." %} + {% trans "It is not possible to request a renewal because it is not necessary, you have already requested one, or it is not currently available." %} {% endif %} {% endif %}