bootstrap-table-es-NI.js 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /**
  2. * Bootstrap Table Spanish (Nicaragua) translation
  3. * Author: Dennis Hernández (http://djhvscf.github.io/Blog/)
  4. */
  5. $.fn.bootstrapTable.locales['es-NI'] = {
  6. formatLoadingMessage () {
  7. return 'Cargando, por favor espere'
  8. },
  9. formatRecordsPerPage (pageNumber) {
  10. return `${pageNumber} registros por página`
  11. },
  12. formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
  13. if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
  14. return `Mostrando de ${pageFrom} a ${pageTo} registros de ${totalRows} registros en total (filtered from ${totalNotFiltered} total rows)`
  15. }
  16. return `Mostrando de ${pageFrom} a ${pageTo} registros de ${totalRows} registros en total`
  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 registros'
  38. },
  39. formatPaginationSwitch () {
  40. return 'Hide/Show pagination'
  41. },
  42. formatPaginationSwitchDown () {
  43. return 'Show pagination'
  44. },
  45. formatPaginationSwitchUp () {
  46. return 'Hide pagination'
  47. },
  48. formatRefresh () {
  49. return 'Refrescar'
  50. },
  51. formatToggle () {
  52. return 'Alternar'
  53. },
  54. formatToggleOn () {
  55. return 'Show card view'
  56. },
  57. formatToggleOff () {
  58. return 'Hide card view'
  59. },
  60. formatColumns () {
  61. return 'Columnas'
  62. },
  63. formatColumnsToggleAll () {
  64. return 'Toggle all'
  65. },
  66. formatFullscreen () {
  67. return 'Fullscreen'
  68. },
  69. formatAllRows () {
  70. return 'Todo'
  71. },
  72. formatAutoRefresh () {
  73. return 'Auto Refresh'
  74. },
  75. formatExport () {
  76. return 'Export data'
  77. },
  78. formatJumpTo () {
  79. return 'GO'
  80. },
  81. formatAdvancedSearch () {
  82. return 'Advanced search'
  83. },
  84. formatAdvancedCloseButton () {
  85. return 'Close'
  86. }
  87. }
  88. $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-NI'])