snipe-it/public/js/locale/bootstrap-table-sv-SE.js
2020-04-21 03:30:21 -07:00

38 lines
1 KiB
JavaScript
Executable file

/**
* 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);