1 <!-- catalog-strings.inc -->
3 /* Strings for translation */
4 var MSG_REPLACE_RECORD = _("Please note that this external search could replace the current record.");
5 var MSG_DELETE_ALL_ITEMS = _("%s item(s) are attached to this record. You must delete all items before deleting this record.");
6 var CONFIRM_RECORD_USED_IN_ORDERS = _("Warning: This record is used in %s order(s). Deleting it could cause serious issues on acquisition module. Are you sure you want to delete this record?");
7 var MSG_RECORD_USED_IN_ORDERS = _("%s order(s) are using this record. You need order managing permissions to delete this record.");
8 var CONFIRM_IN_DELETED_ORDERS = _("%s deleted order(s) are using this record. Are you sure you want to delete this record?");
9 var MSG_IN_DELETED_ORDERS = _("%s deleted order(s) are using this record. You need order managing permissions to delete this record.");
10 var CONFIRM_DELETION_HOLDS = _("%s holds(s) for this record. Are you sure you want to delete this record?");
11 var CONFIRM_RECORD_DELETION = _("Are you sure you want to delete this record?");
12 var MSG_DELETE_ALL_HOLDS = _("%s hold(s) on this record. You must delete all holds before deleting all items.");
13 var CONFIRM_DELETE_ITEMS = _("Are you sure you want to delete the %s attached items?");
14 var MSG_NO_ITEMS = _("This record has no items.");
16 /* Some required variables from the template */
17 var biblionumber = [% biblionumber | html %];
18 var count = [% count | html %];
19 var holdcount = [% holdcount | html %];
20 var countorders = [% countorders | html %];
21 var countdeletedorders = [% countdeletedorders | html %];
22 [% SET orders = biblio.orders %]
23 [% SET current = Context.Scalar(orders, "filter_by_current") %]
24 [% SET cancelled = Context.Scalar(orders, "filter_by_cancelled") %]
25 var countorders = [% current.count || 0 | html %];
26 var countdeletedorders = [% cancelled.count || 0 | html %];
27 var searchid = '[% searchid | html %]';
29 /* provide Z3950 search points */
30 function GetZ3950Terms(){
31 var strQuery="&frameworkcode=";
32 [% FOREACH z3950_search_param IN z3950_search_params %]
33 strQuery += "&" + "[% z3950_search_param.name |uri %]" + "=" + "[% z3950_search_param.value |uri %]";
38 <!-- / catalog-strings.inc -->