mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -08:00
c50b81ff19
Signed-off-by: snipe <[email protected]>
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);
|