Repository navigation
[Maintainer] i18n: tooling follow-ups - #1172
Merged
Merged
Conversation
…nce floors The paint chip's label, accessible name and tooltip no longer interpolate an English verb, and the reference floor offset is one ICU message so translators control the word order.
IDs from the first six words let a plugin hint take a built-in hint's translation when their openings matched. Each editor.toolHint.* ID now ends with a short hash of the full English. The drafts moved with their English.
point-ask-layer.tsx's CALM_CSS stylesheet is no longer baselined.
…oject They ran Lingui over the whole repository (about 45 s and 23 s). They now run the real check/extract commands on a two-message project via I18N_ROOT, in about 3 s each. The definition sidecar is skipped in a checkout without the built-in nodes.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Member
Author
|
Tooling cross-review at 33cc104: APPROVE I checked this locally at /tmp, at the head commit (branched from main at ee8d567). Required CI is green: quality, cli-smoke, Changed paths and Bugbot all pass. mcp-ci doesn't run because no core, MCP or scene-API files change. My P2s
Undeclared renames
No gate got looser
P2 (doesn't block)
Security isn't needed. |
4 tasks done
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.
What does this PR do?
Follow-ups from Tooling's review of #1167/#1171 and two Bugbot Lows from #1171. Part of #621.
Pick: {scope},Erase: {scope},Paint: {scope},Erase scope: {scope},Paint scope: {scope}, and one "… scope — click or press Shift to cycle" per verb.{count} below, instead of a number followed by a separatebelow, so translators control word order.editor.toolHint.*IDs came from the first six words of the English hint. A plugin hint whose opening matched a built-in hint would have taken the built-in's translation.editor.toolHint.cancel.<hash>), in the generator and the runtime lookup alike.<style>and<script>elements are code, not copy, sopoint-ask-layer.tsx'sCALM_CSSstylesheet is no longer baselined. There is a test.scripts/i18n.test.tsran Lingui over the whole repository, taking 45.8 s and 23.0 s. They now run the realcheck/extractcommands on a two-message temporary project viaI18N_ROOT, in 3.5 s and 2.6 s. The definition sidecar is skipped in a checkout without the built-in nodes.Undeclared renames stay warnings. A new ID that shares English with a removed reviewed ID is still reported as a possible rename in the console and job summary, not failed. Identical English can be an unrelated addition: #1169 alone had 31 strings shared across 64 IDs. A missed carry-over only falls back to English, and failing would push contributors toward marking translations
Review: humanwithout review. Declared renames (comment: 'renamed-from: <old id>') are still carried over byi18n:extractand enforced by CI.How to test
bun run i18n:check: passes and reports 727 drafts per locale (8 new paint-scope and{count} belowmessages, minus the 2 they replace).bun test ./scripts/i18n.test.ts: 9 pass in about 6 s.bun test ./scripts/i18n-literals.test.ts, including the new<style>/<script>case. That suite plus the helper and editor i18n tests: 57 pass.bun dev, then with?lang=frsearch the Build tab forwall: the wall tool is found.?lang=en-XA. The scope chip reads[Þáîñţ: … ~~], and its tooltip is one pseudo-localized message.Screenshots / screen recording
N/A — tooling and message-shape changes; the affected surfaces render as before.
Checklist
bun devbun checkto verify)mainbranchNote
Low Risk
Changes are limited to copy, search UX, and i18n tooling; hint ID renames refresh drafts but do not alter runtime business logic beyond safer translations.
Reviewed by Cursor Bugbot for commit 33cc104. Bugbot is set up for automated code reviews on this repo. Configure here.