All checks were successful
CI / Lint, typecheck, test (push) Successful in 2m54s
CI / Build container images (push) Has been skipped
CD / Build and push images (push) Successful in 3m9s
CD / Deploy to Test (push) Successful in 11s
CD / Smoke tests against Test (push) Successful in 1m9s
CD / Promote to Int (push) Successful in 10s
CI / Auth e2e pack (push) Successful in 3m57s
CI / Import/export fidelity gate (push) Successful in 43s
Second half of #75 on top of the section node (2e96173/784f21d): - Install gate for section_style CSS (plugin-css.ts): every rule must be scoped under one of the plugin's own .dt-style-<pluginId>-<styleId> classes (enforced, not rewritten — grouping at-rules checked inside, @font-face/@keyframes exempt, statement at-rules rejected); positioning out of the content flow (anything but static/relative) is rejected as an overlay vector; "</style" is rejected as a breakout vector for inlined embedding. Hostile fixtures from the acceptance list are pinned in plugin-css.test.ts. - Web: usePondPlugins loads the pond's active plugins once per visit; SectionStyleSheets links each active style plugin's immutable styles.css; SectionStyleMenu (toolbar) wraps/restyles/unwraps with a picker fed from the plugins' i18n titles. Sections show a faint dashed hint while editing so unstyled (plugin-disabled) sections stay findable. - PDF export: PluginsService.sectionStyleCssForPond inlines the pond's active section-style CSS into the Gotenberg HTML, so styled sections survive the network-isolated render; covered in export.service.db.test. - Reference plugin packages/plugins/section-styles-basic (callout, info, warning, colored-box; theme-neutral semi-transparent backgrounds), a workspace package whose tests validate it against the SDK schema and whose real files run through the api install gate. - e2e section-styles.spec.ts: install → wrap → computed background in edit and read mode → unwrap → neutral fallback after disabling the plugin. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EwZ4jR4KFAPvpjWevfUGX1
141 lines
4.4 KiB
JSON
141 lines
4.4 KiB
JSON
{
|
|
"title": {
|
|
"placeholder": "Untitled page"
|
|
},
|
|
"mode": {
|
|
"edit": "Edit",
|
|
"view": "Read",
|
|
"toggleToEdit": "Switch to edit mode",
|
|
"toggleToView": "Switch to read mode"
|
|
},
|
|
"connection": {
|
|
"connecting": "Connecting …",
|
|
"connected": "Live",
|
|
"reconnecting": "Reconnecting …",
|
|
"offline": "Offline — your changes will sync when you reconnect"
|
|
},
|
|
"readOnly": {
|
|
"notice": "You have read-only access to this page, so you can't edit it."
|
|
},
|
|
"tooLarge": {
|
|
"notice": "This page has reached its maximum size, so your latest change wasn't saved. Please remove some content."
|
|
},
|
|
"presence": {
|
|
"label": "{{count}} people on this page",
|
|
"viewer": "{{name}} (read-only)"
|
|
},
|
|
"offline": {
|
|
"localOnly": "This page has changes saved only on this device. They'll sync automatically when you're back online."
|
|
},
|
|
"accessRevoked": {
|
|
"title": "Your edit permission was removed",
|
|
"description": "You can no longer edit this page. Your unsaved changes are still on this device — export them before you leave, as they won't be saved to the server.",
|
|
"copy": "Copy as Markdown",
|
|
"copied": "Copied!",
|
|
"copyFailed": "Copy failed",
|
|
"download": "Download as Markdown",
|
|
"discard": "Discard my changes",
|
|
"discardConfirm": "Discard the changes saved on this device? This cannot be undone."
|
|
},
|
|
"toolbar": {
|
|
"paragraph": "Paragraph",
|
|
"heading1": "Heading 1",
|
|
"heading2": "Heading 2",
|
|
"heading3": "Heading 3",
|
|
"heading4": "Heading 4",
|
|
"bold": "Bold",
|
|
"italic": "Italic",
|
|
"code": "Inline code",
|
|
"strikethrough": "Strikethrough",
|
|
"bulletList": "Bullet list",
|
|
"orderedList": "Numbered list",
|
|
"taskList": "Task list",
|
|
"blockquote": "Quote",
|
|
"codeBlock": "Code block",
|
|
"horizontalRule": "Horizontal rule",
|
|
"image": "Insert image",
|
|
"undo": "Undo",
|
|
"redo": "Redo",
|
|
"link": {
|
|
"add": "Add link",
|
|
"edit": "Edit URL",
|
|
"remove": "Remove link",
|
|
"openNewTab": "Open in new tab",
|
|
"urlLabel": "Link URL",
|
|
"apply": "Apply",
|
|
"cancel": "Cancel",
|
|
"invalidProtocol": "This link type is not allowed."
|
|
},
|
|
"table": {
|
|
"insert": "Insert table",
|
|
"addColumnBefore": "Add column before",
|
|
"addColumnAfter": "Add column after",
|
|
"deleteColumn": "Delete column",
|
|
"addRowBefore": "Add row before",
|
|
"addRowAfter": "Add row after",
|
|
"deleteRow": "Delete row",
|
|
"toggleHeaderRow": "Toggle header row",
|
|
"deleteTable": "Delete table"
|
|
},
|
|
"section": {
|
|
"label": "Section style",
|
|
"none": "No section",
|
|
"remove": "Unwrap section"
|
|
}
|
|
},
|
|
"image": {
|
|
"uploading": "Uploading image …",
|
|
"uploadFailed": "Image upload failed",
|
|
"altLabel": "Alt text",
|
|
"widthLabel": "Image width",
|
|
"width": {
|
|
"small": "Small",
|
|
"medium": "Medium",
|
|
"full": "Full"
|
|
}
|
|
},
|
|
"history": {
|
|
"title": "Version history",
|
|
"open": "History",
|
|
"close": "Close",
|
|
"empty": "No versions yet.",
|
|
"error": "You can't view this page's history.",
|
|
"restore": "Restore this version",
|
|
"restored": "Restored",
|
|
"restoreConfirm": "Restore the page to this version? The current state is saved as a version first, so you can undo this.",
|
|
"diffTitle": "Changes from this version to now",
|
|
"viewTitle": "Preview",
|
|
"contributors_one": "{{count}} contributor",
|
|
"contributors_other": "{{count}} contributors",
|
|
"trigger": {
|
|
"auto": "Automatic snapshot",
|
|
"manual": "Named version",
|
|
"pre_restore": "Before a restore"
|
|
}
|
|
},
|
|
"page": {
|
|
"copyMarkdown": "Copy as Markdown",
|
|
"markdownCopied": "Copied!",
|
|
"markdownCopyFailed": "Copy failed",
|
|
"downloadMarkdown": "Download as Markdown",
|
|
"delete": "Move to trash",
|
|
"deleteConfirm": "Move this page to the trash? You can restore it from the pond's trash view."
|
|
},
|
|
"trash": {
|
|
"link": "Trash",
|
|
"title": "Trash — {{pond}}",
|
|
"empty": "The trash is empty.",
|
|
"deletedAt": "Deleted {{date}}",
|
|
"restore": "Restore",
|
|
"purge": "Delete forever",
|
|
"purgeConfirm": "Permanently delete this page and its files? This cannot be undone.",
|
|
"pageTrashedHint": "This page has been moved to the trash.",
|
|
"restoreLink": "View in trash"
|
|
},
|
|
"wikilink": {
|
|
"phantomTooltip": "This page does not exist yet",
|
|
"autocompleteLabel": "Link to a page",
|
|
"createHint": "Create page “{{title}}”"
|
|
}
|
|
}
|