|
|
@@ -0,0 +1,29 @@
|
|
|
+/**
|
|
|
+ * Bootstrap Table Spanish (México) translation (Obtenido de traducción de Argentina)
|
|
|
+ * Author: Felix Vera (felix.vera@gmail.com)
|
|
|
+ * Copiado: Mauricio Vera (mauricioa.vera@gmail.com)
|
|
|
+ */
|
|
|
+(function ($) {
|
|
|
+ 'use strict';
|
|
|
+
|
|
|
+ $.fn.bootstrapTable.locales['es-MX'] = {
|
|
|
+ formatLoadingMessage: function () {
|
|
|
+ return 'Cargando, espere por favor...';
|
|
|
+ },
|
|
|
+ formatRecordsPerPage: function (pageNumber) {
|
|
|
+ return pageNumber + ' registros por página';
|
|
|
+ },
|
|
|
+ formatShowingRows: function (pageFrom, pageTo, totalRows) {
|
|
|
+ return 'Mostrando ' + pageFrom + ' a ' + pageTo + ' de ' + totalRows + ' filas';
|
|
|
+ },
|
|
|
+ formatSearch: function () {
|
|
|
+ return 'Buscar';
|
|
|
+ },
|
|
|
+ formatNoMatches: function () {
|
|
|
+ return 'No se encontraron registros';
|
|
|
+ }
|
|
|
+ };
|
|
|
+
|
|
|
+ $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-MX']);
|
|
|
+
|
|
|
+})(jQuery);
|