Update interface text to be displayed in German

Translate Slovenian text to German across various components, pages, and API error messages, including video cards, modals, live page error handling, and AI service responses.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 401e2ec0-e00d-4f10-9d0e-60f3d479f9a5
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 1f3f88aa-7796-4167-865f-faff8fe770e1
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/60d372ff-2c10-46c7-b01b-10c3435136b0/401e2ec0-e00d-4f10-9d0e-60f3d479f9a5/g0TFDck
This commit is contained in:
sebastjanartic
2026-01-12 10:50:01 +00:00
parent b1eeb2b9fb
commit bd01ca5e3c
9 changed files with 36 additions and 36 deletions
+10 -10
View File
@@ -142,7 +142,7 @@ export default function LivePage() {
console.log('✅ Auto-play started successfully');
}).catch((e) => {
console.log('⚠️ Auto-play blocked, user interaction required:', e);
setError('Kliknite play za zagon streama');
setError('Klicken Sie auf Play, um den Stream zu starten');
});
});
@@ -168,17 +168,17 @@ export default function LivePage() {
switch (data.type) {
case window.Hls.ErrorTypes.NETWORK_ERROR:
console.log('🔄 Network error, attempting recovery...');
setError('Napaka pri povezavi s streamom - poskušam znova...');
setError('Verbindungsfehler - Erneuter Versuch...');
hls.startLoad();
break;
case window.Hls.ErrorTypes.MEDIA_ERROR:
console.log('🔄 Media error, attempting recovery...');
setError('Napaka pri predvajanju - poskušam znova...');
setError('Wiedergabefehler - Erneuter Versuch...');
hls.recoverMediaError();
break;
default:
console.error('💥 Fatal error, cannot recover:', data);
setError(`Napaka pri streamingu: ${data.details}`);
setError(`Streaming-Fehler: ${data.details}`);
break;
}
}
@@ -198,12 +198,12 @@ export default function LivePage() {
video.addEventListener('error', (e) => {
console.error('❌ Native video error:', e);
setError('Napaka pri nalaganju streama');
setError('Fehler beim Laden des Streams');
});
} else {
console.error('❌ HLS not supported in this browser');
setError('HLS ni podprt v tem brskalniku');
setError('HLS wird in diesem Browser nicht unterstützt');
setIsLoading(false);
}
@@ -237,12 +237,12 @@ export default function LivePage() {
video.addEventListener('error', (e) => {
console.error('❌ Video element error:', e);
setError('Napaka video elementa');
setError('Video-Element-Fehler');
});
} catch (error) {
console.error('💥 Failed to initialize live stream player:', error);
setError('Napaka pri inicializaciji playerja');
setError('Fehler bei der Player-Initialisierung');
setIsLoading(false);
}
};
@@ -254,7 +254,7 @@ export default function LivePage() {
} else {
videoRef.current.play().catch((e) => {
console.log('Play failed:', e);
setError('Napaka pri predvajanju');
setError('Wiedergabefehler');
});
}
}
@@ -440,7 +440,7 @@ export default function LivePage() {
className="mt-4 bg-red-600 hover:bg-red-700"
data-testid="button-retry"
>
Poskusite znova
Erneut versuchen
</Button>
</div>
</div>
+4 -4
View File
@@ -353,14 +353,14 @@ function EditVideoDialog({
}
toast({
title: "Uspeh!",
description: `AI opis je bil ustvarjen in shranjen (${data.characterCount || data.description.length}/500 znakov)`,
title: "Erfolg!",
description: `KI-Beschreibung wurde erstellt und gespeichert (${data.characterCount || data.description.length}/500 Zeichen)`,
});
} else {
console.error("No description in response:", data);
toast({
title: "Napaka",
description: "AI ni vrnil opisa",
title: "Fehler",
description: "KI hat keine Beschreibung zurückgegeben",
variant: "destructive",
});
}