bootstrap-table-es-ES.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. formatDetailPagination (totalRows) {
  19. return `Showing ${totalRows} rows`
  20. },
  21. formatSearch () {
  22. return 'Buscar'
  23. },
  24. formatNoMatches () {
  25. return 'No se encontraron resultados'
  26. },
  27. formatPaginationSwitch () {
  28. return 'Ocultar/Mostrar paginación'
  29. },
  30. formatRefresh () {
  31. return 'Refrescar'
  32. },
  33. formatToggle () {
  34. return 'Ocultar/Mostrar'
  35. },
  36. formatColumns () {
  37. return 'Columnas'
  38. },
  39. formatFullscreen () {
  40. return 'Fullscreen'
  41. },
  42. formatAllRows () {
  43. return 'Todos'
  44. },
  45. formatAutoRefresh () {
  46. return 'Auto Refresh'
  47. },
  48. formatExport () {
  49. return 'Exportar los datos'
  50. },
  51. formatClearFilters () {
  52. return 'Borrar los filtros'
  53. },
  54. formatJumpTo () {
  55. return 'GO'
  56. },
  57. formatAdvancedSearch () {
  58. return 'Búsqueda avanzada'
  59. },
  60. formatAdvancedCloseButton () {
  61. return 'Cerrar'
  62. }
  63. }
  64. $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-ES'])