dorfteich/packages/shared/i18n/en/import.json
Claude Fable 5 b8546eb249 Vault import: always show the label section, create labels inline
The label multiselect was gated on the pond already having labels — but
before a first import that is the common case, so the section silently
vanished and no import-wide label could be chosen. Render the fieldset
unconditionally (with a hint when empty) and add an inline create
field: POST the new label directly to get its id back, refresh the
shared label query, and tick it right away. Same pond_admin permission
as the dialog itself.

The e2e pack now creates its label through the dialog instead of the
API, covering exactly the empty-pond path that slipped through.

Fixes #121

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fb2VzvcoBPHkjh8bZ6PzQn
2026-07-15 10:58:50 +02:00

36 lines
1.2 KiB
JSON

{
"action": "Import document",
"hint": "Word (.docx), OpenDocument (.odt) or Markdown (.md)",
"status": {
"uploading": "Uploading…",
"queued": "Queued…",
"converting": "Converting…",
"done": "Imported",
"failed": "Import failed"
},
"retry": "Retry",
"dismiss": "Dismiss",
"panelLabel": "Document imports",
"vault": {
"title": "Import an Obsidian vault",
"hint": "Upload a ZIP of a whole vault: folders become subpages, Obsidian tags become labels, and [[wikilinks]] keep working.",
"action": "Import vault…",
"file": "Vault archive (.zip)",
"parent": "Mount under",
"parentRoot": "Top level",
"labels": "Additional labels for every imported page",
"labelsEmpty": "This pond has no labels yet — you can create one right here.",
"labelName": "Name of the new label",
"labelCreate": "Create label",
"frontmatter": "YAML frontmatter",
"frontmatterStrip": "Remove it",
"frontmatterPreserve": "Keep it as a code block",
"start": "Start import",
"running": "Importing…",
"cancel": "Cancel",
"done": "The vault was imported.",
"doneLink": "Open the imported pages",
"close": "Close"
}
}