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 30-36 function confirm_deletion() { Link Here
30
		var count = [% count %];
30
		var count = [% count %];
31
        var is_confirmed;
31
        var is_confirmed;
32
	if (count>0){
32
	if (count>0){
33
		    is_confirmed= alert(_('There are [ '+ count +' ] item(s) attached to this record \n You must delete all items before deleting this record.'));
33
		    is_confirmed= alert(count + " " +_("item(s) are attached to this record.\nYou must delete all items before deleting this record."));
34
		    } else{
34
		    } else{
35
		    is_confirmed= confirm(_("Are you sure you want to delete this record? "));
35
		    is_confirmed= confirm(_("Are you sure you want to delete this record? "));
36
	}
36
	}
Lines 50-56 function confirm_deletion() { Link Here
50
function confirm_items_deletion() {
50
function confirm_items_deletion() {
51
        var count = [% count %];
51
        var count = [% count %];
52
        if(count > 0){
52
        if(count > 0){
53
            if(confirm(_('Are you sure you want to delete the ' + count + ' attached items? '))){
53
            if(confirm(_("Are you sure you want to delete the") + " " + count + " " + _("attached items?"))){
54
                window.location="/cgi-bin/koha/cataloguing/additem.pl?op=delallitems&biblionumber=[% biblionumber %]";
54
                window.location="/cgi-bin/koha/cataloguing/additem.pl?op=delallitems&biblionumber=[% biblionumber %]";
55
            }else{
55
            }else{
56
                return false;
56
                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