From d16161eab9029a509951146b80334c304c35fd34 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sun, 9 Aug 2026 03:35:48 +0200 Subject: Refuse destroying an asset that is still attached --- config/locales/en.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'config/locales/en.yml') diff --git a/config/locales/en.yml b/config/locales/en.yml index 4bdca31b..458a4069 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -106,7 +106,7 @@ en: asset: attributes: base: - not_permitted: "Only Redaktion members may change assets related to nodes in this section" + destroy_while_attached: "Cannot destroy an asset that is still attached to pages; remove it in each page's editor first" upload: unreadable_image: "could not be read as an image. It may be damaged, or not the format its name suggests." event: @@ -170,11 +170,7 @@ en: revision_restored: "restored %{date} by %{actor}" asset_history: "History" asset_destroy: "%{actor} destroyed asset “%{asset}”" - asset_destroy_detached: "— detached from %{paths}" - asset_destroy_headlines: "(was the headline of %{paths})" asset_create: "%{actor} uploaded asset “%{asset}”" - asset_attach: "%{actor} attached “%{asset}” to %{subject}" - asset_attach_headline: "%{actor} attached “%{asset}” to %{subject} as its headline" detail_assets_added: "attachments added: %{names}" detail_assets_removed: "attachments removed: %{names}" assets_reordered: "attachments reordered" @@ -766,6 +762,7 @@ en: locked_prefix: "The page is locked by %{login} —" locked_link: "unlock it there" locked_suffix: " first, then attach from this asset's page." + resolve_link: "Open the page to resolve this" headline_prefix: "The page's existing headline was kept —" headline_link: "change it there" headline_suffix: " if needed." -- cgit v1.3