You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.4 KiB
50 lines
1.4 KiB
2 years ago
|
/**
|
||
|
* Bootstrap Table English translation
|
||
|
* Author: Zhixin Wen<wenzhixin2010@gmail.com>
|
||
|
*/
|
||
|
(function ($) {
|
||
|
'use strict';
|
||
|
|
||
|
$.fn.bootstrapTable.locales['en-US'] = {
|
||
|
formatLoadingMessage: function () {
|
||
|
return 'Loading, please wait...';
|
||
|
},
|
||
|
formatRecordsPerPage: function (pageNumber) {
|
||
|
return pageNumber + ' rows per page';
|
||
|
},
|
||
|
formatShowingRows: function (pageFrom, pageTo, totalRows) {
|
||
|
return 'Showing ' + pageFrom + ' to ' + pageTo + ' of ' + totalRows + ' rows';
|
||
|
},
|
||
|
formatSearch: function () {
|
||
|
return 'Search';
|
||
|
},
|
||
|
formatNoMatches: function () {
|
||
|
return 'No matching records found';
|
||
|
},
|
||
|
formatPaginationSwitch: function () {
|
||
|
return 'Hide/Show pagination';
|
||
|
},
|
||
|
formatRefresh: function () {
|
||
|
return 'Refresh';
|
||
|
},
|
||
|
formatToggle: function () {
|
||
|
return 'Toggle';
|
||
|
},
|
||
|
formatColumns: function () {
|
||
|
return 'Columns';
|
||
|
},
|
||
|
formatAllRows: function () {
|
||
|
return 'All';
|
||
|
},
|
||
|
formatExport: function () {
|
||
|
return 'Export data';
|
||
|
},
|
||
|
formatClearFilters: function () {
|
||
|
return 'Clear filters';
|
||
|
}
|
||
|
};
|
||
|
|
||
|
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['en-US']);
|
||
|
|
||
|
})(jQuery);
|