diff --git a/README.md b/README.md index 80246af6..4c52385a 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Vite (法语意为 “迅速”,发音 /vit/)是一种全新的前端构 ## 📝 如何参与贡献 -目前 Vite 中文文档处于 v6 版本,内容 **每日** 根据英文文档同步更新。 +目前 Vite 中文文档处于 v7 版本,内容 **每日** 根据英文文档同步更新。 **工作流介绍:** 英文文档的所在 [请点击此链接](https://github.com/vitejs/vite/tree/main/docs),我们会每天拉取英文版文档内容的更新到 sync-docs 分支,并由印记中文 bot 自动发起 Pull Request,解决 Git 冲突并翻译内容。 diff --git a/_data/team.js b/_data/team.js index 72096ab0..00b45b46 100644 --- a/_data/team.js +++ b/_data/team.js @@ -233,4 +233,27 @@ export const cnTranslator = [ { icon: 'twitter', link: 'https://twitter.com/ShenQingchuan' } ], }, + { + avatar: 'https://www.github.com/thinkasany.png', + name: 'thinkasany', + title: '前端开发者', + org: '', + orgLink: '', + desc: 'Vite 团队中文翻译维护者 & Antd 成员', + links: [ + { icon: 'github', link: 'https://github.com/thinkasany' }, + { icon: 'twitter', link: 'https://twitter.com/thinkasany' } + ], + }, + { + avatar: 'https://www.github.com/waynzh.png', + name: 'Wayne Zhang', + title: '前端开发者', + org: '', + orgLink: '', + desc: 'Vite 团队中文翻译维护者', + links: [ + { icon: 'github', link: 'https://github.com/waynzh' }, + ], + }, ] diff --git a/guide/api-plugin.md b/guide/api-plugin.md index f3a272e2..ced3f45a 100644 --- a/guide/api-plugin.md +++ b/guide/api-plugin.md @@ -564,13 +564,13 @@ export default function myPlugin() { return { name: 'my-plugin', - // Example: only call transform for .js files + // 例如:仅调用 .js 的文件的 transform transform: { filter: { id: jsFileRegex, }, handler(code, id) { - // Additional check for backward compatibility + // 额外的向后兼容性检查 if (!jsFileRegex.test(id)) return null return {