Skip to content

fix(resource button label): Use existing translation keys - #4273

Merged
tvdeyen merged 1 commit into
mainfrom
fix-resource-naming
Sep 18, 2026
Merged

tvdeyen merged 1 commit into
mainfrom
fix-resource-naming

Conversation

@tvdeyen

@tvdeyen tvdeyen commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

What is this pull request for?

We already have translations for "Create" and "Create #{resource_name}" i18n keys. The change we made to that button label was breaking these translations. Fixed by using the old keys and adding a translated interpolation parameter to the currently unused "Create" translation key.

AlchemyCMS/alchemy_i18n#109

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

We already have translations for "Create" and "Create #{resource_name}"
i18n keys. The change we made to that button label was breaking these
translations. Fixed by using the old keys and adding a translated
interpolation parameter to the currently unused "Create" translation
key.
@tvdeyen
tvdeyen requested a review from a team as a code owner September 18, 2026 11:37
@tvdeyen tvdeyen added the backport-to-8.4-stable Needs to be backported to 8.4-stable label Sep 18, 2026
@codecov

codecov Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.37%. Comparing base (f8bd9ba) to head (ded416a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4273   +/-   ##
=======================================
  Coverage   98.37%   98.37%           
=======================================
  Files         361      361           
  Lines        9644     9646    +2     
=======================================
+ Hits         9487     9489    +2     
  Misses        157      157           
Flag Coverage Δ
mariadb 96.97% <100.00%> (+<0.01%) ⬆️
mysql 95.86% <100.00%> (+<0.01%) ⬆️
postgresql 95.86% <100.00%> (+<0.01%) ⬆️
sqlite 95.86% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tvdeyen
tvdeyen merged commit 44181ac into main Sep 18, 2026
31 checks passed
@tvdeyen
tvdeyen deleted the fix-resource-naming branch September 18, 2026 12:16
@alchemycms-bot

Copy link
Copy Markdown

💚 All backports created successfully

Status Branch Result
✅ 8.4-stable

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-8.4-stable Needs to be backported to 8.4-stable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants