Repository navigation
Put the stack figure in Spanish on the Spanish stack pages - #35
Merged
Merged
Conversation
The figure's Spanish, keyed by its English in es.json: every word on the machines, the tour, the panels, the tables and the caption, with the same geometry as the English figure. The build fails on a text with no Spanish. The Spanish stack overview describes the three machines and shows the figure, and the Spanish Simulation page shows it, wide, with how to read it; StackFigure picks the Spanish figure on the Spanish pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The seventh step: the figure in Spanish.
tools/figures/stack/es.json: the Spanish of every text, keyed by the English (names such as PostgreSQL or the sizes are kept on purpose, listed ines.mjs). The build fails on any text with no Spanish.src/figures/stack.es.html: generated withnode tools/figures/stack/build.mjs --es; the same geometry as the English one (306 solids), deterministic.src/components/StackFigure.astro: the Spanish figure on the Spanish pages, by the page's path under the site's base.es/guide/stack/overview.mdx) and Simulación (es/guide/stack/simulation.mdx): the three machines, the figure in place of the flat views, and how to read it. Same URLs.src/figures/embed.test.ts: the Spanish figure is Spanish and draws the same as the English.Verified locally: the kit's line check at all 19 stops in Spanish, dark and light:
line ends: 0at every stop;pnpm test(85 tests), both builds,scripts/check-public.sh.🤖 Generated with Claude Code