From cef465789bbfe616a3f1e5585982c66f4bf0c7a9 Mon Sep 17 00:00:00 2001 From: framawiki <21953768+framawiki@users.noreply.github.com> Date: Wed, 1 Jul 2026 21:01:04 +0200 Subject: [PATCH 01/12] Rename "Search" filter label The existing "Is searchable" field is not self-explanatory. Let's try to find a better wording, don't hesitate if you have a better suggestion. --- TWLight/resources/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TWLight/resources/filters.py b/TWLight/resources/filters.py index 78c758deb8..ddcca19d29 100644 --- a/TWLight/resources/filters.py +++ b/TWLight/resources/filters.py @@ -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, ) From 30dde62763d8204272f01926ddaf76f598a1e633 Mon Sep 17 00:00:00 2001 From: framawiki <21953768+framawiki@users.noreply.github.com> Date: Wed, 1 Jul 2026 21:04:39 +0200 Subject: [PATCH 02/12] More specific translators documentation --- TWLight/resources/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TWLight/resources/filters.py b/TWLight/resources/filters.py index ddcca19d29..762278f0b4 100644 --- a/TWLight/resources/filters.py +++ b/TWLight/resources/filters.py @@ -74,7 +74,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. + # Translators: On the MyLibrary page (https://wikipedialibrary.wmflabs.org/users/my_library), this text is shown to indicate if a collection is searchable in the "global search bar" present in the top of the Library website. It indexes some of the partners content to list all results from the different partners in one page. label=_("Indexed in the Library's search engine"), choices=Partner.SEARCHABLE_CHOICES, widget=forms.CheckboxSelectMultiple, From 99afee5488d9196adeab95c7debe429703ab7de6 Mon Sep 17 00:00:00 2001 From: framawiki <21953768+framawiki@users.noreply.github.com> Date: Wed, 1 Jul 2026 21:08:22 +0200 Subject: [PATCH 03/12] Clarify the wording of approval_notification email --- .../templates/emails/approval_notification-body-html.html | 2 +- .../templates/emails/approval_notification-body-text.html | 2 +- 2 files changed, 2 insertions(+), 2 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..df28069799 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 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..3cb58b9152 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 My Library page: {{ link }} Cheers! From f1b51b63bb3edcd28893e295229faa70f9a49d32 Mon Sep 17 00:00:00 2001 From: framawiki <21953768+framawiki@users.noreply.github.com> Date: Wed, 1 Jul 2026 21:25:49 +0200 Subject: [PATCH 04/12] Clarify wording of access filter --- TWLight/resources/filters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TWLight/resources/filters.py b/TWLight/resources/filters.py index 762278f0b4..7a6ed39c7b 100644 --- a/TWLight/resources/filters.py +++ b/TWLight/resources/filters.py @@ -11,9 +11,9 @@ MULTI_STEP = 1 ACCESS_CHOICES = ( # 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")), + (INSTANT, _("Instant access via the proxy")), # 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")), ) From 994644c6acd813c9ad3616450b00f5f597bc8dfe Mon Sep 17 00:00:00 2001 From: framawiki <21953768+framawiki@users.noreply.github.com> Date: Wed, 1 Jul 2026 21:29:51 +0200 Subject: [PATCH 05/12] Clarify where "collection search" filters on --- TWLight/resources/templates/resources/filter_section.html | 2 +- TWLight/users/templates/users/filter_section.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TWLight/resources/templates/resources/filter_section.html b/TWLight/resources/templates/resources/filter_section.html index 9363eb1bd8..2afd80f185 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 titles' %}" aria-label="Filter"> diff --git a/TWLight/users/templates/users/filter_section.html b/TWLight/users/templates/users/filter_section.html index 3254725fb2..8b07208acb 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 titles' %}" aria-label="Filter"> From 874cbb71ca1712bc592f7cb5ea0e99fa49a5f75a Mon Sep 17 00:00:00 2001 From: framawiki <21953768+framawiki@users.noreply.github.com> Date: Wed, 1 Jul 2026 21:33:41 +0200 Subject: [PATCH 06/12] Fix placeholder content --- TWLight/resources/templates/resources/filter_section.html | 2 +- TWLight/users/templates/users/filter_section.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TWLight/resources/templates/resources/filter_section.html b/TWLight/resources/templates/resources/filter_section.html index 2afd80f185..0d5974d449 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 and titles' %}" aria-label="Filter"> diff --git a/TWLight/users/templates/users/filter_section.html b/TWLight/users/templates/users/filter_section.html index 8b07208acb..5b1e28ffc1 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 and titles' %}" aria-label="Filter"> From 4a6f495da280fb3f71aef954cfde1d92757bce69 Mon Sep 17 00:00:00 2001 From: framawiki <21953768+framawiki@users.noreply.github.com> Date: Wed, 1 Jul 2026 21:34:28 +0200 Subject: [PATCH 07/12] More compact wording for Search placeholder --- TWLight/resources/templates/resources/filter_section.html | 2 +- TWLight/users/templates/users/filter_section.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TWLight/resources/templates/resources/filter_section.html b/TWLight/resources/templates/resources/filter_section.html index 0d5974d449..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 5b1e28ffc1..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"> From 82bb3ebf379cfb58e0e2c54d5409e6ba033661c4 Mon Sep 17 00:00:00 2001 From: framawiki <21953768+framawiki@users.noreply.github.com> Date: Wed, 1 Jul 2026 21:47:29 +0200 Subject: [PATCH 08/12] Suggestion for better wording for renewals text --- TWLight/users/templates/users/my_applications.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@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 page: {{ link }}
+You can view the collections you're authorized to access on your My Library page: {{ link }}
Cheers!
The Wikipedia Library
{% endblocktranslate %} diff --git a/TWLight/resources/filters.py b/TWLight/resources/filters.py index 7a6ed39c7b..d5e25f2319 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 access via the proxy")), # 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, _("Access upon application")), + (MULTI_STEP, _("Application required")), ) diff --git a/TWLight/resources/templates/resources/filter_section.html b/TWLight/resources/templates/resources/filter_section.html index 2b635d131e..6e027d7461 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 collection descriptions' %}" aria-label="Filter"> diff --git a/TWLight/users/templates/users/filter_section.html b/TWLight/users/templates/users/filter_section.html index eac5ae8ee0..80e13643d1 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 collection descriptions' %}" aria-label="Filter"> diff --git a/TWLight/users/templates/users/my_applications.html b/TWLight/users/templates/users/my_applications.html index 185f521c75..8dd01c1100 100644 --- a/TWLight/users/templates/users/my_applications.html +++ b/TWLight/users/templates/users/my_applications.html @@ -76,7 +76,7 @@