From 5022d669ecc1673874fca145a97b3969b44f94e7 Mon Sep 17 00:00:00 2001 From: Robert Lange Date: Fri, 7 Jul 2023 15:41:20 +0200 Subject: [PATCH 01/18] add translations to improve accessibility for checkboxes in account and list (only de and en) * change text for all cart entries * use select_all_on_page in checkedout.phtml, list.phtml, bulk-action-buttons * select_item_storage_retrieval_request_cancel in storageretrievalrequests * use texts in myresearch aria-labels * use select_item_[context] in checkbox.phtml --- languages/de.ini | 7 ++++++- languages/en.ini | 7 ++++++- themes/bootstrap3/templates/cart/cart.phtml | 2 +- themes/bootstrap3/templates/holds/list.phtml | 4 ++-- .../templates/myresearch/bulk-action-buttons.phtml | 2 +- themes/bootstrap3/templates/myresearch/checkedout.phtml | 4 ++-- .../templates/myresearch/storageretrievalrequests.phtml | 2 +- themes/bootstrap3/templates/record/checkbox.phtml | 3 ++- .../bootstrap3/templates/search/bulk-action-buttons.phtml | 3 +-- 9 files changed, 22 insertions(+), 12 deletions(-) diff --git a/languages/de.ini b/languages/de.ini index afc7ebf9b5c..846930c16a3 100644 --- a/languages/de.ini +++ b/languages/de.ini @@ -1184,9 +1184,14 @@ seconds_abbrev = "s" see all = "Alle anzeigen" See also = "Siehe auch" see_all_ellipsis = "Alle anzeigen …" +select_item_checked_out_renew = "Titel zum Verlängern auswählen" +select_item_hold_cancel = "Titel auswählen, um Bestellung oder Vormerkung zu stornieren" +select_item_ill_request_cancel = "Titel auswählen, um Fernleihanfrage zu stornieren" +select_item_storage_retrieval_request_cancel = "Titel auswählen, um Magazinbestellung zu stornieren" Select this record = "Datensatz auswählen" Select your carrier = "Wählen Sie Ihren Telefonanbieter aus" -select_page = "Alles auswählen" +select_page = "Alle Einträge der Seite auswählen" +select_page_cart = "Alle Einträge der Zwischenablage auswählen" select_pickup_location = "Abholort auswählen" select_request_group = "Abholstelle auswählen" Selected = "Ausgewählt" diff --git a/languages/en.ini b/languages/en.ini index 5cfd372fbe9..5b21f4c7475 100644 --- a/languages/en.ini +++ b/languages/en.ini @@ -1198,9 +1198,14 @@ seconds_abbrev = "s" see all = "see all" See also = "See also" see_all_ellipsis = "see all…" +select_item_checked_out_renew = "Select item for renewing" +select_item_hold_cancel = "Select item for canceling holds or recall" +select_item_ill_request_cancel = "Select item for canceling interlibrary loan requests" +select_item_storage_retrieval_request_cancel = "Select item for canceling storage retrieval requests" Select this record = "Select this record" Select your carrier = "Select your carrier" -select_page = "Select Page" +select_page = "Select all entries of the page" +select_page_cart = "Select all entries of the clipboard" select_pickup_location = "Select Pick Up Location" select_request_group = "Select Request Group" Selected = "Selected" diff --git a/themes/bootstrap3/templates/cart/cart.phtml b/themes/bootstrap3/templates/cart/cart.phtml index 655817aee53..85bfef44615 100644 --- a/themes/bootstrap3/templates/cart/cart.phtml +++ b/themes/bootstrap3/templates/cart/cart.phtml @@ -14,7 +14,7 @@
userlist()->getMode() !== 'disabled'): ?> diff --git a/themes/bootstrap3/templates/holds/list.phtml b/themes/bootstrap3/templates/holds/list.phtml index f8d4e02761f..d290c0573f1 100644 --- a/themes/bootstrap3/templates/holds/list.phtml +++ b/themes/bootstrap3/templates/holds/list.phtml @@ -28,7 +28,7 @@
updateForm): ?>
@@ -70,7 +70,7 @@
cancelForm || $this->updateForm): ?> diff --git a/themes/bootstrap3/templates/myresearch/bulk-action-buttons.phtml b/themes/bootstrap3/templates/myresearch/bulk-action-buttons.phtml index 5880a7ea9fb..8bfe0ff7a76 100644 --- a/themes/bootstrap3/templates/myresearch/bulk-action-buttons.phtml +++ b/themes/bootstrap3/templates/myresearch/bulk-action-buttons.phtml @@ -6,7 +6,7 @@