From: Mike Rylander Date: Sat, 3 Mar 2018 18:29:17 +0000 (-0500) Subject: LP#1717593: Missing strings cause serial item delete (and status change) failures X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6a771c6f97468753d8f6bdbeb0ace4fb9d020d3c;p=working%2FEvergreen.git LP#1717593: Missing strings cause serial item delete (and status change) failures There are two places in the code that expect a serial-related string to exist, but neither do. So, let's correct that. Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/templates/staff/serials/index.tt2 b/Open-ILS/src/templates/staff/serials/index.tt2 index e00e4e7279..1a6e4d102e 100644 --- a/Open-ILS/src/templates/staff/serials/index.tt2 +++ b/Open-ILS/src/templates/staff/serials/index.tt2 @@ -63,6 +63,12 @@ angular.module('egCoreMod').run(['egStrings', function(s) { s.CONFIRM_CHANGE_ITEMS.receive = "[% l('Receive selected items?') %]" s.CONFIRM_CHANGE_ITEMS.status = "[% l('Change status selected items?') %]" + s.CONFIRM_CHANGE_ITEMS_MESSAGE = {}; + s.CONFIRM_CHANGE_ITEMS_MESSAGE.delete = "[% l('Will delete {{items}} items(s)') %]"; + s.CONFIRM_CHANGE_ITEMS_MESSAGE.reset = "[% l('Will reset {{items}} items(s)') %]" + s.CONFIRM_CHANGE_ITEMS_MESSAGE.receive = "[% l('Will receive {{items}} items(s)') %]" + s.CONFIRM_CHANGE_ITEMS_MESSAGE.status = "[% l('Will change the status of {{items}} items(s)') %]" + s.CONFIRM_DELETE_MFHDS = "[% l('Delete selected MFHD(s)?') %]"; s.CONFIRM_DELETE_MFHDS_MESSAGE = "[% l('Will delete {{items}} MFHD(s).') %]";