Skip to content

Commit

Permalink
Extract config and translations from vufind-org#3930
Browse files Browse the repository at this point in the history
  • Loading branch information
maccabeelevine committed Oct 8, 2024
1 parent aaf52a6 commit 4cbecb5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
19 changes: 19 additions & 0 deletions config/vufind/Folio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,25 @@ extraHoldFields = requiredByDate:pickUpLocation
; requested item's effective location. Only applicable to item-level requests.
;limitPickupLocations = itemEffectiveLocation

; When the extra hold field requestGroup is used, the request group Delivery is offered
; 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.
;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
; unavailable items and for all title-level requests. Legal values: "Page", "Hold" or
Expand Down
4 changes: 4 additions & 0 deletions languages/en.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,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 @@ -1224,6 +1226,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 4cbecb5

Please sign in to comment.