Repository navigation
refactor(i18n): reactive translate in plugins and skills - #39400
Merged
Merged
Conversation
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-browser-feature-wall
branch
from
November 7, 2026 10:15
4a01dd1 to
46ba9d4
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-plugins-skills
branch
from
November 7, 2026 10:17
fe3dbf3 to
359fc64
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-browser-feature-wall
branch
from
November 7, 2026 10:40
46ba9d4 to
deb1ba6
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-plugins-skills
branch
from
November 7, 2026 10:40
359fc64 to
8408bf8
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-browser-feature-wall
branch
from
November 7, 2026 11:25
deb1ba6 to
de43267
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-plugins-skills
branch
from
November 7, 2026 11:27
8408bf8 to
1114ddc
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-browser-feature-wall
branch
from
November 7, 2026 21:03
de43267 to
d2c1691
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-plugins-skills
branch
from
November 7, 2026 21:04
1114ddc to
81ec8b5
Compare
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-browser-feature-wall
branch
from
November 8, 2026 02:34
d2c1691 to
49c33d1
Compare
OrcaWin
changed the base branch from
OrcaWin/i18n-reactive-translate-browser-feature-wall
to
main
November 8, 2026 02:54
…ugins and skills Applies pnpm i18n:reactive-translate --helpers. Output is unchanged: t delegates to translate() and helpers default the threaded parameter.
OrcaWin
force-pushed
the
OrcaWin/i18n-reactive-translate-plugins-skills
branch
from
November 8, 2026 02:58
81ec8b5 to
fbcb7f4
Compare
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 3 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is a batch of the reactive-translate rollout from #39353. It applies
pnpm i18n:reactive-translate --helpersto plugins and skills:components/pluginscomponents/skillsCodemod result: Rewrote 609 call(s), threaded 88 helper(s) into 99 render call site(s), in 130 file(s); left 1 for manual review. Total diff: 131 files, including helper files outside the directory that gain a defaulted
t/intlLocaleparameter.This is a mechanical rewrite and behavior is unchanged with React Compiler off:
tfromuseTranslate()delegates totranslate(), so every string is identical. Only its identity changes, and only on a language or resource change, when the tree already re-renders.t: Translate = translate), so callers that don't pass it are unchanged.useMemodeps gaintonly where they already include auseUiLanguageRevision()value.Left for manual work because the rewrite would push these files over the
max-linesbudget. They stay untouched until someone splits them:src/renderer/src/components/automations/use-external-automation-actions.tsSkipped by the codemod (1 call sites, still counted by the ratchet):
The render-path-translate ratchet baseline drops to 4908.
Testing
pnpm tcORCA_CODE_QUALITY_BASE=origin/main pnpm check:changed(lint, ratchets, related unit tests)