mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
42 lines
1.2 KiB
JavaScript
Executable file
42 lines
1.2 KiB
JavaScript
Executable file
/**
|
|
* Bootstrap Table Brazilian Portuguese Translation
|
|
* Author: Eduardo Cerqueira<[email protected]>
|
|
* Update: João Mello<[email protected]>
|
|
*/
|
|
(function ($) {
|
|
'use strict';
|
|
|
|
$.fn.bootstrapTable.locales['pt-BR'] = {
|
|
formatLoadingMessage: function () {
|
|
return 'Carregando, aguarde...';
|
|
},
|
|
formatRecordsPerPage: function (pageNumber) {
|
|
return pageNumber + ' registros por página';
|
|
},
|
|
formatShowingRows: function (pageFrom, pageTo, totalRows) {
|
|
return 'Exibindo ' + pageFrom + ' até ' + pageTo + ' de ' + totalRows + ' linhas';
|
|
},
|
|
formatSearch: function () {
|
|
return 'Pesquisar';
|
|
},
|
|
formatRefresh: function () {
|
|
return 'Recarregar';
|
|
},
|
|
formatToggle: function () {
|
|
return 'Alternar';
|
|
},
|
|
formatColumns: function () {
|
|
return 'Colunas';
|
|
},
|
|
formatPaginationSwitch: function () {
|
|
return 'Ocultar/Exibir paginação';
|
|
},
|
|
formatNoMatches: function () {
|
|
return 'Nenhum registro encontrado';
|
|
}
|
|
};
|
|
|
|
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['pt-BR']);
|
|
|
|
})(jQuery);
|