Repository navigation
[Maintainer] i18n: migrate the column, chimney and elevator inspectors - #1182
Conversation
Option arrays become lazy descriptors and the option cards wrap instead of truncating; chimney preset names are translated at display time. New audit surfaces column-panel and chimney-panel.
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1d6d7046ee
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <option value=""> | ||
| {i18n._({ id: 'node.column.panel.applyPreset', message: 'Apply preset...' })} | ||
| </option> |
There was a problem hiding this comment.
Localize the actual column preset choices
When the editor uses a non-English locale and the user opens this dropdown, only the new “Apply preset…” placeholder is localized; each choice below still renders option.label directly from the English-only COLUMN_PRESETS data (Straight Round, Square Block, etc.). Define UI-language descriptors for those preset names, as this change already does for chimney presets, and translate them with i18n._ when rendering the options.
Useful? React with 👍 / 👎.
|
Tooling cross-review at 87050df: APPROVE No P0/P1/P2.
Findings
Checks run locally (Node 22; core and nodes dist rebuilt at this head):
CI at this SHA: Changed paths, quality, cli-smoke and Cursor Bugbot all succeeded. |
Conflicts in the compiled en and en-XA catalogs and the literal baseline are regenerated with i18n:extract, i18n:literals update and i18n:compile. i18n/pseudo-surfaces.ts keeps both sides: the kitchen and structures scenes and every surface, without duplicates.
|
Tooling cross-review at 09e91b8: APPROVE This is a delta check since 87050df. No findings.
|
What does this PR do?
Localizes the column, chimney and elevator inspectors. Part of #621.
main(4772056, with #1180 and #1181) is merged in with a normal merge commit. The compiled en and en-XA catalogs and the literal baseline were regenerated withi18n:extract,i18n:literals updateandi18n:compile.i18n/pseudo-surfaces.tskeeps both sides' scenes and surfaces, without duplicates. Reviewed entries stay at 85 per locale, andrelease-checkfinds no draft compiled in. Stored scene data is unchanged.COLUMN_PRESETSandCHIMNEY_PRESET_LABELSstay English.column-panelandchimney-panelsurfaces. They run on the furnished project with a seeded column and a chimney on the roof segment. The elevator has no surface: elevators belong to the building, the layers panel doesn't list them, and they can only be selected in the viewport.fuzzywithReview: required, so they show English until reviewed. The literal baseline drops by 188, from 1,139 onmainto 951.Dormer, skylight and solar panel are in #1183, to keep each PR reviewable.
How to test
bun run i18n:checkpasses after the merge, with 2,989 entries per locale awaiting review.bun scripts/i18n.ts release-check --base origin/mainpasses too.bun devwith?lang=en-XA. Select a column, a chimney and an elevator: every inspector is bracketed and accented, the option cards wrap, and the column preset dropdown's choices are localized.bunx turbo run build --filter=@pascal-app/nodes(the app loads nodes fromdist), thenbun run i18n:pseudo-audit -- column-panel chimney-panel: both pass. I ran this. The audit doesn't open the native preset<select>.packages/nodes: 5,027 pass, 1 skip.packages/editorbun test src: 2,704 pass.apps/editorbun test lib: 74 pass.bun test scripts/: 131 pass.bun run checkreports no errors.Still English after this PR
Screenshots / screen recording
en-XA, captured byi18n:pseudo-audit(UTC, metric). The images are served from the image-only branchcursor/i18n-audit-screenshots-8160, which is never merged.Column (support styles wrap rather than truncate):

Chimney:

Checklist
bun devbun checkto verify)mainbranchNote
Low Risk
Display-only i18n wiring and catalog updates; scene data and preset keys are unchanged, with regression coverage via pseudo-audit for column and chimney.
Reviewed by Cursor Bugbot for commit 09e91b8. Bugbot is set up for automated code reviews on this repo. Configure here.