Skip to content

Commit

Permalink
FOLIO: Extract delivery fulfillment config and translations from #3930 (
Browse files Browse the repository at this point in the history
  • Loading branch information
maccabeelevine authored Oct 22, 2024
1 parent 951f74b commit 809f469
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
17 changes: 14 additions & 3 deletions config/vufind/Folio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,20 @@ extraHoldFields = requiredByDate:pickUpLocation
; whenever the FOLIO user's Request Preferences have delivery enabled. This setting
; overrides every user's FOLIO setting if it's necessary to globally disable delivery
; for backwards compatibility.
; Deprecation: In VuFind 11, this example config will be commented out so that the
; code default (true), allowing delivery, will have effect.
allowDelivery = false
;allowDelivery = false

; When the extra hold fields pickupLocation and requestGroup are used, and requestGroup
; is Delivery, the request form's list of "pickup locations" is actually a list of
; address types matching the addresses defined for the current user. In that context,
; this setting optionally further limits which FOLIO address types are offered.
;limitDeliveryAddressTypes[] = "Campus"

; When the extra hold fields pickupLocation and requestGroup are used, and the user
; selects a request group, the pickup locations field label is adjusted to be more
; appropriate to that group. This setting defines translation keys used for the label.
; Disabling these settings stops customization of the pickup locations field label.
locationsLabelByRequestGroup["Delivery"] = "pick_up_location_label_delivery"
locationsLabelByRequestGroup["Hold Shelf"] = "pick_up_location_label_hold_shelf"

; By default, a "Hold" type request is placed when an item is unavailable and a Page
; when an item is available. This setting overrides the default behavior for
Expand Down
4 changes: 4 additions & 0 deletions languages/en.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,8 @@ Photo = "Photo"
Physical Description = "Physical Description"
Physical Object = "Physical Object"
pick_up_location = "Pickup Location"
pick_up_location_label_delivery = "Delivery Address"
pick_up_location_label_hold_shelf = "Pickup Location"
Place a Hold = "Place a Hold"
Place of birth = "Place of birth"
Place of death = "Place of death"
Expand Down Expand Up @@ -1227,6 +1229,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_delivery = "Delivery"
request_group_fulfillment_method_hold_shelf = "Pick up"
request_in_transit = "In Transit to Pickup Location"
request_place_text = "Place a Request"
request_submit_text = "Submit Request"
Expand Down

0 comments on commit 809f469

Please sign in to comment.