bootstrap-table-es-ES.js 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /**
  2. * Bootstrap Table Spanish Spain translation
  3. * Author: Marc Pina<iwalkalone69@gmail.com>
  4. */
  5. $.fn.bootstrapTable.locales['es-ES'] = $.fn.bootstrapTable.locales['es'] = {
  6. formatCopyRows () {
  7. return 'Copiar filas'
  8. },
  9. formatPrint () {
  10. return 'Imprimir'
  11. },
  12. formatLoadingMessage () {
  13. return 'Cargando, por favor espere'
  14. },
  15. formatRecordsPerPage (pageNumber) {
  16. return `${pageNumber} resultados por página`
  17. },
  18. formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
  19. if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
  20. return `Mostrando desde ${pageFrom} hasta ${pageTo} - En total ${totalRows} resultados (filtrado de ${totalNotFiltered} filas totales)`
  21. }
  22. return `Mostrando desde ${pageFrom} hasta ${pageTo} - En total ${totalRows} resultados`
  23. },
  24. formatSRPaginationPreText () {
  25. return 'página anterior'
  26. },
  27. formatSRPaginationPageText (page) {
  28. return `a la página ${page}`
  29. },
  30. formatSRPaginationNextText () {
  31. return 'siguiente página'
  32. },
  33. formatDetailPagination (totalRows) {
  34. return `Mostrando ${totalRows} filas`
  35. },
  36. formatClearSearch () {
  37. return 'Limpiar búsqueda'
  38. },
  39. formatSearch () {
  40. return 'Buscar'
  41. },
  42. formatNoMatches () {
  43. return 'No se encontraron resultados'
  44. },
  45. formatPaginationSwitch () {
  46. return 'Ocultar/Mostrar paginación'
  47. },
  48. formatPaginationSwitchDown () {
  49. return 'Mostrar paginación'
  50. },
  51. formatPaginationSwitchUp () {
  52. return 'Ocultar paginación'
  53. },
  54. formatRefresh () {
  55. return 'Recargar'
  56. },
  57. formatToggleOn () {
  58. return 'Mostrar vista de carta'
  59. },
  60. formatToggleOff () {
  61. return 'Ocultar vista de carta'
  62. },
  63. formatColumns () {
  64. return 'Columnas'
  65. },
  66. formatColumnsToggleAll () {
  67. return 'Cambiar todo'
  68. },
  69. formatFullscreen () {
  70. return 'Pantalla completa'
  71. },
  72. formatAllRows () {
  73. return 'Todos'
  74. },
  75. formatAutoRefresh () {
  76. return 'Auto Recargar'
  77. },
  78. formatExport () {
  79. return 'Exportar los datos'
  80. },
  81. formatJumpTo () {
  82. return 'IR'
  83. },
  84. formatAdvancedSearch () {
  85. return 'Búsqueda avanzada'
  86. },
  87. formatAdvancedCloseButton () {
  88. return 'Cerrar'
  89. },
  90. formatFilterControlSwitch () {
  91. return 'Ocultar/Mostrar controles'
  92. },
  93. formatFilterControlSwitchHide () {
  94. return 'Ocultar controles'
  95. },
  96. formatFilterControlSwitchShow () {
  97. return 'Mostrar controles'
  98. }
  99. }
  100. Object.assign($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-ES'])