Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(cn): guide/extractions translation #15

Merged
merged 5 commits into from
May 30, 2021

Conversation

yangchaojun
Copy link
Contributor

guide/extractions 翻译

@yangchaojun
Copy link
Contributor Author

yangchaojun commented May 27, 2021

@ShenQingchuan
@antfu
@QC-L

烦请校对

@HerbertHe
Copy link
Collaborator

HerbertHe commented May 27, 2021

建议将所有的锚点改为小写~

翻译部分的锚点与原文档相对应~ extractions

@yangchaojun
Copy link
Contributor Author

建议将所有的锚点改为小写~

翻译部分的锚点与原文档相对应~ extractions

ok,已修改

@QC-L QC-L mentioned this pull request May 27, 2021
88 tasks

On dev server/build process started, Windi CSS will scan your source code and extract the utilities usages.
By default, it will scan for files under `src/` with extensions `vue, html, mdx, pug, jsx, tsx`.
在开发环境启动时,Windi CSS 将会扫描你的源码并提取出你使用的工具类。默认情况下,它会扫描在`src/`目录下扩展名为`vue, html, mdx, pug, jsx, tsx`的文件。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
在开发环境启动时,Windi CSS 将会扫描你的源码并提取出你使用的工具类。默认情况下,它会扫描在`src/`目录下扩展名为`vue, html, mdx, pug, jsx, tsx`的文件。
在开发环境启动时,Windi CSS 将会扫描你的源码并提取出你使用的工具类。默认情况下,它会扫描在 `src/` 目录下扩展名为 `vue, html, mdx, pug, jsx, tsx` 的文件。

@@ -92,7 +91,7 @@ export default defineConfig({
})
```

Or explicitly enables with safelisting
或者通过safelist进行指定
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
或者通过safelist进行指定
或者通过 safelist 进行指定

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

看下排版

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

safelist 这个词的翻译在讨论中 comment

guide/extractions.md Outdated Show resolved Hide resolved
guide/extractions.md Outdated Show resolved Hide resolved
@QC-L QC-L merged commit 6de89d9 into windicss:main May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants