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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/js-biblio-format.inc (-1 / +1 lines)
Lines 23-29 Link Here
23
                if (biblio.title != null && biblio.title != '') {
23
                if (biblio.title != null && biblio.title != '') {
24
                    title += escape_str(biblio.title);
24
                    title += escape_str(biblio.title);
25
                } else {
25
                } else {
26
                    title += __("No title");
26
                    title += _("No title");
27
                }
27
                }
28
                title += '</span>';
28
                title += '</span>';
29
29
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +2 lines)
Lines 1976-1982 Link Here
1976
                          } else if (response.error_code === 'checked_out') {
1976
                          } else if (response.error_code === 'checked_out') {
1977
                              const button = $('<button type="button">')
1977
                              const button = $('<button type="button">')
1978
                                .addClass('btn btn-xs')
1978
                                .addClass('btn btn-xs')
1979
                                .text(__("Check in and add to bundle"))
1979
                                .text(_("Check in and add to bundle"))
1980
                                .on('click', function () {
1980
                                .on('click', function () {
1981
                                    addToBundle(url, { external_id: barcode, force_checkin: true });
1981
                                    addToBundle(url, { external_id: barcode, force_checkin: true });
1982
                                });
1982
                                });
Lines 1993-1999 Link Here
1993
                          } else if (response.error_code === 'reserved') {
1993
                          } else if (response.error_code === 'reserved') {
1994
                              const button = $('<button type="button">')
1994
                              const button = $('<button type="button">')
1995
                                .addClass('btn btn-xs')
1995
                                .addClass('btn btn-xs')
1996
                                .text(__("Ignore holds and add to bundle"))
1996
                                .text(_("Ignore holds and add to bundle"))
1997
                                .on('click', function () {
1997
                                .on('click', function () {
1998
                                    addToBundle(url, { external_id: barcode, ignore_holds: true });
1998
                                    addToBundle(url, { external_id: barcode, ignore_holds: true });
1999
                                });
1999
                                });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt (-1 / +1 lines)
Lines 78-84 Link Here
78
            $("input[type='submit']").click(function(e){
78
            $("input[type='submit']").click(function(e){
79
                if ( $("#biblionumber").val().length > 0 && $("#barcode").val().length > 0 ) {
79
                if ( $("#biblionumber").val().length > 0 && $("#barcode").val().length > 0 ) {
80
                    e.preventDefault();
80
                    e.preventDefault();
81
                    alert(__("Please enter only a barcode, or only a biblionumber."));
81
                    alert(_("Please enter only a barcode, or only a biblionumber."));
82
                }
82
                }
83
            });
83
            });
84
        });
84
        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt (-1 / +1 lines)
Lines 225-231 Link Here
225
            $("input[type='submit']").click(function(e){
225
            $("input[type='submit']").click(function(e){
226
                if ( $("#biblionumbers").val().length > 0 && $("#barcodes").val().length > 0 ) {
226
                if ( $("#biblionumbers").val().length > 0 && $("#barcodes").val().length > 0 ) {
227
                    e.preventDefault();
227
                    e.preventDefault();
228
                    alert(__("Please enter only barcodes, or only biblionumbers."));
228
                    alert(_("Please enter only barcodes, or only biblionumbers."));
229
                }
229
                }
230
            });
230
            });
231
        });
231
        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-1 / +1 lines)
Lines 644-650 Link Here
644
                            [% END %]
644
                            [% END %]
645
645
646
                            if ( ! content.length > 0 ) {
646
                            if ( ! content.length > 0 ) {
647
                                alert(__("Please specify a content for 'Default'"));
647
                                alert(_("Please specify a content for 'Default'"));
648
                                return false;
648
                                return false;
649
                            }
649
                            }
650
                        }
650
                        }
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc (-1 / +1 lines)
Lines 101-107 Link Here
101
        },
101
        },
102
    });
102
    });
103
103
104
    var MSG_PLEASE_ENTER_A_VALID_DATE = ( __("Please enter a valid date (should match %s).") );
104
    var MSG_PLEASE_ENTER_A_VALID_DATE = ( _("Please enter a valid date (should match %s).") );
105
105
106
    function is_valid_date(date) {
106
    function is_valid_date(date) {
107
        // An empty string is considered as a valid date for convenient reasons.
107
        // An empty string is considered as a valid date for convenient reasons.
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt (-2 / +2 lines)
Lines 374-380 Link Here
374
                        $("#tag_hides").hide();
374
                        $("#tag_hides").hide();
375
                        $("#tagsel_form").show();
375
                        $("#tagsel_form").show();
376
                    } else {
376
                    } else {
377
                        alert( __("No item was selected") );
377
                        alert( _("No item was selected") );
378
                    }
378
                    }
379
                }
379
                }
