bootstrap-table-es-ES.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /**
  2. * Bootstrap Table Spanish Spain translation
  3. * Author: Marc Pina<iwalkalone69@gmail.com>
  4. */
  5. $.fn.bootstrapTable.locales['es-ES'] = {
  6. formatLoadingMessage () {
  7. return 'Por favor espere'
  8. },
  9. formatRecordsPerPage (pageNumber) {
  10. return `${pageNumber} resultados por página`
  11. },
  12. formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
  13. if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
  14. return `Mostrando desde ${pageFrom} hasta ${pageTo} - En total ${totalRows} resultados (filtered from ${totalNotFiltered} total rows)`
  15. }
  16. return `Mostrando desde ${pageFrom} hasta ${pageTo} - En total ${totalRows} resultados`
  17. },
  18. formatSRPaginationPreText () {
  19. return 'previous page'
  20. },
  21. formatSRPaginationPageText (page) {
  22. return `to page ${page}`
  23. },
  24. formatSRPaginationNextText () {
  25. return 'next page'
  26. },
  27. formatDetailPagination (totalRows) {
  28. return `Showing ${totalRows} rows`
  29. },
  30. formatClearSearch () {
  31. return 'Limpiar búsqueda'
  32. },
  33. formatSearch () {
  34. return 'Buscar'
  35. },
  36. formatNoMatches () {
  37. return 'No se encontraron resultados'
  38. },
  39. formatPaginationSwitch () {
  40. return 'Ocultar/Mostrar paginación'
  41. },
  42. formatRefresh () {
  43. return 'Refrescar'
  44. },
  45. formatToggle () {
  46. return 'Ocultar/Mostrar'
  47. },
  48. formatColumns () {
  49. return 'Columnas'
  50. },
  51. formatFullscreen () {
  52. return 'Fullscreen'
  53. },
  54. formatAllRows () {
  55. return 'Todos'
  56. },
  57. formatAutoRefresh () {
  58. return 'Auto Refresh'
  59. },
  60. formatExport () {
  61. return 'Exportar los datos'
  62. },
  63. formatJumpTo () {
  64. return 'GO'
  65. },
  66. formatAdvancedSearch () {
  67. return 'Búsqueda avanzada'
  68. },
  69. formatAdvancedCloseButton () {
  70. return 'Cerrar'
  71. }
  72. }
  73. $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-ES'])