summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-18 04:33:53 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-18 04:33:53 +0200
commit49de2e14972030a7ef0ca36a94ab55a23a2f3596 (patch)
tree7b05419a805e9bac01a4acea3ba6d0348af50ee6 /config
parent10bd6ba5cc640f0a85a3adb3641a65ce5edf831d (diff)
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.
Diffstat (limited to 'config')
-rw-r--r--config/locales/de.yml3
-rw-r--r--config/locales/en.yml3
2 files changed, 6 insertions, 0 deletions
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:
113 trash: "%{actor} hat %{subject} in den Papierkorb verschoben (vorher unter %{from})" 113 trash: "%{actor} hat %{subject} in den Papierkorb verschoben (vorher unter %{from})"
114 restore_from_trash: "%{actor} hat %{subject} aus dem Papierkorb nach %{to} wiederhergestellt" 114 restore_from_trash: "%{actor} hat %{subject} aus dem Papierkorb nach %{to} wiederhergestellt"
115 destroy: "%{actor} hat %{subject} endgültig gelöscht (zuletzt unter %{path})" 115 destroy: "%{actor} hat %{subject} endgültig gelöscht (zuletzt unter %{path})"
116 revision_created: "angelegt am %{date} von %{actor}"
117 revision_published: "veröffentlicht am %{date} von %{actor}"
118 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:
65 trash: "%{actor} moved %{subject} to the Trash (was at %{from})" 65 trash: "%{actor} moved %{subject} to the Trash (was at %{from})"
66 restore_from_trash: "%{actor} restored %{subject} from the Trash to %{to}" 66 restore_from_trash: "%{actor} restored %{subject} from the Trash to %{to}"
67 destroy: "%{actor} permanently deleted %{subject} (last at %{path})" 67 destroy: "%{actor} permanently deleted %{subject} (last at %{path})"
68 revision_created: "created %{date} by %{actor}"
69 revision_published: "published %{date} by %{actor}"
70 revision_restored: "restored %{date} by %{actor}"