in a language console

Sofortiges Angebot

Faire und nachvollziehbare Preise. Holen Sie sich ein Angebot für Ihr Übersetzungsprojekt.


Material hochladen

⚠ Wichtige Information zur Wortzahl








Sie benötigen ein anderes Sprachpaar? Wir beraten Sie gerne kostenlos und unabhängig. Jetzt mit uns chatten


Sie brauchen Hilfe oder haben besondere Anforderungen? Chatten Sie mit uns!

Login | Wiederherstellen

» Zurück zu inalanguage.com

FilePond.registerPlugin( //File Plugins FilePondPluginFileEncode, FilePondPluginFileValidateSize, FilePondPluginFileMetadata, FilePondPluginFileRename, FilePondPluginFileValidateType, //Image Plugins FilePondPluginImagePreview, FilePondPluginImageExifOrientation, FilePondPluginImageCrop, FilePondPluginImageResize, FilePondPluginImageTransform ); $('.filepond').filepond({ labelIdle: 'Ziehen Sie Ihre Dateien per Drag & Drop oder Durchsuchen ', labelFileWaitingForSize: 'Auf Größe wird gewartet', labelFileSizeNotAvailable: 'Größe nicht verfügbar', labelFileLoading: 'Lädt', labelFileLoadError: 'Fehler beim Laden', labelFileProcessing: 'Hochladen', labelFileProcessingComplete: 'Hochladen abgeschlossen', labelFileProcessingAborted: 'Hochladen abgebrochen', labelFileProcessingError: 'Fehler beim Hochladen', labelTapToCancel: 'Zum Abbrechen klicken', labelTapToRetry: 'Zum Neustart klicken', labelTapToUndo: 'Klicken zum Rückgängig machen', labelButtonRemoveItem: 'Entfernen', labelButtonAbortItemLoad: 'Abbrechen', labelButtonRetryItemLoad: 'Wiederholen', labelButtonAbortItemProcessing: 'Abbrechen', labelButtonUndoItemProcessing: 'Rückgängig machen', labelButtonRetryItemProcessing: 'Wiederholen', labelButtonProcessItem: 'Hochladen', allowMultiple: true, maxFiles: 5, //Send as base64 allowFileEncode: false, //Set own metadata allowFileMetadata: true, allowFileSizeValidation: true, maxFileSize: '3MB', maxTotalFileSize: '9MB', labelMaxFileSizeExceeded: 'Datei zu groß', labelMaxFileSize: 'Maximale Dateigröße {filesize}', labelMaxTotalFileSizeExceeded: 'Gesamte Maximalgröße überschritten', labelMaxTotalFileSize: 'Gesamte Maximalgröße ist {filesize}', allowFileTypeValidation: true, acceptedFileTypes: ['text/plain', 'application/pdf', 'text/html', 'application/msword', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'text/csv', 'application/vnd.oasis.opendocument.text', 'application/rtf', 'application/xml', 'image/png', 'image/jpeg'], labelFileTypeNotAllowed: 'Dateityp ungültig', allowImageExifOrientation: true, allowImagePreview: true, allowImageResize: false, imageResizeTargetWidth: '', imageResizeMode: '', server: { process: { url: '', onload: (response) => { //console.log('onload: '+ response); var json = JSON.parse(response); console.log('wordcount: '+ json.wordcount); fileWordcount = parseFloat(json.wordcount); currentWordcount = parseFloat($('#wordcount').val()); currentWordcount = $.isNumeric(currentWordcount) ? currentWordcount : parseFloat("0"); $('#wordcount').val(fileWordcount + currentWordcount); }, onerror: (response) => response.data, ondata: (formData) => { /* formData.append('Hello', 'World'); return formData; */ } }, revert: null, restore: null, load: null, fetch: null }, //maybe load files that already there .. if you come as guest ... //https://pqina.nl/filepond/docs/patterns/api/filepond-object/ //files: ['https://console.inalanguage.com/upload/temp/quote/lcan5n0pkdf1jtgiljj1jrlqfb/Blacktelio-OUe-registed.pdf'], }); //https://pqina.nl/filepond/docs/patterns/api/filepond-instance/ $('.filepond').on('FilePond:addfilestart', function(e) { //Started file load //console.log('addfilestartevent', e); }); $('.filepond').on('FilePond:addfileprogress', function(e) { //Made progress loading a file //console.log('addfileprogress event', e); }); $('.filepond').on('FilePond:addfile', function(e) { //File has been loaded, if the detail object contains an error property, something went wrong //console.log('addfile event', e); //console.log('get file: ' + JSON.stringify(e.detail)); }); $('.filepond').on('FilePond:removefile', function(e) { //File has been removed /* console.log('removefile detail', e.detail); console.log('removefile file', e.detail.file); console.log('removefile filename', e.detail.file.filename); console.log('removefile filepond id', e.detail.file.id); console.log('removefile url', "&name=" + e.detail.file.filename); */ }); $('.filepond').on('FilePond:updatefiles', function(e) { //A file has been added or removed //console.log('updatefiles event', e); }); //Eeasy multi select with search $('.multi-select').multiSelect({ selectableHeader: "", selectionHeader: "", afterInit: function(ms){ var that = this, $selectableSearch = that.$selectableUl.prev(), $selectionSearch = that.$selectionUl.prev(), selectableSearchString = '#'+that.$container.attr('id')+' .ms-elem-selectable:not(.ms-selected)', selectionSearchString = '#'+that.$container.attr('id')+' .ms-elem-selection.ms-selected'; that.qs1 = $selectableSearch.quicksearch(selectableSearchString) .on('keydown', function(e){ if (e.which === 40){ that.$selectableUl.focus(); return false; } }); that.qs2 = $selectionSearch.quicksearch(selectionSearchString) .on('keydown', function(e){ if (e.which == 40){ that.$selectionUl.focus(); return false; } }); }, afterSelect: function(){ this.qs1.cache(); this.qs2.cache(); }, afterDeselect: function(){ this.qs1.cache(); this.qs2.cache(); } }); $('#searcher').keyup(function(e) { txt = $("#searcher").val(); $('.searcher').each(function(){ if($(this).text().toUpperCase().indexOf(txt.toUpperCase()) != -1){ $(this).show(); } else { $(this).hide(); } }); }); $('#searcherOne').keyup(function(e) { txt = $("#searcherOne").val(); $('.searcherOne').each(function(){ if($(this).text().toUpperCase().indexOf(txt.toUpperCase()) != -1){ $(this).show(); } else { $(this).hide(); } }); }); $('#searcherTwo').keyup(function(e) { txt = $("#searcherTwo").val(); $('.searcherTwo').each(function(){ if($(this).text().toUpperCase().indexOf(txt.toUpperCase()) != -1){ $(this).show(); } else { $(this).hide(); } }); }); $('#searcherThree').keyup(function(e) { txt = $("#searcherThree").val(); $('.searcherThree').each(function(){ if($(this).text().toUpperCase().indexOf(txt.toUpperCase()) != -1){ $(this).show(); } else { $(this).hide(); } }); }); $('#searcherFour').keyup(function(e) { txt = $("#searcherFour").val(); $('.searcherFour').each(function(){ if($(this).text().toUpperCase().indexOf(txt.toUpperCase()) != -1){ $(this).show(); } else { $(this).hide(); } }); }); $('#searcherFive').keyup(function(e) { txt = $("#searcherFive").val(); $('.searcherFive').each(function(){ if($(this).text().toUpperCase().indexOf(txt.toUpperCase()) != -1){ $(this).show(); } else { $(this).hide(); } }); }); $('#searcherSix').keyup(function(e) { txt = $("#searcherSix").val(); $('.searcherSix').each(function(){ if($(this).text().toUpperCase().indexOf(txt.toUpperCase()) != -1){ $(this).show(); } else { $(this).hide(); } }); }); $('#searcherSeven').keyup(function(e) { txt = $("#searcherSeven").val(); $('.searcherSeven').each(function(){ if($(this).text().toUpperCase().indexOf(txt.toUpperCase()) != -1){ $(this).show(); } else { $(this).hide(); } }); }); $('#searcherEight').keyup(function(e) { txt = $("#searcherEight").val(); $('.searcherEight').each(function(){ if($(this).text().toUpperCase().indexOf(txt.toUpperCase()) != -1){ $(this).show(); } else { $(this).hide(); } }); }); $('#searcherNine').keyup(function(e) { txt = $("#searcherNine").val(); $('.searcherNine').each(function(){ if($(this).text().toUpperCase().indexOf(txt.toUpperCase()) != -1){ $(this).show(); } else { $(this).hide(); } }); });