snipe-it/public/js/locale/bootstrap-table-pt-PT.js
2020-04-21 03:30:21 -07:00

29 lines
859 B
JavaScript
Executable file

/**
* Bootstrap Table Portuguese Portugal Translation
* Author: Burnspirit<[email protected]>
*/
(function ($) {
'use strict';
$.fn.bootstrapTable.locales['pt-PT'] = {
formatLoadingMessage: function () {
return 'A carregar, aguarde...';
},
formatRecordsPerPage: function (pageNumber) {
return pageNumber + ' registos por página';
},
formatShowingRows: function (pageFrom, pageTo, totalRows) {
return 'A mostrar ' + pageFrom + ' até ' + pageTo + ' de ' + totalRows + ' linhas';
},
formatSearch: function () {
return 'Pesquisa';
},
formatNoMatches: function () {
return 'Nenhum registo encontrado';
}
};
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['pt-PT']);
})(jQuery);