dorfteich/packages/shared/i18n/en/common.json
Claude Fable 5 15184876bd
Some checks failed
CD / Deploy to Test (push) Blocked by required conditions
CD / Smoke tests against Test (push) Blocked by required conditions
CD / Promote to Int (push) Blocked by required conditions
CI / Auth e2e pack (push) Blocked by required conditions
CI / Import/export fidelity gate (push) Blocked by required conditions
CI / Build container images (push) Blocked by required conditions
CD / Build and push images (push) Has been cancelled
CI / Lint, typecheck, test (push) Has been cancelled
Sidebar folder view, label view, and the view toggle (#108)
The sidebar now presents pages as a collapsible tree built from parentId
(folder view) or grouped under the hierarchical label tree (label view,
read-only; multi-label pages appear under each label, untagged ones in
an 'unlabeled' group). The pond owner sets the default via a new
sidebarView pond setting (PATCH-merged like the other keys); every user
can override it locally (ui.sidebar.view.<pondId>), and the toggle sits
above the page list. Collapse state persists per pond.

New pages created while a page is open become its children — the inline
form says so and sends parentId. Reordering (buttons and drag-between)
now operates within one sibling group; the label filter stays a
folder-view feature and falls back to the flat list while active, so
the filtered order is never mistaken for a partial tree.

SidebarContent is keyed by pond id so the per-pond localStorage hooks
mount with the right key. e2e hooks (.sidebar__pages, .sidebar__page,
reorder buttons) kept; reorder/labels/content packs green locally, plus
a live smoke of nesting, collapse persistence, and both views.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 10:17:36 +02:00

84 lines
2.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"layout": {
"sidebar": {
"expand": "Show sidebar",
"collapse": "Hide sidebar",
"resize": "Resize sidebar",
"label": "Pages",
"placeholder": "Your ponds and pages will appear here.",
"empty": "No pages yet.",
"sortLabel": "Sort pages",
"sortMode": {
"alpha": "AZ",
"created": "Creation date",
"manual": "Manual order"
},
"reorder": {
"up": "Move up",
"down": "Move down",
"dragHint": "Drag to reorder",
"moved": "Moved {{title}} to position {{position}} of {{count}}."
},
"newPage": "+ New page",
"newPageTitle": "Title",
"newPageUnder": "Will be created under “{{title}}”.",
"create": "Create",
"cancel": "Cancel",
"view": {
"toggleLabel": "Sidebar view",
"folders": "Folders",
"labels": "Labels",
"unlabeled": "Unlabeled",
"expand": "Expand {{title}}",
"collapseNode": "Collapse {{title}}",
"defaultTitle": "Sidebar view",
"defaultLabel": "Default view",
"defaultHint": "The default for all members; everyone can switch their own sidebar locally.",
"saved": "Saved."
}
},
"pondSwitcher": {
"label": "Switch pond",
"trigger": "Select a pond"
},
"user": {
"anonymous": "Not signed in"
}
},
"pondHome": {
"empty": "This pond doesn't have any pages yet — create one from the sidebar."
},
"home": {
"title": "Welcome to Dorfteich",
"intro": "Dorfteich is an open-source wiki with real-time collaboration. This instance is being set up.",
"api": {
"checking": "Checking API …",
"ok": "API reachable",
"error": "API not reachable"
}
},
"notFound": {
"title": "Page not found",
"body": "The address you opened does not exist.",
"home": "Back to the start page"
},
"pond": {
"create": {
"menuItem": "+ New pond",
"title": "Create a shared pond",
"nameLabel": "Name",
"descriptionLabel": "Description (optional)",
"submit": "Create pond",
"cancel": "Cancel",
"quotaHint": "Shared ponds count against your quota — ask a site admin if creation is rejected."
},
"delete": {
"title": "Delete pond",
"hint": "Moves this pond with all of its pages to the site-level trash. A site admin can restore it. Your personal pond cannot be deleted.",
"confirmLabel": "Type the pond name to confirm: {{name}}",
"submit": "Delete pond",
"deleted": "Pond deleted."
}
}
}