Fix Scandinavian flyer layout by excluding CSS from DeepL translation.

Translate only visible body/title text, preserve HTML structure, and regenerate all flyer PDF/PNG exports.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-31 16:04:19 +02:00
parent 5f3d76b30f
commit 1bc0d7fb2a
12 changed files with 526 additions and 480 deletions
+2 -1
View File
@@ -31,7 +31,8 @@ export const NO_TRANSLATE_TERMS = [
'iPad',
'iPhone',
'Android',
'Knorrstr. 16 · 24106 Kiel'
'Knorrstr. 16 · 24106 Kiel',
'KnorrLabs · Markus F.J. Busche · Knorrstr. 16 · 24106 Kiel · elpatron+kd@mailbox.org'
]
const PLACEHOLDER_RE = /\{\{[^}]+\}\}/g