Repository navigation
docs(zh-CN): translate manifest appearance extensions - #2031
Conversation
Restore the missing Chinese manifest section for typed theme variables and host-rendered scenic Settings. Preserve the existing English contract so plugin authors can read its declaration and permission requirements in either locale. Related to vastsa#2000
|
Merged as \138a3312. Thanks! I verified against current \main\ before merging: the Chinese page really was missing the whole \Appearance extensions\ section while English had it at lines 3–18, and your translation covers all of it — the four typed declarations (\length/ Also appreciated: keeping this to one file and one concern, and saying explicitly why the English source needed no change. |
Related to #2000
The Chinese manifest specification skips the English
Appearance extensionssection. This adds its complete translation: the four typed theme-variable declarations, safe names and reserved prefixes, and the data-only scenic Settings contribution with its metadata, card bounds, permissions, and host-rendered controls.Sources checked
02-plugin-manifest-schema.md:3–10theme-variables.ts:1–47,plugin-runtime.ts:5493–550702-plugin-manifest-schema.md:12–18PluginScenicThemesContrib, manifest validation, host validation, Settings rendererOnly
docs/zh-CN/spec/07-plugins/02-plugin-manifest-schema.mdchanges. The English section already exists and needs no synchronization. Existing content and heading anchors are preserved. This is separate from #2029, which translates the API specification.Validation
git diff --checknode docs/scripts/check-locales.mjs— 86 locale pairs passednode docs/scripts/check-docs.mjs— 599 pages passed; existing advisory ADR notes onlynode scripts/check-agent-policy-sync.mjsnode scripts/check-pr-base-main.mjsnode docs/node_modules/vitepress/bin/vitepress.js build docs— passed using existing host dependenciesApplication tests and E2E were not run because this is a documentation-only translation.