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:
@@ -2032,7 +2032,7 @@ const App = {
|
|||||||
const response = await API.exportIncident(this.currentIncidentId, format, scope);
|
const response = await API.exportIncident(this.currentIncidentId, format, scope);
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
const err = await response.json().catch(() => ({}));
|
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 blob = await response.blob();
|
||||||
const disposition = response.headers.get('Content-Disposition') || '';
|
const disposition = response.headers.get('Content-Disposition') || '';
|
||||||
|
|||||||
@@ -392,6 +392,7 @@ const TRANSLATIONS = {
|
|||||||
'err.verification_failed': { de: 'Verifikation fehlgeschlagen', en: 'Verification failed' },
|
'err.verification_failed': { de: 'Verifikation fehlgeschlagen', en: 'Verification failed' },
|
||||||
'err.request_failed': { de: 'Anfrage fehlgeschlagen', en: 'Request failed' },
|
'err.request_failed': { de: 'Anfrage fehlgeschlagen', en: 'Request failed' },
|
||||||
'err.verification_check_failed': { de: 'Verifizierung fehlgeschlagen', en: 'Verification failed' },
|
'err.verification_check_failed': { de: 'Verifizierung fehlgeschlagen', en: 'Verification failed' },
|
||||||
|
'err.generic': { de: 'Fehler', en: 'Error' },
|
||||||
|
|
||||||
// ── Fact check status (for notifications) ──────────────
|
// ── Fact check status (for notifications) ──────────────
|
||||||
'fc_status.confirmed': { de: 'Bestätigt', en: 'Confirmed' },
|
'fc_status.confirmed': { de: 'Bestätigt', en: 'Confirmed' },
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren