mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 01:24:06 -08:00
40 lines
1.2 KiB
JavaScript
40 lines
1.2 KiB
JavaScript
|
/**
|
||
|
* Bootstrap Table Spanish (España) translation
|
||
|
* Author: Antonio Pérez <anpegar@gmail.com>
|
||
|
*/
|
||
|
(function ($) {
|
||
|
'use strict';
|
||
|
|
||
|
$.fn.bootstrapTable.locales['es-SP'] = {
|
||
|
formatLoadingMessage: function () {
|
||
|
return 'Cargando, por favor espera...';
|
||
|
},
|
||
|
formatRecordsPerPage: function (pageNumber) {
|
||
|
return pageNumber + ' registros por página.';
|
||
|
},
|
||
|
formatShowingRows: function (pageFrom, pageTo, totalRows) {
|
||
|
return pageFrom + ' - ' + pageTo + ' de ' + totalRows + ' registros.';
|
||
|
},
|
||
|
formatSearch: function () {
|
||
|
return 'Buscar';
|
||
|
},
|
||
|
formatNoMatches: function () {
|
||
|
return 'No se han encontrado registros.';
|
||
|
},
|
||
|
formatRefresh: function () {
|
||
|
return 'Actualizar';
|
||
|
},
|
||
|
formatToggle: function () {
|
||
|
return 'Alternar';
|
||
|
},
|
||
|
formatColumns: function () {
|
||
|
return 'Columnas';
|
||
|
},
|
||
|
formatAllRows: function () {
|
||
|
return 'Todo';
|
||
|
}
|
||
|
};
|
||
|
|
||
|
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-SP']);
|
||
|
|
||
|
})(jQuery);
|