UNPKG

2.52 kBJavaScriptView Raw
1/**
2 * Bootstrap Table Spanish (Argentina) translation
3 * Author: Felix Vera (felix.vera@gmail.com)
4 * Edited by: DarkThinking (https://github.com/DarkThinking)
5 */
6
7$.fn.bootstrapTable.locales['es-AR'] = {
8 formatCopyRows () {
9 return 'Copiar Filas'
10 },
11 formatPrint () {
12 return 'Imprimir'
13 },
14 formatLoadingMessage () {
15 return 'Cargando, espere por favor'
16 },
17 formatRecordsPerPage (pageNumber) {
18 return `${pageNumber} registros por página`
19 },
20 formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
21 if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
22 return `Mostrando desde ${pageFrom} a ${pageTo} de ${totalRows} filas (filtrado de ${totalNotFiltered} columnas totales)`
23 }
24
25 return `Mostrando desde ${pageFrom} a ${pageTo} de ${totalRows} filas`
26 },
27 formatSRPaginationPreText () {
28 return 'página anterior'
29 },
30 formatSRPaginationPageText (page) {
31 return `a la página ${page}`
32 },
33 formatSRPaginationNextText () {
34 return 'siguiente página'
35 },
36 formatDetailPagination (totalRows) {
37 return `Mostrando ${totalRows} columnas`
38 },
39 formatClearSearch () {
40 return 'Limpiar búsqueda'
41 },
42 formatSearch () {
43 return 'Buscar'
44 },
45 formatNoMatches () {
46 return 'No se encontraron registros'
47 },
48 formatPaginationSwitch () {
49 return 'Ocultar/Mostrar paginación'
50 },
51 formatPaginationSwitchDown () {
52 return 'Mostrar paginación'
53 },
54 formatPaginationSwitchUp () {
55 return 'Ocultar paginación'
56 },
57 formatRefresh () {
58 return 'Recargar'
59 },
60 formatToggleOn () {
61 return 'Mostrar vista de carta'
62 },
63 formatToggleOff () {
64 return 'Ocultar vista de carta'
65 },
66 formatColumns () {
67 return 'Columnas'
68 },
69 formatColumnsToggleAll () {
70 return 'Cambiar todo'
71 },
72 formatFullscreen () {
73 return 'Pantalla completa'
74 },
75 formatAllRows () {
76 return 'Todo'
77 },
78 formatAutoRefresh () {
79 return 'Auto Recargar'
80 },
81 formatExport () {
82 return 'Exportar datos'
83 },
84 formatJumpTo () {
85 return 'Ir'
86 },
87 formatAdvancedSearch () {
88 return 'Búsqueda avanzada'
89 },
90 formatAdvancedCloseButton () {
91 return 'Cerrar'
92 },
93 formatFilterControlSwitch () {
94 return 'Ocultar/Mostrar controles'
95 },
96 formatFilterControlSwitchHide () {
97 return 'Ocultar controles'
98 },
99 formatFilterControlSwitchShow () {
100 return 'Mostrar controles'
101 }
102}
103
104Object.assign($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-AR'])