mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-18 11:34:08 -08:00
38 lines
999 B
JavaScript
38 lines
999 B
JavaScript
|
/**
|
||
|
* Bootstrap Table German translation
|
||
|
* Author: Paul Mohr - Sopamo<p.mohr@sopamo.de>
|
||
|
*/
|
||
|
(function ($) {
|
||
|
'use strict';
|
||
|
|
||
|
$.fn.bootstrapTable.locales['de-DE'] = {
|
||
|
formatLoadingMessage: function () {
|
||
|
return 'Lade, bitte warten...';
|
||
|
},
|
||
|
formatRecordsPerPage: function (pageNumber) {
|
||
|
return pageNumber + ' Einträge pro Seite';
|
||
|
},
|
||
|
formatShowingRows: function (pageFrom, pageTo, totalRows) {
|
||
|
return 'Zeige ' + pageFrom + ' bis ' + pageTo + ' von ' + totalRows + ' Zeile' + ((totalRows > 1) ? "n" : "");
|
||
|
},
|
||
|
formatSearch: function () {
|
||
|
return 'Suchen';
|
||
|
},
|
||
|
formatNoMatches: function () {
|
||
|
return 'Keine passenden Ergebnisse gefunden';
|
||
|
},
|
||
|
formatRefresh: function () {
|
||
|
return 'Neu laden';
|
||
|
},
|
||
|
formatToggle: function () {
|
||
|
return 'Umschalten';
|
||
|
},
|
||
|
formatColumns: function () {
|
||
|
return 'Spalten';
|
||
|
}
|
||
|
};
|
||
|
|
||
|
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['de-DE']);
|
||
|
|
||
|
})(jQuery);
|