mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 15:44:11 -08:00
29 lines
859 B
JavaScript
Executable file
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);
|