sjy-ecos/public/lib/bootstrap-table/locale/bootstrap-table-pt-PT.js

44 lines
1.3 KiB
JavaScript

/**
* Bootstrap Table Portuguese Portugal Translation
* Author: Burnspirit<burnspirit@gmail.com>
*/
(function ($) {
'use strict';
$.fn.bootstrapTable.locales['pt-PT'] = {
formatLoadingMessage: function () {
return 'A carregar, por favor aguarde...';
},
formatRecordsPerPage: function (pageNumber) {
return pageNumber + ' registos por p&aacute;gina';
},
formatShowingRows: function (pageFrom, pageTo, totalRows) {
return 'A mostrar ' + pageFrom + ' at&eacute; ' + pageTo + ' de ' + totalRows + ' linhas';
},
formatSearch: function () {
return 'Pesquisa';
},
formatNoMatches: function () {
return 'Nenhum registo encontrado';
},
formatPaginationSwitch: function () {
return 'Esconder/Mostrar pagina&ccedil&atilde;o';
},
formatRefresh: function () {
return 'Atualizar';
},
formatToggle: function () {
return 'Alternar';
},
formatColumns: function () {
return 'Colunas';
},
formatAllRows: function () {
return 'Tudo';
}
};
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['pt-PT']);
})(jQuery);