Skip to content

Commit

Permalink
Update package.nls.zh-cn.json (prettier#2556)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbunker authored Jun 9, 2022
1 parent d106572 commit d832563
Showing 1 changed file with 30 additions and 18 deletions.
48 changes: 30 additions & 18 deletions package.nls.zh-cn.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,33 @@
{
"ext.config.title": "Prettier - 代码格式化配置",
"ext.config.disableLanguages": "用于禁用此扩展的语言ID列表",
"ext.config.requireConfig": "需要 prettier configuration 来格式化",
"ext.config.ignorePath": ".prettierignore或类似文件的路径",
"ext.config.printWidth": "指定每行代码的最佳长度, 如果超出长度则换行。",
"ext.config.tabWidth": "每个制表符占用的空格数",
"ext.config.singleQuote": "如果为 true,将使用单引号而不是双引号",
"ext.config.trailingComma": "尽可能控制尾随逗号的输出。\n有效选项:\n'无' - 无尾随逗号\n' es5' - 在ES5中有效的尾随逗号(对象,数组等)\n 'all' - 尾随逗号 尽可能(函数参数)",
"ext.config.bracketSpacing": "控制对象字面量的空格输出",
"ext.config.jsxBracketSameLine": "如果为 true,则将多行jsx元素的 `>` 放在最后一行的末尾,而不是单独放在下一行",
"ext.config.parser": "覆盖解析器。 您不必更改此设置。",
"ext.config.semi": "是否在每行末尾添加分号",
"ext.config.useTabs": "使用制表符(tab)缩进",
"ext.command.createConfigFile.title": "Prettier - 选择配置方案文件",
"ext.command.forceFormatDocument.title": "格式化整个文件",
"ext.config.arrowParens": "是否在箭头函数仅有一个参数时也给参数加上括号",
"ext.config.bracketSpacing": "是否在括号内添加空格",
"ext.config.configPath": "指定 prettier 配置方案文件的路径,设置该项后将始终忽略本地配置文件使用该路径的配置方案,",
"ext.config.documentSelectors": "指定一个 [glob patterns](https://code.visualstudio.com/api/references/vscode-api#GlobPattern) 列表在匹配的文件中启用 prettier",
"ext.config.endOfLine": "指定文件结尾换行符",
"ext.config.htmlWhitespaceSensitivity": "指定 HTML 标签中空格的处理方式。选项: `css` - 将块级元素中的空格进行格式化、 `strict` - 所有空格都不格式化、 `ignore`- 所有空格格式化",
"ext.config.ignorePath": ".prettierignore 或类似文件的路径",
"ext.config.insertPragma": "是否自动插入 `@format` 的特殊注释,以表明改文件已经被 Prettier 格式化过了",
"ext.config.jsxBracketSameLine": "是否将有多个属性的 jsx 标签的 `>` 放在最后一个属性的末尾,而不是另起一行",
"ext.config.jsxSingleQuote": "是否在 JSX 中使用单引号而不是双引号",
"ext.config.prettierPath": "指定 prettier 要使用的 `node_module`的路径,如`./node_modules/prettier`",
"ext.config.printWidth": "指定每行代码的最佳长度,如果超出该长度则格式化",
"ext.config.proseWrap": "(Markdown)将散文包含在多行中",
"ext.config.arrowParens": "当箭头函数仅有一个参数时加上括号",
"ext.config.jsxSingleQuote": "在JSX中使用单引号而不是双引号",
"ext.config.htmlWhitespaceSensitivity": "指定HTML文件的全局空白区域敏感度。\n有效选项:\n 'css' - 尊重CSS显示属性的默认值。 \n 'strict' - 空格被认为是敏感的。 \n 'ignore' - 空格被认为是不敏感的。",
"ext.config.endOfLine": "指定 prettier 的换行符",
"ext.config.quoteProps": "Change when properties in objects are quoted"
"ext.config.quoteProps": "指定 object的 key 添加引号的方式。选项: `as-needed` - 只有在需求要的情况下加引号、 `consistent` - 有一个需要引号就给其他都统一加上、 `preserve` - 保留用户输入的引号",
"ext.config.requireConfig": "是否使用 prettier configuration 来格式化。 文档链接 [documentation for valid configuration files](https://prettier.io/docs/en/configuration.html) 。即使该项被设置 true,未命名文件仍会使用 VS Code 设置中的配置方案进行格式化",
"ext.config.requirePragma": "是否只对有特定开头编译指示(如 `@format` )的文件进行格式化",
"ext.config.resolveGlobalModules": "是否在当前 `node_modules` 无法解析时使用全局 `node_modules` 。可能造成性能上的影响",
"ext.config.withNodeModules": "是否允许 prettier 格式化 `node_modules` 中的文件",
"ext.config.semi": "是否在每行末尾添加分号",
"ext.config.singleQuote": "是否使用单引号而不是双引号",
"ext.config.tabWidth": "指定每个制表符占用的空格数",
"ext.config.title": "Prettier",
"ext.config.trailingComma": "指定添加尾随逗号的方式。选项:`none` - 无尾随逗号、 `es5` - 在 ES5 中有效的尾随逗号(如对象与数组等)、 `all` - 尽可能添加尾随逗号(如函数参数)",
"ext.config.useEditorConfig": "是否启用`.editorconfig`中的配置方案。查看文档 [prettier.resolveConfig](https://prettier.io/docs/en/api.html)获取更多",
"ext.config.useTabs": "是否使用 tab 缩进,而不是空格缩进",
"ext.config.vueIndentScriptAndStyle": "是否缩进 Vue 的 `<script>` 和 `<style>` 标签。可能会影响到编辑器的代码折叠功能",
"ext.config.embeddedLanguageFormatting": "是否对被引号包裹的代码使用智能格式化",
"ext.config.enable": "是否启用 prettier,更改后需要重启 VS Code",
"ext.config.enableDebugLogs": "是否启用调试日志"
}

0 comments on commit d832563

Please sign in to comment.