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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (-2 / +2 lines)
Lines 29-35 function confirm_deletion() { Link Here
29
		var count = [% count %];
29
		var count = [% count %];
30
        var is_confirmed;
30
        var is_confirmed;
31
	if (count>0){
31
	if (count>0){
32
		    is_confirmed= alert(_('There are [ '+ count +' ] item(s) attached to this record \n You must delete all items before deleting this record.'));
32
		    is_confirmed= alert(count + " " +_("item(s) are attached to this record.\nYou must delete all items before deleting this record."));
33
		    } else{
33
		    } else{
34
		    is_confirmed= confirm(_("Are you sure you want to delete this record? "));
34
		    is_confirmed= confirm(_("Are you sure you want to delete this record? "));
35
	}
35
	}
Lines 49-55 function confirm_deletion() { Link Here
49
function confirm_items_deletion() {
49
function confirm_items_deletion() {
50
        var count = [% count %];
50
        var count = [% count %];
51
        if(count > 0){
51
        if(count > 0){
52
            if(confirm(_('Are you sure you want to delete the ' + count + ' attached items? '))){
52
            if(confirm(_("Are you sure you want to delete the") + " " + count + " " + _("attached items?"))){
53
                window.location="/cgi-bin/koha/cataloguing/additem.pl?op=delallitems&biblionumber=[% biblionumber %]";
53
                window.location="/cgi-bin/koha/cataloguing/additem.pl?op=delallitems&biblionumber=[% biblionumber %]";
54
            }else{
54
            }else{
55
                return false;
55
                return false;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt (-2 / +1 lines)
Lines 113-119 $(document).ready(function(){ Link Here
113
			    // We select the whole field and removing non-selected subfields, instead of...
113
			    // We select the whole field and removing non-selected subfields, instead of...
114
114
115
			    // Alerting the user 
115
			    // Alerting the user 
116
			    alert(_('This subfield cannot be added: there is no ' + field + ' field in the destination record.'));
116
			    alert(_("This subfield cannot be added: there is no") + " " + field + " " + _("field in the destination record."));
117
			    pField.checked = false;
117
			    pField.checked = false;
118
118
119
			} else {
119
			} else {
120
- 

Return to bug 8942