Skip to content

Label the postpone submit with Kirby's standard Save - #64

Merged
sigtrygg-space merged 2 commits into
mainfrom
claude/first-kirby-plugin-nfjw0m
Aug 19, 2026
Merged

Label the postpone submit with Kirby's standard Save#64
sigtrygg-space merged 2 commits into
mainfrom
claude/first-kirby-plugin-nfjw0m

Conversation

@sigtrygg-space

@sigtrygg-space sigtrygg-space commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Maintainer feedback on the v0.6.0 wording: "Keep longer" isn't 100% accurate — the dialog can also shorten the retention (any date from tomorrow on) or switch to indefinite keeping.

Resolution (the hybrid the maintainer picked): the entry points keep "Keep longer" — intent naming for the 99% case, same register as "Empty trash" — while the dialog's submit button becomes Kirby's standard "Save" (core save i18n key: no new translation strings, correct in every Panel language). That fixes the label exactly where it was most wrong: at the moment of submitting a shorter date or the indefinite toggle.

Since this adjusts behavior that shipped with 0.6.0, the CHANGELOG gets a new 0.6.1 (unreleased) section with the entry — the maintainer opted for a quick 0.6.1 release right after this merges.

🤖 Generated with Claude Code

https://claude.ai/code/session_01K2A6tmJVCMhNHrVCsR6zCK

The entry points keep saying "Keep longer" — intent naming for
the 99% case, like "Empty trash". But the dialog can also shorten
the retention or switch to indefinite keeping, and the submit
button sits exactly where that choice is made, so it now uses
Kirby's core 'save' translation instead of repeating the intent
label. No new translation keys; correct in every Panel language.
Copilot AI lite review requested due to automatic review settings August 19, 2026 09:53
Unlike fixes to unreleased features, this adjusts behavior that
shipped with 0.6.0, so it gets a bullet.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the postpone dialog submit label to use Kirby’s standard localized “Save” label, improving wording accuracy when users shorten retention or switch to indefinite keeping.

Changes:

  • Update the postpone dialog submit button text to I18n::translate('save').
  • Add an explanatory inline comment near the submit button config.
  • Add a new CHANGELOG entry for 0.6.1 (unreleased) describing the wording change.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
index.php Changes the postpone dialog submit button label to Kirby’s standard “Save” i18n key.
CHANGELOG.md Adds an unreleased 0.6.1 note describing the submit-label change.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread CHANGELOG.md
Comment on lines +3 to 10
## 0.6.1 (unreleased)

- The postpone dialog's submit button says "Save" instead of
repeating "Keep longer" — the dialog can also shorten the
retention or switch to indefinite keeping, and the button sits
exactly where that choice is made

## 0.6.0 (2026-08-19)
@sigtrygg-space
sigtrygg-space merged commit aaff3ed into main Aug 19, 2026
10 checks passed
@sigtrygg-space sigtrygg-space mentioned this pull request Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants