bootstrap-table-ru-RU.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /**
  2. * Bootstrap Table Russian translation
  3. * Author: Dunaevsky Maxim <dunmaksim@yandex.ru>
  4. */
  5. $.fn.bootstrapTable.locales['ru-RU'] = {
  6. formatLoadingMessage () {
  7. return 'Пожалуйста, подождите, идёт загрузка'
  8. },
  9. formatRecordsPerPage (pageNumber) {
  10. return `${pageNumber} записей на страницу`
  11. },
  12. formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
  13. if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
  14. return `Записи с ${pageFrom} по ${pageTo} из ${totalRows} (filtered from ${totalNotFiltered} total rows)`
  15. }
  16. return `Записи с ${pageFrom} по ${pageTo} из ${totalRows}`
  17. },
  18. formatDetailPagination (totalRows) {
  19. return `Showing ${totalRows} rows`
  20. },
  21. formatSearch () {
  22. return 'Поиск'
  23. },
  24. formatNoMatches () {
  25. return 'Ничего не найдено'
  26. },
  27. formatPaginationSwitch () {
  28. return 'Hide/Show pagination'
  29. },
  30. formatRefresh () {
  31. return 'Обновить'
  32. },
  33. formatToggle () {
  34. return 'Переключить'
  35. },
  36. formatColumns () {
  37. return 'Колонки'
  38. },
  39. formatFullscreen () {
  40. return 'Fullscreen'
  41. },
  42. formatAllRows () {
  43. return 'All'
  44. },
  45. formatAutoRefresh () {
  46. return 'Auto Refresh'
  47. },
  48. formatExport () {
  49. return 'Export data'
  50. },
  51. formatClearFilters () {
  52. return 'Очистить фильтры'
  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['ru-RU'])