bootstrap-table-es-CR.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /**
  2. * Bootstrap Table Spanish (Costa Rica) translation
  3. * Author: Dennis Hernández (http://djhvscf.github.io/Blog/)
  4. */
  5. $.fn.bootstrapTable.locales['es-CR'] = {
  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. formatDetailPagination (totalRows) {
  19. return `Showing ${totalRows} rows`
  20. },
  21. formatSearch () {
  22. return 'Buscar'
  23. },
  24. formatNoMatches () {
  25. return 'No se encontraron registros'
  26. },
  27. formatPaginationSwitch () {
  28. return 'Hide/Show pagination'
  29. },
  30. formatRefresh () {
  31. return 'Refrescar'
  32. },
  33. formatToggle () {
  34. return 'Alternar'
  35. },
  36. formatColumns () {
  37. return 'Columnas'
  38. },
  39. formatFullscreen () {
  40. return 'Fullscreen'
  41. },
  42. formatAllRows () {
  43. return 'Todo'
  44. },
  45. formatAutoRefresh () {
  46. return 'Auto Refresh'
  47. },
  48. formatExport () {
  49. return 'Export data'
  50. },
  51. formatClearFilters () {
  52. return 'Clear filters'
  53. },
  54. formatJumpTo () {
  55. return 'GO'
  56. },
  57. formatAdvancedSearch () {
  58. return 'Advanced search'
  59. },
  60. formatAdvancedCloseButton () {
  61. return 'Close'
  62. }
  63. }
  64. $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-CR'])