Repository navigation
chore: sync upstream's General Translation v12 move (8/n) - #57
Open
chaitanyaprem wants to merge 2215 commits into
Open
chaitanyaprem wants to merge 2215 commits into
chaitanyaprem wants to merge 2215 commits into
Conversation
…se from floating (pingdotgg#44148) Co-authored-by: Lukas Tomondy <lukas.tomondy@moonpyre.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit d898612) Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in docs/user/browser.md.
pingdotgg#44095) (cherry picked from commit 0a63dfe) Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in pnpm-workspace.yaml.
…ff (pingdotgg#44365) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit b9afe8b)
… line (pingdotgg#44426) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit f946b0c) Conflict resolved for M3 Code: added upstream's new tests in apps/server/src/project/AgentSessionScanner.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
pingdotgg#44492) Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 73949c0)
…otgg#25471) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit d4b5a16) Conflict resolved for M3 Code: added upstream's new tests in packages/client-runtime/src/state/threadShell.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
… why (pingdotgg#35021) Co-authored-by: Yash Singh <saiansh2525@gmail.com> (cherry picked from commit 755b73c) Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in apps/server/src/provider/providerMaintenanceRunner.ts.
…e moved (pingdotgg#44763) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 748bb54) Conflict resolved for M3 Code: added upstream's new tests in apps/desktop/src/app/DesktopObservability.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> (cherry picked from commit a7484fb) Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in pnpm-workspace.yaml.
…ctory (pingdotgg#42164) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Yash Singh <saiansh2525@gmail.com> (cherry picked from commit 10df37a)
…gdotgg#44796) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit f9f5ccb) Conflict resolved for M3 Code: added upstream's new tests in apps/server/src/project/ProjectService.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
…otgg#44979) (cherry picked from commit f28b71d)
Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 1237bd9) Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in packages/provider-opencode/src/server/v2/adapter.ts.
… installed (pingdotgg#45014) Co-authored-by: Alex Southwell <4596216+saphid@users.noreply.github.com> Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit ed54785) Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in apps/server/src/cli/service.ts.
…gdotgg#45013) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 1feecb3)
…erminal (pingdotgg#45048) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit bf20a2e) Conflict resolved for M3 Code: added upstream's new tests in apps/server/src/terminal/NodePtyAdapter.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
… only the document (pingdotgg#45326) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 424d5d2) Conflict resolved for M3 Code: added upstream's new tests in apps/web/src/components/files/AttachmentFilePreview.browser.test.tsx; tests next to them that come from upstream changes not in M3 Code yet are left out.
…hone's (pingdotgg#45397) (cherry picked from commit 5dfe5ca) Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in apps/mobile/src/features/cloud/T3ConnectProfilePage.tsx.
…-place catalog updates (pingdotgg#45584) Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit eeb12a1)
Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit ee52667)
…ith the browser docked (pingdotgg#45866) (cherry picked from commit 4b0853e)
…odel picker (pingdotgg#45505) Co-authored-by: Yash Singh <saiansh2525@gmail.com> (cherry picked from commit d43f7db)
… with a byte-order mark (pingdotgg#45754) Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 5c46546)
…mand is still starting (pingdotgg#45996) (cherry picked from commit 3807f8d)
…answers (pingdotgg#45919) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 28b572c)
…n-style ranges (pingdotgg#43492) Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> (cherry picked from commit eb02325)
…ces (pingdotgg#46241) Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 49f8de1)
… when opened from the keyboard (pingdotgg#46974) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit a0fb9d1)
…ialog is open (pingdotgg#47026) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit a684090)
…ingdotgg#47029) (cherry picked from commit cb525f4)
…t scrolls (pingdotgg#47040) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 23fad95)
… busy runners (pingdotgg#47062) (cherry picked from commit a721f86)
…or dialog is open (pingdotgg#47079) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit c9cfe9e)
pingdotgg#47051) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 329a024)
…bar Update button (pingdotgg#43423) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Theo Browne <me@theo.li> (cherry picked from commit f9ed85a) Conflict resolved for M3 Code: merged line by line in apps/server/src/provider/AntigravityProvider.ts: each line comes from whichever side changed it, so upstream's change sits next to the fork's.
…its (pingdotgg#47123) (cherry picked from commit 8e77ece)
…during refreshes (pingdotgg#39361) (cherry picked from commit c4d445b) Conflict resolved for M3 Code: awaitEnrichmentOnRefresh is added to the fork's shared createPiDriver.
…l zoom (pingdotgg#47145) (cherry picked from commit be3cc6c)
…ned from the keyboard (pingdotgg#47130) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 3c17dbf)
(cherry picked from commit c3faadd)
(cherry picked from commit b0ba1b7)
(cherry picked from commit d089b47)
(cherry picked from commit 2f3b4e0)
…ows (pingdotgg#47105) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 59af88f) Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in apps/web/src/components/Sidebar.browser.test.tsx.
…ingdotgg#47080) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 1e6e7d7)
…ngdotgg#47167) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 06d024e) Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in apps/web/src/components/chat/useChatShortcuts.browser.test.tsx.
…vering Snooze (pingdotgg#47225) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit f416d9e)
…th fails (pingdotgg#47239) (cherry picked from commit 76c8661)
M3 Code numbers upstream migrations 23 higher (upstream 115 is 138 here). The picked tests import upstream's file names; they now import the fork's, and a test that already imports the fork's file no longer imports it twice.
The picks build on upstream code that M3 Code removed or has in another form: - Client telemetry: the direct socket URL no longer takes client metadata or a connection method. - Agent feedback: the composer's local-command check and the mobile thread screen drop the feedback inputs. - Tracing and OTLP: the CLI config no longer imports the observability settings or creates a trace directory, and the git driver no longer imports the removed metrics. - Clerk: the account page logic test and the Clerk mock in the Connect row test are removed. - The machine-load banner import that the later pill replaced, and the Gitea gt-only discovery flag, are removed. Line-wise conflict merges left a few spots wrong. Each now matches upstream's intent: the settle-scripts layer joins the fork's ProjectStore/ThreadSearch merge, MCP toolkit registration wraps withClientInput once, the model picker's inference label moves into upstream's extracted sidebar item, the context budget test filters hidden tools before the fork's lean/full measurement, and duplicate imports are removed. The palette's add-project handler loses a stray line, the resource monitor test uses the fork's query mock, and IssueService imports StandaloneIssueTrackerApi. The add-project path check passes the platform the path helper now takes, and the mobile settings row narrows its navigate call: with the fork's extra settings routes, TypeScript no longer resolves the overload for the whole target union.
…k's strings after this sync Picked commits and their resolutions change some strings (the plural token wording on the fork's usage rows, the handoff banner's waiting text) and add others. The English catalogs are regenerated, new keys fall back to English in the other locales, and the Polish catalogs are re-keyed to the fork's M3-branded strings.
- The uninstall test and the Antigravity 1.5.0 error say M3 Code (the driver's new message now does too). - The V2 preview upgrade test lists upstream migrations 117, 119 and 122 under the fork's numbers (140, 142, 145). - The peer link migration test runs migrations up to the fork's 142 and 143, not upstream's 119 and 120. - The fork's CLIProxyAPI test reads the accounts list that readAccounts now returns. - agentContextBudget.json records the measured sizes, and keeps the fork's lean tool list entry that the picks' version of the file dropped.
…ches (pingdotgg#46460) Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit b4b58d2) Conflict resolved for M3 Code: upstream's tagged-template rewrite is applied to every call it touches, keeping the fork's M3 Code strings; files M3 Code removed (agent feedback, Clerk account pages, telemetry export, connection traces, T3 Connect profile) stay deleted; the catalogs are regenerated with gt 3 and filled from upstream's v12 translations where the hash or English text matches, with M3 naming where the English changed.
v12 drops the function form of gt() and of msg() with values or a context; upstream's pick
converts every call it touches. M3 Code-only code still used the old form and no longer
typechecked: the plugin host, local engines, uninstall and project defaults settings, a few
sidebar strings, the custom model options, connection badges and the end-to-end encryption
error. They now use upstream's forms:
gt`No threads in ${{ project: … }} yet`
gt({ context: "…" })`setup`
msg({ context: "reasoning level" })`Low`
connectionSecurityBadgeText takes v12's M instead of MFunctionType. The catalogs are
regenerated: these strings were invisible to the extractor before, so they are now in every
locale, falling back to English where no translation exists.
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.
Stacked on #56 (which is stacked on #55, #54, #53, #52, #50 and #49). Until those merge, this PR's diff includes their commits too. The new part is the last 2 commits, starting after
c82c1e2a4f.Problem
Upstream pingdotgg#46460 moves the apps to General Translation v12 and drops the four GT patches. v12 only accepts the tagged-template form of
gt(and ofmsgwith values or a context), so upstream rewrote every call across 1,170 files. Later upstream commits are written in that form, so the fork can't take them without this move.Change
-x, keeping its original author, date and message. It conflicted in 152 files. The resolution is in itsConflict resolved for M3 Code:line:gt("…")calls in fork-only code didn't typecheck any more: the plugin host, local engines, uninstall and project defaults settings, a few sidebar strings, one mobile row. 10msg()calls with values or a context had the same problem: connection badges, the end-to-end encryption error, custom model options. They now use upstream's forms, for examplegt`No threads in ${{ project: … }} yet`andmsg({ context: "reasoning level" })`Low`.connectionSecurityBadgeTexttakes v12'sMtype.The extractor couldn't see these strings in the old form, so the catalogs are regenerated. The strings are now in every locale, in English where no translation exists. About 7 mobile and 12 web strings per locale that were already in the catalogs are also still English: they are fork copy with no earlier translation.
The catalogs are back in upstream's formatting (about 22,000 lines for web English).
Scope
Upstream sync. pingdotgg#46460 was reviewed and merged in pingdotgg/t3code. The fork commit only rewrites call syntax and regenerates catalogs; no string changes meaning.
Verification
Run locally on macOS arm64:
main. The only errors are the 4 server onesmainalready has.node scripts/i18n-check.tsandgt generate --checkin desktop, mobile and web: pass.client-runtime,sharedand desktop: the only failures are the same tests that fail on chore: sync 180 more upstream t3code commits: workflows, thread moves, providers and machine-load warnings (7/n) #56 without this PR. I did not run the web, mobile or server suites.precomputeMessages,lowerTaggedTemplates), which only a device build exercises.Agent: Claude Opus 5.5 in Claude Code.