bootstrap-table-ca-ES.js 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /**
  2. * Bootstrap Table Catalan translation
  3. * Authors: Marc Pina<iwalkalone69@gmail.com>
  4. * Claudi Martinez<claudix.kernel@gmail.com>
  5. */
  6. $.fn.bootstrapTable.locales['ca-ES'] = {
  7. formatLoadingMessage () {
  8. return 'Espereu, si us plau'
  9. },
  10. formatRecordsPerPage (pageNumber) {
  11. return `${pageNumber} resultats per pàgina`
  12. },
  13. formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
  14. if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
  15. return `Mostrant de ${pageFrom} fins ${pageTo} - total ${totalRows} resultats (filtered from ${totalNotFiltered} total rows)`
  16. }
  17. return `Mostrant de ${pageFrom} fins ${pageTo} - total ${totalRows} resultats`
  18. },
  19. formatSRPaginationPreText () {
  20. return 'previous page'
  21. },
  22. formatSRPaginationPageText (page) {
  23. return `to page ${page}`
  24. },
  25. formatSRPaginationNextText () {
  26. return 'next page'
  27. },
  28. formatDetailPagination (totalRows) {
  29. return `Showing ${totalRows} rows`
  30. },
  31. formatClearSearch () {
  32. return 'Clear Search'
  33. },
  34. formatSearch () {
  35. return 'Cerca'
  36. },
  37. formatNoMatches () {
  38. return 'No s\'han trobat resultats'
  39. },
  40. formatPaginationSwitch () {
  41. return 'Amaga/Mostra paginació'
  42. },
  43. formatRefresh () {
  44. return 'Refresca'
  45. },
  46. formatToggle () {
  47. return 'Alterna formatació'
  48. },
  49. formatColumns () {
  50. return 'Columnes'
  51. },
  52. formatFullscreen () {
  53. return 'Fullscreen'
  54. },
  55. formatAllRows () {
  56. return 'Tots'
  57. },
  58. formatAutoRefresh () {
  59. return 'Auto Refresh'
  60. },
  61. formatExport () {
  62. return 'Export data'
  63. },
  64. formatJumpTo () {
  65. return 'GO'
  66. },
  67. formatAdvancedSearch () {
  68. return 'Advanced search'
  69. },
  70. formatAdvancedCloseButton () {
  71. return 'Close'
  72. }
  73. }
  74. $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['ca-ES'])