mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 01:24:06 -08:00
38 lines
1 KiB
JavaScript
38 lines
1 KiB
JavaScript
/**
|
|
* Bootstrap Table Swedish translation
|
|
* Author: C Bratt <[email protected]>
|
|
*/
|
|
(function ($) {
|
|
'use strict';
|
|
|
|
$.fn.bootstrapTable.locales['sv-SE'] = {
|
|
formatLoadingMessage: function () {
|
|
return 'Laddar, vänligen vänta...';
|
|
},
|
|
formatRecordsPerPage: function (pageNumber) {
|
|
return pageNumber + ' rader per sida';
|
|
},
|
|
formatShowingRows: function (pageFrom, pageTo, totalRows) {
|
|
return 'Visa ' + pageFrom + ' till ' + pageTo + ' av ' + totalRows + ' rader';
|
|
},
|
|
formatSearch: function () {
|
|
return 'Sök';
|
|
},
|
|
formatNoMatches: function () {
|
|
return 'Inga matchande resultat funna.';
|
|
},
|
|
formatRefresh: function () {
|
|
return 'Uppdatera';
|
|
},
|
|
formatToggle: function () {
|
|
return 'Skifta';
|
|
},
|
|
formatColumns: function () {
|
|
return 'kolumn';
|
|
}
|
|
};
|
|
|
|
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['sv-SE']);
|
|
|
|
})(jQuery);
|