bootstrap-table-es-ES.js 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /**
  2. * Bootstrap Table Spanish Spain translation
  3. * Author: Marc Pina<iwalkalone69@gmail.com>
  4. */
  5. ($ => {
  6. $.fn.bootstrapTable.locales['es-ES'] = {
  7. formatLoadingMessage () {
  8. return 'Por favor espere...'
  9. },
  10. formatRecordsPerPage (pageNumber) {
  11. return `${pageNumber} resultados por página`
  12. },
  13. formatShowingRows (pageFrom, pageTo, totalRows) {
  14. return `Mostrando desde ${pageFrom} hasta ${pageTo} - En total ${totalRows} resultados`
  15. },
  16. formatSearch () {
  17. return 'Buscar'
  18. },
  19. formatNoMatches () {
  20. return 'No se encontraron resultados'
  21. },
  22. formatPaginationSwitch () {
  23. return 'Ocultar/Mostrar paginación'
  24. },
  25. formatRefresh () {
  26. return 'Refrescar'
  27. },
  28. formatToggle () {
  29. return 'Ocultar/Mostrar'
  30. },
  31. formatColumns () {
  32. return 'Columnas'
  33. },
  34. formatAllRows () {
  35. return 'Todos'
  36. },
  37. formatExport: function () {
  38. return 'Exportar los datos'
  39. },
  40. formatClearFilters: function () {
  41. return 'Borrar los filtros'
  42. },
  43. formatMultipleSort: function () {
  44. return 'Orden avanzado'
  45. },
  46. formatAddLevel: function () {
  47. return 'Añadir un nivel'
  48. },
  49. formatDeleteLevel: function () {
  50. return 'Eliminar un nivel'
  51. },
  52. formatColumn: function () {
  53. return 'Columna'
  54. },
  55. formatOrder: function () {
  56. return 'Orden'
  57. },
  58. formatSortBy: function () {
  59. return 'Ordenar por'
  60. },
  61. formatThenBy: function () {
  62. return 'Y por'
  63. },
  64. formatSort: function () {
  65. return 'Ordenar'
  66. },
  67. formatCancel: function () {
  68. return 'Cancelar'
  69. },
  70. formatDuplicateAlertTitle: function () {
  71. return 'Duplicado(s) detectado(s)!'
  72. },
  73. formatDuplicateAlertDescription: function () {
  74. return 'Eliminar o cambiar columnas duplicadas.'
  75. },
  76. formatSortOrders: function () {
  77. return {
  78. asc: 'Ascendente',
  79. desc: 'Descendente'
  80. }
  81. },
  82. formatAdvancedSearch: function () {
  83. return 'Búsqueda avanzada'
  84. },
  85. formatAdvancedCloseButton: function () {
  86. return 'Cerrar'
  87. }
  88. }
  89. $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-ES'])
  90. })(jQuery)