380
380
Lines 389-395 Link Here
389
                function tagAdded() {
389
                function tagAdded() {
390
                    var checkedBoxes = $("input:checkbox:checked");
390
                    var checkedBoxes = $("input:checkbox:checked");
391
                    if (!$(checkedBoxes).size()) {
391
                    if (!$(checkedBoxes).size()) {
392
                        alert( __("No item was selected") );
392
                        alert( _("No item was selected") );
393
                        return false;
393
                        return false;
394
                    }
394
                    }
395
395
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-1 / +1 lines)
Lines 656-662 Link Here
656
            [% END %]
656
            [% END %]
657
657
658
            if ($(".confirmjs:checked").size() == 0) {
658
            if ($(".confirmjs:checked").size() == 0) {
659
                alert( __("No item was selected") );
659
                alert( _("No item was selected") );
660
                return false;
660
                return false;
661
            }
661
            }
662
662
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-3 / +3 lines)
Lines 607-613 Link Here
607
                if (checkedCount > 0) {
607
                if (checkedCount > 0) {
608
                    holdBiblioNums(checkedBiblioNums);
608
                    holdBiblioNums(checkedBiblioNums);
609
                } else {
609
                } else {
610
                    alert( __("No item was selected") );
610
                    alert( _("No item was selected") );
611
                }
611
                }
612
            }
612
            }
613
613
Lines 622-628 Link Here
622
            function tagSelected() {
622
            function tagSelected() {
623
                var checkedBoxes = $(".searchresults :checkbox:checked");
623
                var checkedBoxes = $(".searchresults :checkbox:checked");
624
                if ($(checkedBoxes).size() == 0) {
624
                if ($(checkedBoxes).size() == 0) {
625
                    alert( __("No item was selected") );
625
                    alert( _("No item was selected") );
626
                } else {
626
                } else {
627
                    $("#tagsel_tag").hide();
627
                    $("#tagsel_tag").hide();
628
                    $(".resort").hide();
628
                    $(".resort").hide();
Lines 641-647 Link Here
641
            function tagAdded() {
641
            function tagAdded() {
642
                var checkedBoxes = $(".searchresults :checkbox:checked");
642
                var checkedBoxes = $(".searchresults :checkbox:checked");
643
                if ($(checkedBoxes).size() == 0) {
643
                if ($(checkedBoxes).size() == 0) {
644
                    alert( __("No item was selected") );
644
                    alert( _("No item was selected") );
645
                    return false;
645
                    return false;
646
                }
646
                }
647
647
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-5 / +4 lines)
Lines 843-849 var MSG_CONFIRM_REMOVE_SHARE = _("Are you sure you want to remove this share?"); Link Here
843
    function holdSelections() {
843
    function holdSelections() {
844
        var checkedBoxes = $("input:checkbox:checked");
844
        var checkedBoxes = $("input:checkbox:checked");
845
        if ($(checkedBoxes).size() == 0) {
845
        if ($(checkedBoxes).size() == 0) {
846
            alert( __("No item was selected") );
846
            alert( _("No item was selected") );
847
        } else {
847
        } else {
848
            var bibs = "";
848
            var bibs = "";
849
            $(checkedBoxes).each(function(){
849
            $(checkedBoxes).each(function(){
Lines 861-867 var MSG_CONFIRM_REMOVE_SHARE = _("Are you sure you want to remove this share?"); Link Here
861
            $(".tag_hides").hide();
861
            $(".tag_hides").hide();
862
            $("#tagsel_form").show();
862
            $("#tagsel_form").show();
863
        } else {
863
        } else {
864
            alert( __("No item was selected") );
864
            alert( _("No item was selected") );
865
        }
865
        }
866
    }
866
    }
867
867
Lines 876-882 var MSG_CONFIRM_REMOVE_SHARE = _("Are you sure you want to remove this share?"); Link Here
876
    function tagAdded() {
876
    function tagAdded() {
877
        var checkedBoxes = $("input:checkbox:checked");
877
        var checkedBoxes = $("input:checkbox:checked");
878
        if (!$(checkedBoxes).size()) {
878
        if (!$(checkedBoxes).size()) {
879
            alert( __("No item was selected") );
879
            alert( _("No item was selected") );
880
            return false;
880
            return false;
881
        }
881
        }
882
882
Lines 998-1004 $(function() { Link Here
998
                    return confirmDelete(MSG_REMOVE_ONE_FROM_LIST);
998
                    return confirmDelete(MSG_REMOVE_ONE_FROM_LIST);
999
                }
999
                }
1000
            } else {
1000
            } else {
1001
                alert( __("No item was selected") );
1001
                alert( _("No item was selected") );
1002
                return false;
1002
                return false;
1003
            }
1003
            }
1004
        });
1004
        });
1005
- 

Return to bug 34038