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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/**
* Bootstrap Table Spanish (España) translation
* Author: Antonio Pérez <anpegar@gmail.com>
*/
$.fn.bootstrapTable.locales['es-SP'] = {
formatCopyRows () {
return 'Copy Rows'
},
formatPrint () {
return 'Print'
},
formatLoadingMessage () {
return 'Cargando, por favor espera'
},
formatRecordsPerPage (pageNumber) {
return `${pageNumber} registros por página.`
},
formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
return `${pageFrom} - ${pageTo} de ${totalRows} registros (filtered from ${totalNotFiltered} total rows)`
}
return `${pageFrom} - ${pageTo} de ${totalRows} registros.`
},
formatSRPaginationPreText () {
return 'previous page'
},
formatSRPaginationPageText (page) {
return `to page ${page}`
},
formatSRPaginationNextText () {
return 'next page'
},
formatDetailPagination (totalRows) {
return `Showing ${totalRows} rows`
},
formatClearSearch () {
return 'Limpiar búsqueda'
},
formatSearch () {
return 'Buscar'
},
formatNoMatches () {
return 'No se han encontrado registros.'
},
formatPaginationSwitch () {
return 'Hide/Show pagination'
},
formatPaginationSwitchDown () {
return 'Show pagination'
},
formatPaginationSwitchUp () {
return 'Hide pagination'
},
formatRefresh () {
return 'Actualizar'
},
formatToggle () {
return 'Alternar'
},
formatToggleOn () {
return 'Show card view'
},
formatToggleOff () {
return 'Hide card view'
},
formatColumns () {
return 'Columnas'
},
formatColumnsToggleAll () {
return 'Toggle all'
},
formatFullscreen () {
return 'Fullscreen'
},
formatAllRows () {
return 'Todo'
},
formatAutoRefresh () {
return 'Auto Refresh'
},
formatExport () {
return 'Export data'
},
formatJumpTo () {
return 'GO'
},
formatAdvancedSearch () {
return 'Advanced search'
},
formatAdvancedCloseButton () {
return 'Close'
},
formatFilterControlSwitch () {
return 'Ocultar/Mostrar controles'
},
formatFilterControlSwitchHide () {
return 'Ocultar controles'
},
formatFilterControlSwitchShow () {
return 'Mostrar controles'
}
}
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-SP'])