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: '已經是第一頁!',
        isLastPage: '已經是最後一頁!',
        needInteger: '請輸入數字!',
        needRange: function (start, end) {
            return '請輸入一個在' + start + '到' + end + '之間的數字!';
        },
        errorForRequestData: '請求數據失敗!',
        errorForSendOrRequestData: '發送或請求數據失敗!',
        noPagingation: function (noPagingationId) {
            return '共:&nbsp;<span id="' + noPagingationId + '"></span>';
        },
        pagingToolbar: {
            pageSizeDisplay: function (pageSizeId, ifLittle) {
                var html = '';
                if (!ifLittle) {
                    html += '每頁顯示:';
                }
                return html + '&nbsp;<select id="' + pageSizeId + '"></select>';
            },
            currentDisplayRows: function (startRowId, endRowId, ifLittle) {
                var html = '';
                if (!ifLittle) {
                    html += '當前顯示:';
                }
                return html + '&nbsp;<span id="' + startRowId + '"></span>&nbsp;-&nbsp;<span id="' + endRowId + '"></span>';
            },
            totalRows: function (totalRowsId) {
                return '共:&nbsp;<span id="' + totalRowsId + '"></span>';
            },
            currentDisplayPageAndTotalPages: function (curPageId, totalPagesId) {
                return '<div><span id="' + curPageId + '"></span>&nbsp;/&nbsp;<span id="' + totalPagesId + '"></span></div>';
            },
            firstPage: '首&nbsp;頁',
            prevPage: '上一頁',
            nextPage: '下一頁',
            lastPage: '末&nbsp;頁',
            gotoPage: '跳&nbsp;轉',
            refreshPage: '刷&nbsp;新'
        },
        loadingDataMessage: '正在加載數據,請稍候......',
        noDataToDisplay: '沒有數據可以用於顯示。'
    };
 
})(jQuery);