/**
|
* 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: <span id="' + noPagingationId + '"></span>';
|
},
|
pagingToolbar: {
|
pageSizeDisplay: function (pageSizeId, ifLittle) {
|
var html = '';
|
if (!ifLittle) {
|
html += 'PageSize:';
|
}
|
return html + ' <select id="' + pageSizeId + '"></select>';
|
},
|
currentDisplayRows: function (startRowId, endRowId, ifLittle) {
|
var html = '';
|
if (!ifLittle) {
|
html += 'Display:';
|
}
|
return html + ' <span id="' + startRowId + '"></span> - <span id="' + endRowId + '"></span>';
|
},
|
totalRows: function (totalRowsId) {
|
return 'Total: <span id="' + totalRowsId + '"></span>';
|
},
|
currentDisplayPageAndTotalPages: function (curPageId, totalPagesId) {
|
return '<div><span id="' + curPageId + '"></span> / <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);
|