bootstrap-table-vi-VN.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /**
  2. * Bootstrap Table Vietnamese translation
  3. * Author: Duc N. PHAM <pngduc@gmail.com>
  4. */
  5. ($ => {
  6. $.fn.bootstrapTable.locales['vi-VN'] = {
  7. formatLoadingMessage () {
  8. return 'Đang tải'
  9. },
  10. formatRecordsPerPage (pageNumber) {
  11. return `${pageNumber} bản ghi mỗi trang`
  12. },
  13. formatShowingRows (pageFrom, pageTo, totalRows) {
  14. return `Hiển thị từ trang ${pageFrom} đến ${pageTo} của ${totalRows} bảng ghi`
  15. },
  16. formatDetailPagination (totalRows) {
  17. return `Showing ${totalRows} rows`
  18. },
  19. formatSearch () {
  20. return 'Tìm kiếm'
  21. },
  22. formatNoMatches () {
  23. return 'Không có dữ liệu'
  24. },
  25. formatPaginationSwitch () {
  26. return 'Hide/Show pagination'
  27. },
  28. formatRefresh () {
  29. return 'Refresh'
  30. },
  31. formatToggle () {
  32. return 'Toggle'
  33. },
  34. formatColumns () {
  35. return 'Columns'
  36. },
  37. formatFullscreen () {
  38. return 'Fullscreen'
  39. },
  40. formatAllRows () {
  41. return 'All'
  42. },
  43. formatAutoRefresh () {
  44. return 'Auto Refresh'
  45. },
  46. formatExport () {
  47. return 'Export data'
  48. },
  49. formatClearFilters () {
  50. return 'Clear filters'
  51. },
  52. formatJumpto () {
  53. return 'GO'
  54. },
  55. formatAdvancedSearch () {
  56. return 'Advanced search'
  57. },
  58. formatAdvancedCloseButton () {
  59. return 'Close'
  60. }
  61. }
  62. $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['vi-VN'])
  63. })(jQuery)