Compare commits

..

No commits in common. "329f501a6e547a4d87772c756a71479075706361" and "141bfd3658b0c71463bd6bf499e436ba688d8d9e" have entirely different histories.

2 changed files with 4 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{
"name": "multi-hoster-uploader",
"version": "3.1.10",
"version": "3.1.9",
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
"main": "main.js",
"scripts": {

View File

@ -1163,19 +1163,16 @@ function getStatusOrder(status) {
}
function getStatusText(job) {
const shortErr = job.error ? String(job.error).replace(/\s+/g, ' ').slice(0, 100) : '';
switch (job.status) {
case 'preview': return 'Bereit';
case 'queued': return 'Wartet';
case 'getting-server': return 'Server...';
case 'uploading': return 'Upload';
case 'retrying': return shortErr
? `Retry ${job.attempt}/${job.maxAttempts}: ${shortErr}`
: `Retry ${job.attempt}/${job.maxAttempts}`;
case 'retrying': return `Retry ${job.attempt}/${job.maxAttempts}`;
case 'done': return 'Fertig';
case 'aborted': return 'Abgebrochen';
case 'error': return shortErr ? `Fehlgeschlagen: ${shortErr}` : 'Fehlgeschlagen';
case 'skipped': return shortErr ? `Übersprungen: ${shortErr}` : 'Übersprungen';
case 'error': return 'Fehlgeschlagen';
case 'skipped': return 'Übersprungen';
default: return job.status;
}
}