i18n: extend component locales in story (#2563)
## Summary - upgrade to rust-i18n 4.2.0 and register Story locales with `extend!(gpui_component)` - add French Calendar and DatePicker translations as a Story-only extension - keep the component’s built-in Italian and Traditional Chinese locales unchanged - add French to the Story language menu and cover extension fallback behavior with a test - document custom I18n setup, namespace rules, override priority, and locale selection in English and Simplified Chinese This uses rust-i18n’s locale extension mechanism to address the customization requirement discussed in #2548 without adding every downstream locale to gpui-component itself. Refs #2548 ## Test Plan - `cargo test -p gpui-component-story` - `git diff --check` - `bun run build` *(blocked by the current Bun/Vite Vue runtime: `crypto.hash is not a function` while compiling the existing `contributors.md`)* --------- Co-authored-by: Codex <codex@openai.com>
J
Jason Lee committed
c467a74f5c1288daa4e080924765b55a7f433619
Parent: 00bf66d
Committed by GitHub <noreply@github.com>
on 7/13/2026, 7:44:22 AM