i18n: Fix last hardcoded German error string in export function

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Dieser Commit ist enthalten in:
claude-dev
2026-03-05 16:13:54 +01:00
Ursprung 44997d511b
Commit 28458118d4
2 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen

Datei anzeigen

@@ -2032,7 +2032,7 @@ const App = {
const response = await API.exportIncident(this.currentIncidentId, format, scope);
if (!response.ok) {
const err = await response.json().catch(() => ({}));
throw new Error(err.detail || 'Fehler ' + response.status);
throw new Error(err.detail || LangManager.t('err.generic') + ' ' + response.status);
}
const blob = await response.blob();
const disposition = response.headers.get('Content-Disposition') || '';

Datei anzeigen

@@ -392,6 +392,7 @@ const TRANSLATIONS = {
'err.verification_failed': { de: 'Verifikation fehlgeschlagen', en: 'Verification failed' },
'err.request_failed': { de: 'Anfrage fehlgeschlagen', en: 'Request failed' },
'err.verification_check_failed': { de: 'Verifizierung fehlgeschlagen', en: 'Verification failed' },
'err.generic': { de: 'Fehler', en: 'Error' },
// ── Fact check status (for notifications) ──────────────
'fc_status.confirmed': { de: 'Bestätigt', en: 'Confirmed' },