From 180b5feba092db1339f7bb3217e91f0b22239bc5 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Mon, 27 Jul 2026 02:53:21 +0200 Subject: Surface held locks in the dashboard's work-in-progress widget A lock with no draft or autosave behind it was invisible to everyone including its holder, until the next editor collided with it. work_in_progress now admits those nodes, and the widget names the holder rather than the last editor on any locked row. Also flips the ordering to stalest-first, so a backlog reads as a queue rather than a feed, and gives the heading a real total: the count came from the already-limited relation and could never exceed five. --- config/locales/de.yml | 7 ++++--- config/locales/en.yml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'config') diff --git a/config/locales/de.yml b/config/locales/de.yml index 6267fcff..30e2f1b5 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -285,8 +285,9 @@ de: find_chapter: "Chapter finden" upload_asset: "Asset hochladen" add_in_tree: "Seite im Seitenbaum anlegen" - drafts_widget: "Entwürfe und Autosaves" - see_all_drafts: "Alle Entwürfe →" + drafts_widget: "In Arbeit (%{total})" + held_by: "Gesperrt von" + see_all_drafts: "Alle Nodes in Arbeit →" see_all_changes: "Alle Änderungen →" housekeeping: "Verwaltung" my_account: "Mein Konto" @@ -424,7 +425,7 @@ de: abstract_locale: "Abstract (%{lang})" body_locale: "Text (%{lang})" drafts: - title: "Nodes mit Entwürfen oder Autosaves" + title: "Nodes mit Entwürfen, Autosaves oder Sperren" mine: title: "Meine Arbeit" tags: diff --git a/config/locales/en.yml b/config/locales/en.yml index e5a4182f..f76dfecb 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -238,8 +238,9 @@ en: find_chapter: "Find a chapter" upload_asset: "Upload asset" add_in_tree: "Add a page in the page tree" - drafts_widget: "Drafts and autosaves" - see_all_drafts: "See all drafts →" + drafts_widget: "In progress (%{total})" + held_by: "Locked by" + see_all_drafts: "See all WIP nodes →" see_all_changes: "See all recent changes →" housekeeping: "Housekeeping" my_account: "My account" @@ -376,7 +377,7 @@ en: abstract_locale: "Abstract (%{lang})" body_locale: "Body (%{lang})" drafts: - title: "Nodes with drafts or autosaves" + title: "Nodes with drafts, autosaves or locks" mine: title: "My work" tags: -- cgit v1.3