From 529f81b28ed77c62acaa63fad957e751798f2440 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 31 Jul 2026 22:36:17 +0200 Subject: 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. --- config/locales/de.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/locales/de.yml') 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: attachment: "Anhang" attach_hint: "Dieses Asset wird der neuen Seite automatisch angehängt." as_headline: "als Aufmacher der Seite" + restricted_kind: "Veröffentlichen hier ist der Redaktion vorbehalten. Anlegen und schreiben kannst du aber." edit: save_draft: "Entwurf speichern" save_unlock_exit: "Speichern + Entsperren + Verlassen" @@ -743,6 +744,7 @@ de: insert_image: "Bild einfügen" insert_image_tooltip: "Eines der angehängten Bilder dieser Seite einfügen" copied: "Kopiert!" + needs_redaktion: "Redaktion nötig" nav_controls: dashboard: "Dashboard" search: "Suche" -- cgit v1.3