dorfteich/packages/shared/i18n/de/editor.json
Claude Sonnet 5 076883a9a6
All checks were successful
CD / Build and push images (push) Successful in 2m0s
CI / Lint, typecheck, test (push) Successful in 1m42s
CI / Auth e2e pack (push) Successful in 1m50s
CI / Build container images (push) Has been skipped
CD / Deploy to Test (push) Successful in 8s
CD / Smoke tests against Test (push) Successful in 1m10s
CD / Promote to Int (push) Successful in 10s
Add TipTap page editor with REST persistence (#25)
TipTap is bound to the canonical ProseMirror schema (packages/shared,
#24) via a generic bridge (spec-utils.ts) that re-derives every
node/mark's attrs/parseDOM/toDOM from editorSchema instead of
duplicating them, so the editor's schema stays byte-for-byte identical
to what the api decodes Yjs states against — guarded by a schema-
fidelity + real Yjs round-trip test (@tiptap/y-tiptap client encoding
against y-prosemirror server decoding).

Route /p/:pondSlug/:pageSlug (RequireAuth) resolves the page via a new
GET /ponds/:pondId/pages/:slug endpoint, binds a local Y.Doc via
@tiptap/extension-collaboration (fragment "default"), and offers a
view/edit mode toggle (sidebar auto-hides in edit mode via a small
AppLayout context). Page state saves debounced to PUT /pages/:id/state
with a truthful saving/saved/error(retrying) indicator; title saves
separately via PATCH /pages/:id.

Toolbar covers headings, marks, lists, blockquote, code block, hr,
table (insert/row/column/header ops via prosemirror-tables), a minimal
link mark, and an image placeholder (real upload is #27/#28).

Closes #25

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-06 11:08:43 +02:00

56 lines
1.6 KiB
JSON

{
"title": {
"placeholder": "Unbenannte Seite"
},
"mode": {
"edit": "Bearbeiten",
"view": "Lesen",
"toggleToEdit": "In den Bearbeitungsmodus wechseln",
"toggleToView": "In den Lesemodus wechseln"
},
"save": {
"saved": "Gespeichert",
"saving": "Speichert …",
"error": "Speichern fehlgeschlagen, erneuter Versuch …",
"unsavedTitle": "Titel wird gespeichert …"
},
"toolbar": {
"paragraph": "Absatz",
"heading1": "Überschrift 1",
"heading2": "Überschrift 2",
"heading3": "Überschrift 3",
"heading4": "Überschrift 4",
"bold": "Fett",
"italic": "Kursiv",
"code": "Inline-Code",
"strikethrough": "Durchgestrichen",
"bulletList": "Aufzählungsliste",
"orderedList": "Nummerierte Liste",
"taskList": "Aufgabenliste",
"blockquote": "Zitat",
"codeBlock": "Codeblock",
"horizontalRule": "Trennlinie",
"image": "Bild-Platzhalter einfügen",
"undo": "Rückgängig",
"redo": "Wiederholen",
"link": {
"add": "Link hinzufügen",
"remove": "Link entfernen",
"urlLabel": "Link-URL",
"apply": "Übernehmen",
"cancel": "Abbrechen"
},
"table": {
"insert": "Tabelle einfügen",
"addColumnBefore": "Spalte davor einfügen",
"addColumnAfter": "Spalte danach einfügen",
"deleteColumn": "Spalte löschen",
"addRowBefore": "Zeile davor einfügen",
"addRowAfter": "Zeile danach einfügen",
"deleteRow": "Zeile löschen",
"toggleHeaderRow": "Kopfzeile umschalten",
"deleteTable": "Tabelle löschen"
}
}
}