Skip to content

0.2.1

Choose a tag to compare

@Loewe1000 Loewe1000 released this 04 May 21:34
· 91 commits to main since this release
Add language option to Scratch components

Introduce a configurable language option across Scratch libs: api.typ, interpreter.typ, and run.typ. language is now supported as an option (defaulting to auto) and is stored in/resolved from options (falling back to "en" when needed). Propagate the resolved language into parsing, rendering and execution paths (_generic-parse/_generic-render/execute-scratch-text) and update run imports to access blockst-run-options. Also change scratch() and stage/grid helpers to accept language: auto and resolve it from global options when not explicitly provided.