Skip to content

fix: replace deprecated $tc translation calls with $t - #237

Merged
Jozsef Damokos (jozsefdamokos) merged 2 commits into
trunkfrom
fix/deprecated-tc-translations
Oct 14, 2026
Merged

Jozsef Damokos (jozsefdamokos) merged 2 commits into
trunkfrom
fix/deprecated-tc-translations

Conversation

@jozsefdamokos

@jozsefdamokos Jozsef Damokos (jozsefdamokos) commented Oct 14, 2026 •

Copy link
Copy Markdown
Member
  • Replace $tc() and Shopware.Snippet.tc() with $t() / Shopware.Snippet.t() across the admin module, core deprecates them for removal in 6.9 and reports every call since fix(administration): postpone the $tc removal to 6.9 and report deprecated i18n usages shopware#20775
  • Pure rename, all multi-argument calls were already in the (key, named, count) order $t expects, and in 6.7.0.0 both names point at the same i18n.global.t
  • Drop the tc declaration from the plugin's Shopware.Snippet typing and update the store spec mock

@codecov

codecov Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.35%. Comparing base (5f3eee8) to head (08c1916).

Additional details and impacted files
@@            Coverage Diff            @@
##              trunk     #237   +/-   ##
=========================================
  Coverage     65.35%   65.35%           
  Complexity     4786     4786           
=========================================
  Files           654      654           
  Lines         21753    21753           
=========================================
  Hits          14217    14217           
  Misses         7536     7536           

☔ 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.

@jozsefdamokos
Jozsef Damokos (jozsefdamokos) merged commit c3616ca into trunk Oct 14, 2026
13 of 14 checks passed
@jozsefdamokos
Jozsef Damokos (jozsefdamokos) deleted the fix/deprecated-tc-translations branch October 14, 2026 15:36
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