summaryrefslogtreecommitdiff
path: root/config/locales
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-08-09 03:35:48 +0200
committererdgeist <erdgeist@erdgeist.org>2026-08-09 03:35:48 +0200
commitd16161eab9029a509951146b80334c304c35fd34 (patch)
tree87dd7426389b0e27b31925dc28c76a442eb721b8 /config/locales
parent20c735b0c5a2db9b8984848253ad99332d6211a8 (diff)
Refuse destroying an asset that is still attached
Diffstat (limited to 'config/locales')
-rw-r--r--config/locales/de.yml7
-rw-r--r--config/locales/en.yml7
2 files changed, 4 insertions, 10 deletions
diff --git a/config/locales/de.yml b/config/locales/de.yml
index 58367aaf..92a46768 100644
--- a/config/locales/de.yml
+++ b/config/locales/de.yml
@@ -155,7 +155,7 @@ de:
155 asset: 155 asset:
156 attributes: 156 attributes:
157 base: 157 base:
158 not_permitted: "Dieses Asset ist an geschützte Seiten angehängt; nur die Redaktion darf es löschen" 158 destroy_while_attached: "Ein Asset, das noch an Seiten angehängt ist, kann nicht gelöscht werden. Bitte entferne es zuerst im Editor"
159 upload: 159 upload:
160 unreadable_image: "konnte nicht als Bild gelesen werden. Möglicherweise ist sie beschädigt oder hat ein anderes Format, als der Name vermuten lässt." 160 unreadable_image: "konnte nicht als Bild gelesen werden. Möglicherweise ist sie beschädigt oder hat ein anderes Format, als der Name vermuten lässt."
161 event: 161 event:
@@ -218,11 +218,7 @@ de:
218 revision_restored: "wiederhergestellt am %{date} von %{actor}" 218 revision_restored: "wiederhergestellt am %{date} von %{actor}"
219 asset_history: "Chronik" 219 asset_history: "Chronik"
220 asset_create: "%{actor} hat das Asset „%{asset}“ hochgeladen" 220 asset_create: "%{actor} hat das Asset „%{asset}“ hochgeladen"
221 asset_attach: "%{actor} hat „%{asset}“ an %{subject} angehängt"
222 asset_attach_headline: "%{actor} hat „%{asset}“ als Aufmacher an %{subject} angehängt"
223 asset_destroy: "%{actor} hat das Asset „%{asset}“ gelöscht" 221 asset_destroy: "%{actor} hat das Asset „%{asset}“ gelöscht"
224 asset_destroy_detached: "— entfernt von %{paths}"
225 asset_destroy_headlines: "(war Aufmacher von %{paths})"
226 detail_assets_added: "Anhänge hinzugefügt: %{names}" 222 detail_assets_added: "Anhänge hinzugefügt: %{names}"
227 detail_assets_removed: "Anhänge entfernt: %{names}" 223 detail_assets_removed: "Anhänge entfernt: %{names}"
228 assets_reordered: "Anhänge umsortiert" 224 assets_reordered: "Anhänge umsortiert"
@@ -814,6 +810,7 @@ de:
814 locked_prefix: "Die Seite ist von %{login} gesperrt —" 810 locked_prefix: "Die Seite ist von %{login} gesperrt —"
815 locked_link: "dort entsperren" 811 locked_link: "dort entsperren"
816 locked_suffix: ", dann von der Asset-Seite aus erneut anhängen." 812 locked_suffix: ", dann von der Asset-Seite aus erneut anhängen."
813 resolve_link: "Seite öffnen, um den Bearbeitungskonflikt zu lösen"
817 headline_prefix: "Der bestehende Aufmacher der Seite wurde behalten —" 814 headline_prefix: "Der bestehende Aufmacher der Seite wurde behalten —"
818 headline_link: "dort ändern" 815 headline_link: "dort ändern"
819 headline_suffix: ", falls gewünscht." 816 headline_suffix: ", falls gewünscht."
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:
106 asset: 106 asset:
107 attributes: 107 attributes:
108 base: 108 base:
109 not_permitted: "Only Redaktion members may change assets related to nodes in this section" 109 destroy_while_attached: "Cannot destroy an asset that is still attached to pages; remove it in each page's editor first"
110 upload: 110 upload:
111 unreadable_image: "could not be read as an image. It may be damaged, or not the format its name suggests." 111 unreadable_image: "could not be read as an image. It may be damaged, or not the format its name suggests."
112 event: 112 event:
@@ -170,11 +170,7 @@ en:
170 revision_restored: "restored %{date} by %{actor}" 170 revision_restored: "restored %{date} by %{actor}"
171 asset_history: "History" 171 asset_history: "History"
172 asset_destroy: "%{actor} destroyed asset “%{asset}”" 172 asset_destroy: "%{actor} destroyed asset “%{asset}”"
173 asset_destroy_detached: "— detached from %{paths}"
174 asset_destroy_headlines: "(was the headline of %{paths})"
175 asset_create: "%{actor} uploaded asset “%{asset}”" 173 asset_create: "%{actor} uploaded asset “%{asset}”"
176 asset_attach: "%{actor} attached “%{asset}” to %{subject}"
177 asset_attach_headline: "%{actor} attached “%{asset}” to %{subject} as its headline"
178 detail_assets_added: "attachments added: %{names}" 174 detail_assets_added: "attachments added: %{names}"
179 detail_assets_removed: "attachments removed: %{names}" 175 detail_assets_removed: "attachments removed: %{names}"
180 assets_reordered: "attachments reordered" 176 assets_reordered: "attachments reordered"
@@ -766,6 +762,7 @@ en:
766 locked_prefix: "The page is locked by %{login} —" 762 locked_prefix: "The page is locked by %{login} —"
767 locked_link: "unlock it there" 763 locked_link: "unlock it there"
768 locked_suffix: " first, then attach from this asset's page." 764 locked_suffix: " first, then attach from this asset's page."
765 resolve_link: "Open the page to resolve this"
769 headline_prefix: "The page's existing headline was kept —" 766 headline_prefix: "The page's existing headline was kept —"
770 headline_link: "change it there" 767 headline_link: "change it there"
771 headline_suffix: " if needed." 768 headline_suffix: " if needed."