mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-17 11:04:07 -08:00
38 lines
1 KiB
JavaScript
Executable file
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);
|