snipe-it/public/js/locale/bootstrap-table-pt-PT.js

29 lines
859 B
JavaScript
Raw Normal View History

2016-05-18 18:14:15 -07:00
/**
* Bootstrap Table Portuguese Portugal Translation
* Author: Burnspirit<burnspirit@gmail.com>
*/
(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);