Angular selfcheck WIP
authorBill Erickson <berickxx@gmail.com>
Mon, 31 Oct 2016 14:37:10 +0000 (10:37 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 31 Oct 2016 14:37:10 +0000 (10:37 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/staff/circ/selfcheck/strings.tt2 [new file with mode: 0644]

diff --git a/Open-ILS/src/templates/staff/circ/selfcheck/strings.tt2 b/Open-ILS/src/templates/staff/circ/selfcheck/strings.tt2
new file mode 100644 (file)
index 0000000..8cf3d7a
--- /dev/null
@@ -0,0 +1,36 @@
+<script>
+angular.module('egCoreMod').run(['egStrings', function(s) {
+  s.CONFIRM_TIMEOUT_TITLE = "[% l('Inactivity Warning') %]";
+  s.CONFIRM_TIMEOUT_MSG = "[% l('Your login session will soon timeout due to inactivity.') %]";
+  s.CONFIRM_TIMEOUT_CONTINUE = "[% l('Continue Session') %]";
+  s.CONFIRM_TIMEOUT_LOGOUT = "[% l('Logout') %]";
+
+  s.ITEM_SEEN = "[% l('Barcode already scanned') %]";
+  s.GENERIC_CIRC_FAILURE = "[% l('Unable to check out item.  Please see staff') %]";
+  s.MAX_RENEWALS_REACHED = "[% l('No more renewals allowed for this item') %]";
+  s.ITEM_NOT_CATALOGED = "[% l('Item was not found in the system.  Try re-scanning the item.') %]";
+  s.OPEN_CIRCULATION_EXISTS = "[% l('OPEN_CIRCULATION_EXISTS') %]";
+
+  s.FAIL_PART_actor_usr_barred = "[% l('The patron is barred') %]";                      
+  s.FAIL_PART_asset_copy_circulate = "[% l('The item does not circulate') %]";           
+  s.FAIL_PART_asset_copy_location_circulate =  "[% l('Items from this shelving location do not circulate') %]";
+  s.FAIL_PART_asset_copy_status =  "[% l('The item cannot circulate at this time') %]";   
+  s.FAIL_PART_circ_holds_target_skip_me =  "[% l('The item\'s circulation library does not fulfill holds') %]";
+  s.FAIL_PART_config_circ_matrix_circ_mod_test =  "[% l('The patron has too many items of this type checked out') %]";
+  s.FAIL_PART_config_circ_matrix_test_available_copy_hold_ratio =  "[% l('The available item-to-hold ratio is too low') %]";
+  s.FAIL_PART_config_circ_matrix_test_circulate =  "[% l('Circulation rules reject this item as non-circulatable') %]";
+  s.FAIL_PART_config_circ_matrix_test_total_copy_hold_ratio =  "[% l('The total item-to-hold ratio is too low') %]";
+  s.FAIL_PART_config_hold_matrix_test_holdable =  "[% l('Hold rules reject this item as unholdable') %]";
+  s.FAIL_PART_config_hold_matrix_test_max_holds =  "[% l('The patron has reached the maximum number of holds') %]";
+  s['FAIL_PART_item.holdable'] = "[% l('The item is not holdable') %]";                    
+  s['FAIL_PART_location.holdable'] = "[% l('The item\'s location is not holdable') %]";     
+  s['FAIL_PART_status.holdable'] = "[% l('The item is not in a holdable status') %]";      
+  s.FAIL_PART_config_rule_age_hold_protect_prox =  "[% l('The item is too new to transit this far') %]";
+  s.FAIL_PART_no_item =  "[% l('The system could not find this item') %]";                
+  s.FAIL_PART_no_ultimate_items =  "[% l('The system could not find any items to match this hold request') %]";
+  s.FAIL_PART_no_matchpoint =  "[% l('System rules do not define how to handle this item') %]";
+  s.FAIL_PART_no_user =  "[% l('The system could not find this patron') %]";              
+  s.FAIL_PART_transit_range =  "[% l('The item cannot transit this far') %]";   
+}]);
+</script>
+