bootstrap-table-en-US.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /**
  2. * Bootstrap Table English translation
  3. * Author: Zhixin Wen<wenzhixin2010@gmail.com>
  4. */
  5. (function ($) {
  6. 'use strict';
  7. $.fn.bootstrapTable.locales['en-US'] = {
  8. formatLoadingMessage: function () {
  9. return 'Loading, please wait...';
  10. },
  11. formatRecordsPerPage: function (pageNumber) {
  12. return pageNumber + ' rows per page';
  13. },
  14. formatShowingRows: function (pageFrom, pageTo, totalRows) {
  15. return 'Showing ' + pageFrom + ' to ' + pageTo + ' of ' + totalRows + ' rows';
  16. },
  17. formatSearch: function () {
  18. return 'Search';
  19. },
  20. formatNoMatches: function () {
  21. return 'No matching records found';
  22. },
  23. formatPaginationSwitch: function () {
  24. return 'Hide/Show pagination';
  25. },
  26. formatRefresh: function () {
  27. return 'Refresh';
  28. },
  29. formatToggle: function () {
  30. return 'Toggle';
  31. },
  32. formatColumns: function () {
  33. return 'Columns';
  34. },
  35. formatAllRows: function () {
  36. return 'All';
  37. },
  38. formatExport: function () {
  39. return 'Export data';
  40. },
  41. formatClearFilters: function () {
  42. return 'Clear filters';
  43. }
  44. };
  45. $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['en-US']);
  46. })(jQuery);