mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-16 02:24:09 -08:00
41 lines
1.2 KiB
JavaScript
Executable file
41 lines
1.2 KiB
JavaScript
Executable file
/**
|
|
* Bootstrap Table Spanish (Costa Rica) translation
|
|
* Author: Dennis Hernández (http://djhvscf.github.io/Blog/)
|
|
*/
|
|
(function ($) {
|
|
'use strict';
|
|
|
|
$.fn.bootstrapTable.locales['es-CR'] = {
|
|
formatLoadingMessage: function () {
|
|
return 'Cargando, por favor espere...';
|
|
},
|
|
formatRecordsPerPage: function (pageNumber) {
|
|
return pageNumber + ' registros por página';
|
|
},
|
|
formatShowingRows: function (pageFrom, pageTo, totalRows) {
|
|
return 'Mostrando de ' + pageFrom + ' a ' + pageTo + ' registros de ' + totalRows + ' registros en total';
|
|
},
|
|
formatSearch: function () {
|
|
return 'Buscar';
|
|
},
|
|
formatNoMatches: function () {
|
|
return 'No se encontraron registros';
|
|
},
|
|
formatRefresh: function () {
|
|
return 'Refrescar';
|
|
},
|
|
formatToggle: function () {
|
|
return 'Alternar';
|
|
},
|
|
formatColumns: function () {
|
|
return 'Columnas';
|
|
},
|
|
formatAllRows: function () {
|
|
return 'Todo';
|
|
}
|
|
};
|
|
|
|
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-CR']);
|
|
|
|
})(jQuery);
|