From 49de2e14972030a7ef0ca36a94ab55a23a2f3596 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 18 Jul 2026 04:33:53 +0200 Subject: Annotate the History list with each revision's lifecycle Each row in nodes#show's History section now carries terse badges from the action log: created, published, and restored (rollback re-promotion), with date and actor, rendered from entry metadata alone. Backfilled entries wear the inferred marker, so reconstructed provenance stays distinguishable from witnessed history. A revision that was published and later restored shows both badges chronologically -- its true biography. Only create and publish entries carry page_id; trash, restore, and destroy annotate the node's own log zoom instead of any single revision, by design. --- config/locales/de.yml | 3 +++ config/locales/en.yml | 3 +++ 2 files changed, 6 insertions(+) (limited to 'config') diff --git a/config/locales/de.yml b/config/locales/de.yml index 289e5cc..f64f6cd 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -113,3 +113,6 @@ de: trash: "%{actor} hat %{subject} in den Papierkorb verschoben (vorher unter %{from})" restore_from_trash: "%{actor} hat %{subject} aus dem Papierkorb nach %{to} wiederhergestellt" destroy: "%{actor} hat %{subject} endgültig gelöscht (zuletzt unter %{path})" + revision_created: "angelegt am %{date} von %{actor}" + revision_published: "veröffentlicht am %{date} von %{actor}" + revision_restored: "wiederhergestellt am %{date} von %{actor}" diff --git a/config/locales/en.yml b/config/locales/en.yml index b356cc1..8a8acc1 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -65,3 +65,6 @@ en: trash: "%{actor} moved %{subject} to the Trash (was at %{from})" restore_from_trash: "%{actor} restored %{subject} from the Trash to %{to}" destroy: "%{actor} permanently deleted %{subject} (last at %{path})" + revision_created: "created %{date} by %{actor}" + revision_published: "published %{date} by %{actor}" + revision_restored: "restored %{date} by %{actor}" -- cgit v1.3