bootstrap-table-nb-NO.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /**
  2. * Bootstrap Table norwegian translation
  3. * Author: Jim Nordbø, jim@nordb.no
  4. */
  5. $.fn.bootstrapTable.locales['nb-NO'] = {
  6. formatLoadingMessage () {
  7. return 'Oppdaterer, vennligst vent'
  8. },
  9. formatRecordsPerPage (pageNumber) {
  10. return `${pageNumber} poster pr side`
  11. },
  12. formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
  13. if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
  14. return `Viser ${pageFrom} til ${pageTo} av ${totalRows} rekker (filtered from ${totalNotFiltered} total rows)`
  15. }
  16. return `Viser ${pageFrom} til ${pageTo} av ${totalRows} rekker`
  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 'Clear Search'
  32. },
  33. formatSearch () {
  34. return 'Søk'
  35. },
  36. formatNoMatches () {
  37. return 'Ingen poster funnet'
  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 'Oppdater'
  50. },
  51. formatToggle () {
  52. return 'Endre'
  53. },
  54. formatToggleOn () {
  55. return 'Show card view'
  56. },
  57. formatToggleOff () {
  58. return 'Hide card view'
  59. },
  60. formatColumns () {
  61. return 'Kolonner'
  62. },
  63. formatColumnsToggleAll () {
  64. return 'Toggle all'
  65. },
  66. formatFullscreen () {
  67. return 'Fullscreen'
  68. },
  69. formatAllRows () {
  70. return 'All'
  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['nb-NO'])