wzp
2021-07-19 58ec6ffd2dc6a3e490e28026dd559352678a273d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/**
 * jQuery.bsgrid v1.38 by @Baishui2004
 * Copyright 2014 Apache v2 License
 * https://github.com/baishui2004/jquery.bsgrid
 */
/**
 * @author Baishui2004
 * @Date August 31, 2014
 */
(function ($) {
 
    $.bsgridLanguage = {
        isFirstPage: 'This is first page!',
        isLastPage: 'This is last page!',
        needInteger: 'Please input number!',
        needRange: function (start, end) {
            return 'Please input a number between ' + start + ' and ' + end + '!';
        },
        errorForRequestData: 'Request datas fail!',
        errorForSendOrRequestData: 'Send or request datas fail!',
        noPagingation: function (noPagingationId) {
            return 'Total:&nbsp;<span id="' + noPagingationId + '"></span>';
        },
        pagingToolbar: {
            pageSizeDisplay: function (pageSizeId, ifLittle) {
                var html = '';
                if (!ifLittle) {
                    html += 'PageSize:';
                }
                return html + '&nbsp;<select id="' + pageSizeId + '"></select>';
            },
            currentDisplayRows: function (startRowId, endRowId, ifLittle) {
                var html = '';
                if (!ifLittle) {
                    html += 'Display:';
                }
                return html + '&nbsp;<span id="' + startRowId + '"></span>&nbsp;-&nbsp;<span id="' + endRowId + '"></span>';
            },
            totalRows: function (totalRowsId) {
                return 'Total:&nbsp;<span id="' + totalRowsId + '"></span>';
            },
            currentDisplayPageAndTotalPages: function (curPageId, totalPagesId) {
                return '<div><span id="' + curPageId + '"></span>&nbsp;/&nbsp;<span id="' + totalPagesId + '"></span></div>';
            },
            firstPage: 'First',
            prevPage: 'Prev',
            nextPage: 'Next',
            lastPage: 'Last',
            gotoPage: 'Goto',
            refreshPage: 'Refresh'
        },
        loadingDataMessage: 'Loading data, Please wait......',
        noDataToDisplay: 'No data to display.'
    };
 
})(jQuery);