From: Terran McCanna Date: Tue, 2 Mar 2021 20:10:22 +0000 (-0500) Subject: PINES Custom hold error messages X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=484c0b78e89211374d400fcfc1887f08608e595a;p=evergreen%2Fpines.git PINES Custom hold error messages This makes improvements to the error messages that users see when they have a problem placing holds. Signed-off-by: Terran McCanna --- diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/hold_error_messages.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/hold_error_messages.tt2 index 407ea52daf..acdd579110 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/hold_error_messages.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/hold_error_messages.tt2 @@ -8,24 +8,24 @@ # these are used to pass them through l() for i18n. FAIL_PART_MSG_MAP = { - "actor.usr.barred" => l("The patron is barred"), - "asset.copy.circulate" => l("The item does not circulate"), - "asset.copy_location.circulate" => l("Items from this shelving location do not circulate"), - "asset.copy.status" => l("The item cannot circulate at this time"), - "circ.holds.target_skip_me" => l("The item's circulation library does not fulfill holds"), - "config.circ_matrix_circ_mod_test" => l("The patron has too many items of this type checked out"), - "config.circ_matrix_test.circulate" => l("Circulation rules reject this item as non-circulatable"), - "config.hold_matrix_test.holdable" => l("Hold rules reject this item as unholdable"), - "config.hold_matrix_test.max_holds" => l("The patron has reached the maximum number of holds"), - "config.rule_age_hold_protect.prox" => l("The item is too new to transit this far"), - "item.holdable" => l("The item is not holdable"), - "location.holdable" => l("The item's location is not holdable"), - "status.holdable" => l("The item is not in a holdable status"), - "no_item" => l("The system could not find this item"), - "no_ultimate_items" => l("The system could not find any items to match this hold request"), - "no_matchpoint" => l("System rules do not define how to handle this item"), - "no_user" => l("The system could not find this patron"), - "transit_range" => l("The item cannot transit this far") + "actor.usr.barred" => l("This account is barred. Please contact your local library for assistance."), + "asset.copy.circulate" => l("This item cannot be checked out. Please contact your local library for assistance."), + "asset.copy_location.circulate" => l("This item cannot be checked out. Please contact your local library for assistance."), + "asset.copy.status" => l("This item cannot be checked out. Please contact your local library for assistance."), + "circ.holds.target_skip_me" => l("Items from this location cannot be placed on hold. Please contact your local library for assistance."), + "config.circ_matrix_circ_mod_test" => l("This account has too many items of this type currently checked out. Please contact your local library for assistance."), + "config.circ_matrix_test.circulate" => l("This item cannot be checked out. Please contact your local library for assistance."), + "config.hold_matrix_test.holdable" => l("This item cannot be placed on hold. Please contact your local library for assistance."), + "config.hold_matrix_test.max_holds" => l("This account has reached the maximum number of holds that can be placed at one time. Please contact your local library for assistance."), + "config.rule_age_hold_protect.prox" => l("This item cannot be sent to your location. Please contact your local library for assistance."), + "item.holdable" => l("This item cannot be placed on hold. Please contact your local library for assistance."), + "location.holdable" => l("Items from this location cannot be placed on hold. Please contact your local library for assistance."), + "status.holdable" => l("This item cannot be placed on hold. Please contact your local library for assistance."), + "no_item" => l("This item cannot be placed on hold. Please contact your local library for assistance."), + "no_ultimate_items" => l("This item cannot be placed on hold. Please contact your local library for assistance."), + "no_matchpoint" => l("This item cannot be placed on hold. Please contact your local library for assistance."), + "no_user" => l("There is a problem with this account. Please contact your local library for assistance."), + "transit_range" => l("This item cannot be sent to your location. Please contact your local library for more information.") }; @@ -35,6 +35,6 @@ # Wait until these are used to pass them through l() for i18n. EVENT_MSG_MAP = { - "PATRON_EXCEEDS_FINES" => l("Patron has reached the maximum fine amount") + "PATRON_EXCEEDS_FINES" => l("This account has reached the maximum allowed fine amount. Please contact your local library for assistance.") }; %]