Repository navigation
Expand file tree
/
Copy pathbootstrap-table-ru-RU.js
More file actions
67 lines (64 loc) · 1.66 KB
/
Copy pathbootstrap-table-ru-RU.js
File metadata and controls
67 lines (64 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/**
* Bootstrap Table Russian translation
* Author: Dunaevsky Maxim <dunmaksim@yandex.ru>
*/
$.fn.bootstrapTable.locales['ru-RU'] = {
formatLoadingMessage () {
return 'Пожалуйста, подождите, идёт загрузка'
},
formatRecordsPerPage (pageNumber) {
return `${pageNumber} записей на страницу`
},
formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered < totalRows) {
return `Записи с ${pageFrom} по ${pageTo} из ${totalRows} (filtered from ${totalNotFiltered} total entries)`
}
return `Записи с ${pageFrom} по ${pageTo} из ${totalRows}`
},
formatDetailPagination (totalRows) {
return `Showing ${totalRows} rows`
},
formatSearch () {
return 'Поиск'
},
formatNoMatches () {
return 'Ничего не найдено'
},
formatPaginationSwitch () {
return 'Hide/Show pagination'
},
formatRefresh () {
return 'Обновить'
},
formatToggle () {
return 'Переключить'
},
formatColumns () {
return 'Колонки'
},
formatFullscreen () {
return 'Fullscreen'
},
formatAllRows () {
return 'All'
},
formatAutoRefresh () {
return 'Auto Refresh'
},
formatExport () {
return 'Export data'
},
formatClearFilters () {
return 'Очистить фильтры'
},
formatJumpTo () {
return 'GO'
},
formatAdvancedSearch () {
return 'Advanced search'
},
formatAdvancedCloseButton () {
return 'Close'
}
}
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['ru-RU'])