-
-
Notifications
You must be signed in to change notification settings - Fork 114
docs(cli): correctin translation errors in guide/cli and guide/cli-generated #825
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(cli): correctin translation errors in guide/cli and guide/cli-generated #825
Conversation
✅ Deploy Preview for cn-vitest ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| 将仅运行路径中包含 `foobar` 的测试文件。 此过滤器仅检查包含,不支持正则表达式或 glob 模式(除非你的终端在 Vitest 接收过滤器之前对其进行处理)。 | ||
|
|
||
| 从 Vitest 3 开始,您还可以通过文件名和行号指定测试: | ||
| 自 vitest 3 起,你还可以通过文件名和行号指定测试: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
运行指定测试
| - **命令行终端:** `--diff.omitAnnotationLines` | ||
| - **配置:** [diff.omitAnnotationLines](/config/#diff-omitannotationlines) | ||
|
|
||
| 省略输出中的注释 (默认值: `false`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
注释行
| - **命令行终端:** `--diff.maxDepth <maxDepth>` | ||
| - **配置:** [diff.maxDepth](/config/#diff-maxdepth) | ||
|
|
||
| 嵌套对象打印的最深深度 (默认值: `20`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
打印嵌套对象时,最大递归深度 (默认值: 20)
| - **命令行终端:** `--diff.emptyFirstOrLastLinePlaceholder <placeholder>` | ||
| - **配置:** [diff.emptyFirstOrLastLinePlaceholder](/config/#diff-emptyfirstorlastlineplaceholder) | ||
|
|
||
| 空的第一行或最后一行的占位符 (默认值: `""`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
空首行或空末行的占位符 (默认值: "")
| - **命令行终端:** `--diff.contextLines <lines>` | ||
| - **配置:** [diff.contextLines](/config/#diff-contextlines) | ||
|
|
||
| 每次更改内容上下显示的上下文行数 (默认值: `5`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
每次变更显示上下文行数 (默认值: 5)
| - **配置:** [browser.trace](/guide/browser/config#browser-trace) | ||
|
|
||
| 开启追踪视图模式。 可选项: "on", "off", "on-first-retry", "on-all-retries", "retain-on-failure"。 | ||
| 开启追踪视图模式。 可选项: "on", "off", "on-first-retry", "on-all-retries", "retain-on-failure" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
开启 变更为 启用
在提交PR之前,请确保您执行以下操作:
fixes #123)。描述
修改了 guide/cli 和 guide/cli-generated 中的错误翻译以及将全文句末的句号去除
附加上下文