mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-11 08:04:09 -08:00
45 lines
1.3 KiB
JavaScript
Executable file
45 lines
1.3 KiB
JavaScript
Executable file
/**
|
|
* Bootstrap Table Catalan translation
|
|
* Authors: Marc Pina<[email protected]>
|
|
* Claudi Martinez<[email protected]>
|
|
*/
|
|
(function ($) {
|
|
'use strict';
|
|
|
|
$.fn.bootstrapTable.locales['ca-ES'] = {
|
|
formatLoadingMessage: function () {
|
|
return 'Espereu, si us plau...';
|
|
},
|
|
formatRecordsPerPage: function (pageNumber) {
|
|
return pageNumber + ' resultats per pàgina';
|
|
},
|
|
formatShowingRows: function (pageFrom, pageTo, totalRows) {
|
|
return 'Mostrant de ' + pageFrom + ' fins ' + pageTo + ' - total ' + totalRows + ' resultats';
|
|
},
|
|
formatSearch: function () {
|
|
return 'Cerca';
|
|
},
|
|
formatNoMatches: function () {
|
|
return 'No s\'han trobat resultats';
|
|
},
|
|
formatPaginationSwitch: function () {
|
|
return 'Amaga/Mostra paginació';
|
|
},
|
|
formatRefresh: function () {
|
|
return 'Refresca';
|
|
},
|
|
formatToggle: function () {
|
|
return 'Alterna formatació';
|
|
},
|
|
formatColumns: function () {
|
|
return 'Columnes';
|
|
},
|
|
formatAllRows: function () {
|
|
return 'Tots';
|
|
}
|
|
};
|
|
|
|
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['ca-ES']);
|
|
|
|
})(jQuery);
|