549f26b36e5c3f5ff01f68ec1e1d8505c49cc763
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / catalog-strings.inc
1 <script type="text/javascript">
2     /* Strings for translation */
3     var MSG_REPLACE_RECORD = _("Please note that this external search could replace the current record.");
4     var MSG_DELETE_ALL_ITEMS = _("%s item(s) are attached to this record. You must delete all items before deleting this record.");
5     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?");
6     var MSG_RECORD_USED_IN_ORDERS = _("%s order(s) are using this record. You need order managing permissions to delete this record.");
7     var CONFIRM_IN_DELETED_ORDERS = _("%s deleted order(s) are using this record. Are you sure you want to delete this record?");
8     var MSG_IN_DELETED_ORDERS = _("%s deleted order(s) are using this record. You need order managing permissions to delete this record.");
9     var CONFIRM_DELETION_HOLDS = _("%s holds(s) for this record. Are you sure you want to delete this record?");
10     var CONFIRM_RECORD_DELETION = _("Are you sure you want to delete this record?");
11     var MSG_DELETE_ALL_HOLDS = _("%s hold(s) on this record. You must delete all holds before deleting all items.");
12     var CONFIRM_DELETE_ITEMS = _("Are you sure you want to delete the %s attached items?");
13     var MSG_NO_ITEMS = _("This record has no items.");
14
15     /* Some required variables from the template */
16     var biblionumber = [% biblionumber | html %];
17     var count = [% count | html %];
18     var holdcount = [% holdcount | html %];
19     var countorders = [% countorders | html %];
20     var countdeletedorders = [% countdeletedorders | html %];
21
22     /* provide Z3950 search points */
23     function GetZ3950Terms(){
24         var strQuery="&frameworkcode=";
25         [% FOREACH z3950_search_param IN z3950_search_params %]
26             strQuery += "&" + "[% z3950_search_param.name |uri %]" + "=" + "[% z3950_search_param.value |uri %]";
27         [% END %]
28         return strQuery;
29     }
30 </script>