v2.0.1 — language switching fix
Fixes
- Language switching: after switching away from Russian, selecting «Русский» again did nothing. Root cause: Zod locale schemas (
enum(["zh-CN","en-US"])andenum(["system","zh-CN","en-US"])) are duplicated in every bundle layer — renderer (incl. the locale dispatcher), host, scheduler, and 5 preload bridges. All copies now patched (11 files).
Also
- Documented: automation template names/descriptions (Morning dev brief, Risk scan, …) come from the Z.ai backend as data and cannot be localized by a client-side pack — needs upstream (see README).
Install / update:
bash <(curl -fsSL https://raw.githubusercontent.com/warment/zcode-ru/v2.0.1/tools/install.sh)Restore: bash install.sh --restore. Targets ZCode 3.10.1.