summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-31 22:36:17 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-31 22:36:17 +0200
commit529f81b28ed77c62acaa63fad957e751798f2440 (patch)
tree9d928cbe54008b1f75c4b813182970dd0757002c /config
parent3b4e1423635fd9f33ae760312e438cc1e484662e (diff)
Warn before the gate refuses, and check restore destinations
nodes#new marks the kinds that place under /updates, derived from each kind's own path_prefix. The three parent pickers mark candidates the current user cannot publish into; menu_search returns needs_redaktion per result, computed per user rather than as a bare restricted flag, and the menu-item picker opts out. restore_from_trash! checks its destination: the restore is the move, applied rather than staged, so no later publish would have caught it. The node returns as a draft either way.
Diffstat (limited to 'config')
-rw-r--r--config/locales/de.yml2
-rw-r--r--config/locales/en.yml2
2 files changed, 4 insertions, 0 deletions
diff --git a/config/locales/de.yml b/config/locales/de.yml
index 746aa803..74f6e8ae 100644
--- a/config/locales/de.yml
+++ b/config/locales/de.yml
@@ -382,6 +382,7 @@ de:
382 attachment: "Anhang" 382 attachment: "Anhang"
383 attach_hint: "Dieses Asset wird der neuen Seite automatisch angehängt." 383 attach_hint: "Dieses Asset wird der neuen Seite automatisch angehängt."
384 as_headline: "als Aufmacher der Seite" 384 as_headline: "als Aufmacher der Seite"
385 restricted_kind: "Veröffentlichen hier ist der Redaktion vorbehalten. Anlegen und schreiben kannst du aber."
385 edit: 386 edit:
386 save_draft: "Entwurf speichern" 387 save_draft: "Entwurf speichern"
387 save_unlock_exit: "Speichern + Entsperren + Verlassen" 388 save_unlock_exit: "Speichern + Entsperren + Verlassen"
@@ -743,6 +744,7 @@ de:
743 insert_image: "Bild einfügen" 744 insert_image: "Bild einfügen"
744 insert_image_tooltip: "Eines der angehängten Bilder dieser Seite einfügen" 745 insert_image_tooltip: "Eines der angehängten Bilder dieser Seite einfügen"
745 copied: "Kopiert!" 746 copied: "Kopiert!"
747 needs_redaktion: "Redaktion nötig"
746 nav_controls: 748 nav_controls:
747 dashboard: "Dashboard" 749 dashboard: "Dashboard"
748 search: "Suche" 750 search: "Suche"
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 22429c9e..c23f2c33 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -325,6 +325,7 @@ en:
325 attachment: "attachment" 325 attachment: "attachment"
326 attach_hint: "This asset will automatically be attached to the new page." 326 attach_hint: "This asset will automatically be attached to the new page."
327 as_headline: "as the page's headline" 327 as_headline: "as the page's headline"
328 restricted_kind: "Publishing here is reserved for Redaktion. You can create and write freely, though."
328 edit: 329 edit:
329 save_draft: "Save Draft" 330 save_draft: "Save Draft"
330 save_unlock_exit: "Save + Unlock + Exit" 331 save_unlock_exit: "Save + Unlock + Exit"
@@ -686,6 +687,7 @@ en:
686 insert_image: "Insert image" 687 insert_image: "Insert image"
687 insert_image_tooltip: "Insert one of this page's attached images" 688 insert_image_tooltip: "Insert one of this page's attached images"
688 copied: "Copied!" 689 copied: "Copied!"
690 needs_redaktion: "Redaktion required"
689 nav_controls: 691 nav_controls:
690 dashboard: "Dashboard" 692 dashboard: "Dashboard"
691 search: "Search" 693 search: "Search"