UNPKG

1.31 kBJavaScriptView Raw
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.bootstrapTableEsAR = mod.exports;
12 }
13})(this, function () {
14 'use strict';
15
16 /**
17 * Bootstrap Table Spanish (Argentina) translation
18 * Author: Felix Vera (felix.vera@gmail.com)
19 */
20 (function ($) {
21 $.fn.bootstrapTable.locales['es-AR'] = {
22 formatLoadingMessage: function formatLoadingMessage() {
23 return 'Cargando, espere por favor...';
24 },
25 formatRecordsPerPage: function formatRecordsPerPage(pageNumber) {
26 return pageNumber + ' registros por p\xE1gina';
27 },
28 formatShowingRows: function formatShowingRows(pageFrom, pageTo, totalRows) {
29 return 'Mostrando ' + pageFrom + ' a ' + pageTo + ' de ' + totalRows + ' filas';
30 },
31 formatSearch: function formatSearch() {
32 return 'Buscar';
33 },
34 formatNoMatches: function formatNoMatches() {
35 return 'No se encontraron registros';
36 },
37 formatAllRows: function formatAllRows() {
38 return 'Todo';
39 }
40 };
41
42 $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-AR']);
43 })(jQuery);
44});
\No newline at end of file