Skip to content

chore: sync upstream's General Translation v12 move (8/n) - #57

Open
chaitanyaprem wants to merge 2215 commits into
MiaAI-Lab:mainfrom
chaitanyaprem:sync/upstream-wave8
Open

chaitanyaprem wants to merge 2215 commits into
MiaAI-Lab:mainfrom
chaitanyaprem:sync/upstream-wave8

Conversation

@chaitanyaprem

Copy link
Copy Markdown

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 of msg with 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

  1. chore(i18n): move to General Translation v12 and drop the four GT patches pingdotgg/t3code#46460, cherry-picked with -x, keeping its original author, date and message. It conflicted in 152 files. The resolution is in its Conflict resolved for M3 Code: line:
    • upstream's rewrite is applied everywhere it touches, keeping the fork's M3 Code strings;
    • files M3 Code removed stay deleted (agent feedback, Clerk account pages, telemetry export, connection traces, the T3 Connect profile page);
    • the catalogs are regenerated with gt 3, then filled from upstream's v12 translations where the hash or English text matches.
  2. A fork commit moving M3 Code's own strings to v12 syntax. 51 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. 10 msg() 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 example gt`No threads in ${{ project: … }} yet` and msg({ context: "reasoning level" })`Low` . connectionSecurityBadgeText takes v12's M type.

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:

  • Typecheck, every workspace package: same result as main. The only errors are the 4 server ones main already has.
  • node scripts/i18n-check.ts and gt generate --check in desktop, mobile and web: pass.
  • Unit tests for client-runtime, shared and 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.
  • I did not run lint, browser tests or the mobile app, or build the desktop app from this branch. The mobile build now uses GT's Babel plugins (precomputeMessages, lowerTaggedTemplates), which only a device build exercises.

Agent: Claude Opus 5.5 in Claude Code.

wrymn and others added 30 commits December 3, 2026 17:28
…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.
…gg#44926)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit 2bebf9e)
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.
…gg#45506)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

(cherry picked from commit acd9812)

Conflict resolved for M3 Code: added upstream's new tests in apps/server/src/terminal/Manager.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
…-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)
…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)
…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)
Mnigos and others added 29 commits December 3, 2026 18:38
… 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)
…t scrolls (pingdotgg#47040)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit 23fad95)
…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.
…during refreshes (pingdotgg#39361)

(cherry picked from commit c4d445b)

Conflict resolved for M3 Code: awaitEnrichmentOnRefresh is added to the fork's shared createPiDriver.
…ned from the keyboard (pingdotgg#47130)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit 3c17dbf)
…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)
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.
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.