bootstrap-table-ca-ES.js 1.8 KB

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