mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
40 lines
1.2 KiB
JavaScript
Executable file
40 lines
1.2 KiB
JavaScript
Executable file
/**
|
|
* Bootstrap Table Spanish (España) translation
|
|
* Author: Antonio Pérez <[email protected]>
|
|
*/
|
|
(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); |