mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
44 lines
1.3 KiB
JavaScript
Executable file
44 lines
1.3 KiB
JavaScript
Executable file
/**
|
|
* Bootstrap Table Spanish Spain translation
|
|
* Author: Marc Pina<[email protected]>
|
|
*/
|
|
(function ($) {
|
|
'use strict';
|
|
|
|
$.fn.bootstrapTable.locales['es-ES'] = {
|
|
formatLoadingMessage: function () {
|
|
return 'Por favor espere...';
|
|
},
|
|
formatRecordsPerPage: function (pageNumber) {
|
|
return pageNumber + ' resultados por página';
|
|
},
|
|
formatShowingRows: function (pageFrom, pageTo, totalRows) {
|
|
return 'Mostrando desde ' + pageFrom + ' hasta ' + pageTo + ' - En total ' + totalRows + ' resultados';
|
|
},
|
|
formatSearch: function () {
|
|
return 'Buscar';
|
|
},
|
|
formatNoMatches: function () {
|
|
return 'No se encontraron resultados';
|
|
},
|
|
formatPaginationSwitch: function () {
|
|
return 'Ocultar/Mostrar paginación';
|
|
},
|
|
formatRefresh: function () {
|
|
return 'Refrescar';
|
|
},
|
|
formatToggle: function () {
|
|
return 'Ocultar/Mostrar';
|
|
},
|
|
formatColumns: function () {
|
|
return 'Columnas';
|
|
},
|
|
formatAllRows: function () {
|
|
return 'Todos';
|
|
}
|
|
};
|
|
|
|
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-ES']);
|
|
|
|
})(jQuery);
|