bootstrap-table-cs-CZ.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /**
  2. * Bootstrap Table Czech translation
  3. * Author: Lukas Kral (monarcha@seznam.cz)
  4. * Author: Jakub Svestka <svestka1999@gmail.com>
  5. */
  6. $.fn.bootstrapTable.locales['cs-CZ'] = {
  7. formatLoadingMessage () {
  8. return 'Čekejte, prosím'
  9. },
  10. formatRecordsPerPage (pageNumber) {
  11. return `${pageNumber} položek na stránku`
  12. },
  13. formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
  14. if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
  15. return `Zobrazena ${pageFrom}. - ${pageTo} . položka z celkových ${totalRows} (filtered from ${totalNotFiltered} total rows)`
  16. }
  17. return `Zobrazena ${pageFrom}. - ${pageTo} . položka z celkových ${totalRows}`
  18. },
  19. formatSRPaginationPreText () {
  20. return 'previous page'
  21. },
  22. formatSRPaginationPageText (page) {
  23. return `to page ${page}`
  24. },
  25. formatSRPaginationNextText () {
  26. return 'next page'
  27. },
  28. formatDetailPagination (totalRows) {
  29. return `Showing ${totalRows} rows`
  30. },
  31. formatClearSearch () {
  32. return 'Clear Search'
  33. },
  34. formatSearch () {
  35. return 'Vyhledávání'
  36. },
  37. formatNoMatches () {
  38. return 'Nenalezena žádná vyhovující položka'
  39. },
  40. formatPaginationSwitch () {
  41. return 'Skrýt/Zobrazit stránkování'
  42. },
  43. formatPaginationSwitchDown () {
  44. return 'Show pagination'
  45. },
  46. formatPaginationSwitchUp () {
  47. return 'Hide pagination'
  48. },
  49. formatRefresh () {
  50. return 'Aktualizovat'
  51. },
  52. formatToggle () {
  53. return 'Přepni'
  54. },
  55. formatToggleOn () {
  56. return 'Show card view'
  57. },
  58. formatToggleOff () {
  59. return 'Hide card view'
  60. },
  61. formatColumns () {
  62. return 'Sloupce'
  63. },
  64. formatColumnsToggleAll () {
  65. return 'Toggle all'
  66. },
  67. formatFullscreen () {
  68. return 'Fullscreen'
  69. },
  70. formatAllRows () {
  71. return 'Vše'
  72. },
  73. formatAutoRefresh () {
  74. return 'Auto Refresh'
  75. },
  76. formatExport () {
  77. return 'Export data'
  78. },
  79. formatJumpTo () {
  80. return 'GO'
  81. },
  82. formatAdvancedSearch () {
  83. return 'Advanced search'
  84. },
  85. formatAdvancedCloseButton () {
  86. return 'Close'
  87. },
  88. formatFilterControlSwitch () {
  89. return 'Hide/Show controls'
  90. },
  91. formatFilterControlSwitchHide () {
  92. return 'Hide controls'
  93. },
  94. formatFilterControlSwitchShow () {
  95. return 'Show controls'
  96. }
  97. }
  98. $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['cs-CZ'])