You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.2 KiB

2 years ago
/**
* Bootstrap Table Brazilian Portuguese Translation
* Author: Eduardo Cerqueira<egcerqueira@gmail.com>
* Update: João Mello<jmello@hotmail.com.br>
*/
(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);