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
36 lines
1.3 KiB
JSON
36 lines
1.3 KiB
JSON
{
|
|
"action": "Dokument importieren",
|
|
"hint": "Word (.docx), OpenDocument (.odt) oder Markdown (.md)",
|
|
"status": {
|
|
"uploading": "Wird hochgeladen…",
|
|
"queued": "In Warteschlange…",
|
|
"converting": "Wird konvertiert…",
|
|
"done": "Importiert",
|
|
"failed": "Import fehlgeschlagen"
|
|
},
|
|
"retry": "Erneut versuchen",
|
|
"dismiss": "Schließen",
|
|
"panelLabel": "Dokument-Importe",
|
|
"vault": {
|
|
"title": "Obsidian-Vault importieren",
|
|
"hint": "Lade ein ZIP eines ganzen Vaults hoch: Ordner werden Unterseiten, Obsidian-Tags werden Labels, und [[Wikilinks]] funktionieren weiter.",
|
|
"action": "Vault importieren…",
|
|
"file": "Vault-Archiv (.zip)",
|
|
"parent": "Einhängen unter",
|
|
"parentRoot": "Oberste Ebene",
|
|
"labels": "Zusätzliche Labels für alle importierten Seiten",
|
|
"labelsEmpty": "Dieser Teich hat noch keine Labels — du kannst hier direkt eins anlegen.",
|
|
"labelName": "Name des neuen Labels",
|
|
"labelCreate": "Label anlegen",
|
|
"frontmatter": "YAML-Frontmatter",
|
|
"frontmatterStrip": "Entfernen",
|
|
"frontmatterPreserve": "Als Code-Block erhalten",
|
|
"start": "Import starten",
|
|
"running": "Importiere…",
|
|
"cancel": "Abbrechen",
|
|
"done": "Der Vault wurde importiert.",
|
|
"doneLink": "Importierte Seiten öffnen",
|
|
"close": "Schließen"
|
|
}
|
|
}
|