feat: localize fallback message in DocFullView for unsupported file types

Replaced English fallback message with German translation when a file type cannot be previewed. Message updated to:
"Dieser Dateityp kann nicht angezeigt werden. Sie können es unten herunterladen:"
This commit is contained in:
tekh 2025-07-14 13:28:41 +02:00
parent 8bfcd65ad1
commit 1af2ee3890

View File

@ -86,8 +86,8 @@ export default function DocFullView({ data, format, open, handleClose }: DocFull
style.bgcolor = 'lightgray'
return (
<Box textAlign="center">
<p>This file type cannot be displayed. You can download it below:</p>
<a href={objectUrl} download={`document.${format}`}>Download file</a>
<p>Dieser Dateityp kann nicht angezeigt werden. Sie können es unten herunterladen:</p>
<a href={objectUrl} download={`document.${format}`}>Datei herunterladen</a>
</Box>
);
};