UNPKG

2.16 kBJavaScriptView Raw
1/**
2 * Bootstrap Table Spanish (Nicaragua) translation
3 * Author: Dennis Hernández (http://djhvscf.github.io/Blog/)
4 */
5
6$.fn.bootstrapTable.locales['es-NI'] = {
7 formatLoadingMessage () {
8 return 'Cargando, por favor espere'
9 },
10 formatRecordsPerPage (pageNumber) {
11 return `${pageNumber} registros por página`
12 },
13 formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
14 if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
15 return `Mostrando de ${pageFrom} a ${pageTo} registros de ${totalRows} registros en total (filtered from ${totalNotFiltered} total rows)`
16 }
17
18 return `Mostrando de ${pageFrom} a ${pageTo} registros de ${totalRows} registros en total`
19 },
20 formatSRPaginationPreText () {
21 return 'previous page'
22 },
23 formatSRPaginationPageText (page) {
24 return `to page ${page}`
25 },
26 formatSRPaginationNextText () {
27 return 'next page'
28 },
29 formatDetailPagination (totalRows) {
30 return `Showing ${totalRows} rows`
31 },
32 formatClearSearch () {
33 return 'Limpiar búsqueda'
34 },
35 formatSearch () {
36 return 'Buscar'
37 },
38 formatNoMatches () {
39 return 'No se encontraron registros'
40 },
41 formatPaginationSwitch () {
42 return 'Hide/Show pagination'
43 },
44 formatPaginationSwitchDown () {
45 return 'Show pagination'
46 },
47 formatPaginationSwitchUp () {
48 return 'Hide pagination'
49 },
50 formatRefresh () {
51 return 'Refrescar'
52 },
53 formatToggle () {
54 return 'Alternar'
55 },
56 formatToggleOn () {
57 return 'Show card view'
58 },
59 formatToggleOff () {
60 return 'Hide card view'
61 },
62 formatColumns () {
63 return 'Columnas'
64 },
65 formatColumnsToggleAll () {
66 return 'Toggle all'
67 },
68 formatFullscreen () {
69 return 'Fullscreen'
70 },
71 formatAllRows () {
72 return 'Todo'
73 },
74 formatAutoRefresh () {
75 return 'Auto Refresh'
76 },
77 formatExport () {
78 return 'Export data'
79 },
80 formatJumpTo () {
81 return 'GO'
82 },
83 formatAdvancedSearch () {
84 return 'Advanced search'
85 },
86 formatAdvancedCloseButton () {
87 return 'Close'
88 }
89}
90
91$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-NI'])