snipe-it/public/js/locale/bootstrap-table-pt-BR.js
2017-05-31 10:31:56 -07:00

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);