snipe-it/public/js/locale/bootstrap-table-pt-PT.js
2017-05-31 10:31:56 -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);