From 74375c623e6b20daa80c2107d131fc52f1c8998c Mon Sep 17 00:00:00 2001 From: Maccabee Levine Date: Tue, 1 Oct 2024 19:07:03 +0000 Subject: [PATCH] Allow translation of fulfillment method display names --- languages/en.ini | 2 ++ module/VuFind/src/VuFind/ILS/Driver/Folio.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/languages/en.ini b/languages/en.ini index 56ec648c798..4796a736bfa 100644 --- a/languages/en.ini +++ b/languages/en.ini @@ -1221,6 +1221,8 @@ renew_success = "Renewal Successful" renew_success_summary = "Successfully renewed {count, plural, =1 {1 item} other {# items}}." Renewed = "Renewed" Request full text = "Request full text" +request_group_fulfillment_method_hold_shelf = "Pick up at the library" +request_group_fulfillment_method_delivery = "Delivery to your location" request_in_transit = "In Transit to Pickup Location" request_place_text = "Place a Request" request_submit_text = "Submit Request" diff --git a/module/VuFind/src/VuFind/ILS/Driver/Folio.php b/module/VuFind/src/VuFind/ILS/Driver/Folio.php index 5ed0420d7c5..ba04b289af8 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/Folio.php +++ b/module/VuFind/src/VuFind/ILS/Driver/Folio.php @@ -1526,11 +1526,11 @@ public function getRequestGroups( return [ [ 'id' => 'Hold Shelf', - 'name' => 'Hold Shelf', + 'name' => 'fulfillment_method_hold_shelf', ], [ 'id' => 'Delivery', - 'name' => 'Delivery', + 'name' => 'fulfillment_method_delivery', ], ]; }