1 | (function (global, factory) {
|
2 | if (typeof define === "function" && define.amd) {
|
3 | define([], factory);
|
4 | } else if (typeof exports !== "undefined") {
|
5 | factory();
|
6 | } else {
|
7 | var mod = {
|
8 | exports: {}
|
9 | };
|
10 | factory();
|
11 | global.bootstrapTableEsMX = mod.exports;
|
12 | }
|
13 | })(this, function () {
|
14 | 'use strict';
|
15 |
|
16 | |
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | (function ($) {
|
23 | $.fn.bootstrapTable.locales['es-MX'] = {
|
24 | formatLoadingMessage: function formatLoadingMessage() {
|
25 | return 'Cargando, espere por favor';
|
26 | },
|
27 | formatRecordsPerPage: function formatRecordsPerPage(pageNumber) {
|
28 | return pageNumber + ' registros por p\xE1gina';
|
29 | },
|
30 | formatShowingRows: function formatShowingRows(pageFrom, pageTo, totalRows) {
|
31 | return 'Mostrando ' + pageFrom + ' a ' + pageTo + ' de ' + totalRows + ' filas';
|
32 | },
|
33 | formatDetailPagination: function formatDetailPagination(totalRows) {
|
34 | return 'Mostrando ' + totalRows + ' filas';
|
35 | },
|
36 | formatSearch: function formatSearch() {
|
37 | return 'Buscar';
|
38 | },
|
39 | formatNoMatches: function formatNoMatches() {
|
40 | return 'No se encontraron registros que coincidan';
|
41 | },
|
42 | formatPaginationSwitch: function formatPaginationSwitch() {
|
43 | return 'Mostrar/ocultar paginación';
|
44 | },
|
45 | formatRefresh: function formatRefresh() {
|
46 | return 'Actualizar';
|
47 | },
|
48 | formatToggle: function formatToggle() {
|
49 | return 'Cambiar vista';
|
50 | },
|
51 | formatColumns: function formatColumns() {
|
52 | return 'Columnas';
|
53 | },
|
54 | formatFullscreen: function formatFullscreen() {
|
55 | return 'Pantalla completa';
|
56 | },
|
57 | formatAllRows: function formatAllRows() {
|
58 | return 'Todo';
|
59 | },
|
60 | formatAutoRefresh: function formatAutoRefresh() {
|
61 | return 'Auto Refresh';
|
62 | },
|
63 | formatExport: function formatExport() {
|
64 | return 'Export data';
|
65 | },
|
66 | formatClearFilters: function formatClearFilters() {
|
67 | return 'Clear filters';
|
68 | },
|
69 | formatJumpto: function formatJumpto() {
|
70 | return 'GO';
|
71 | },
|
72 | formatAdvancedSearch: function formatAdvancedSearch() {
|
73 | return 'Advanced search';
|
74 | },
|
75 | formatAdvancedCloseButton: function formatAdvancedCloseButton() {
|
76 | return 'Close';
|
77 | }
|
78 | };
|
79 |
|
80 | $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-MX']);
|
81 | })(jQuery);
|
82 | }); |
\ | No newline at end of file |