fix: Login zentrieren und CSV-Unterschrift-Platzhalter übersetzen

Auth-Screens werden per auth-screen über die volle Viewport-Höhe zentriert.
Bild-Unterschriften im CSV-Export nutzen i18n statt festem deutschen Text.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-29 16:18:01 +02:00
parent 7d28b5745a
commit 5706d1762d
6 changed files with 31 additions and 9 deletions
+5 -2
View File
@@ -2,8 +2,11 @@ export function isSignatureImage(value: string | undefined | null): boolean {
return typeof value === 'string' && value.startsWith('data:image/')
}
export function formatSignatureForExport(value: string | undefined | null): string {
export function formatSignatureForExport(
value: string | undefined | null,
imagePlaceholder: string
): string {
if (!value) return ''
if (isSignatureImage(value)) return '[Unterschrift]'
if (isSignatureImage(value)) return imagePlaceholder
return value
}