View | Details | Raw Unified | Return to bug 20977
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc (-3 / +3 lines)
Lines 2-11 Link Here
2
    /* Strings for translation */
2
    /* Strings for translation */
3
    var MSG_REPLACE_RECORD = _("Please note that this external search could replace the current record.");
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.");
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_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?");
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_USED_IN_ORDERS = _("%s order(s) are using this record. You need order managing permissions 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?");
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_DELTED_ORDERS = _("%s deleted order(s) are using this record. You need order managing permissions 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?");
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?");
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.");
11
    var MSG_DELETE_ALL_HOLDS = _("%s hold(s) on this record. You must delete all holds before deleting all items.");
(-)a/koha-tmpl/intranet-tmpl/prog/js/catalog.js (-2 / +1 lines)
Lines 35-41 function confirm_deletion() { Link Here
35
        if( order_manage_permission ){
35
        if( order_manage_permission ){
36
            is_confirmed = confirm( CONFIRM_IN_DELETED_ORDERS.format(countdeletedorders) );
36
            is_confirmed = confirm( CONFIRM_IN_DELETED_ORDERS.format(countdeletedorders) );
37
        } else {
37
        } else {
38
            is_confirmed = alert( MSG_IN_DELTED_ORDERS.format(countdeletedorders) );
38
            is_confirmed = alert( MSG_IN_DELETED_ORDERS.format(countdeletedorders) );
39
        }
39
        }
40
    } else if ( holdcount > 0 ) {
40
    } else if ( holdcount > 0 ) {
41
        is_confirmed = confirm( CONFIRM_DELETION_HOLDS.format(holdcount) );
41
        is_confirmed = confirm( CONFIRM_DELETION_HOLDS.format(holdcount) );
42
- 

Return to bug 20977