diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-09 03:33:55 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-09 03:33:55 +0200 |
| commit | 20c735b0c5a2db9b8984848253ad99332d6211a8 (patch) | |
| tree | a4ae71c53c403c1a7740db624e43fd3163e37ab7 /config/locales/en.yml | |
| parent | 5203b80f47786b8adc169e80d89cd69159c44b62 (diff) | |
Attach assets to the draft instead of to every lifecycle row
Node#attach_asset! writes to the node's draft alone, creating one from the
head when none is pending. It refuses when another user holds the lock, and
when an autosave already exists
The asset_attach verb goes with it. create_new_draft names the editor on the
draft it creates and the publish entry's asset delta reports the attachment.
Diffstat (limited to 'config/locales/en.yml')
| -rw-r--r-- | config/locales/en.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml index bd339cc9..4bdca31b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml | |||
| @@ -87,6 +87,7 @@ en: | |||
| 87 | destroy_outside_trash: "Nodes are only destroyed from the Trash" | 87 | destroy_outside_trash: "Nodes are only destroyed from the Trash" |
| 88 | attach_in_trash: "Cannot attach assets to a node in the Trash" | 88 | attach_in_trash: "Cannot attach assets to a node in the Trash" |
| 89 | not_permitted: "Only Redaktion members may change published content in this section" | 89 | not_permitted: "Only Redaktion members may change published content in this section" |
| 90 | attach_with_autosave: "Cannot attach assets to a node with unsaved changes in the editor" | ||
| 90 | page: | 91 | page: |
| 91 | attributes: | 92 | attributes: |
| 92 | slug: | 93 | slug: |
| @@ -627,8 +628,9 @@ en: | |||
| 627 | assets: | 628 | assets: |
| 628 | created: "Asset was successfully created." | 629 | created: "Asset was successfully created." |
| 629 | updated: "Asset was successfully updated." | 630 | updated: "Asset was successfully updated." |
| 630 | attached: "Asset was successfully created and attached to “%{title}”." | ||
| 631 | already_attached: "Asset saved — it was already attached to “%{title}”." | 631 | already_attached: "Asset saved — it was already attached to “%{title}”." |
| 632 | attached_to_draft: "Attached to the draft of %{title}. Publish it to make the change live." | ||
| 633 | attached_new_draft: "Created a draft of %{title} with this attachment. Publish it to make the change live." | ||
| 632 | events: | 634 | events: |
| 633 | created: "Event was successfully created." | 635 | created: "Event was successfully created." |
| 634 | updated: "Event was successfully updated." | 636 | updated: "Event was successfully updated." |
