LP#1717593: Missing strings cause serial item delete (and status change) failures
authorMike Rylander <mrylander@gmail.com>
Sat, 3 Mar 2018 18:29:17 +0000 (13:29 -0500)
committerJason Stephenson <jason@sigio.com>
Fri, 9 Mar 2018 19:15:26 +0000 (14:15 -0500)
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 <mrylander@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/templates/staff/serials/index.tt2

index e00e4e7..1a6e4d1 100644 (file)
@@ -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).') %]";