Skip to content

Commit 9984fbe

Browse files
authored
Merge pull request #2781 from XeroAlpha/i18n-zh-update
Update Chinese translations
2 parents 286c228 + f353650 commit 9984fbe

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/lib/internationalization/locales/zh.cts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ export = localeUtils.buildIncompleteTranslation({
307307
help_headings: "确定标题是否需要被渲染",
308308
help_sluggerConfiguration: "确定渲染的 HTML 中锚点的确定方式",
309309
help_navigation: "确定导航侧边栏的组织方式",
310+
help_includeHierarchySummary:
311+
"如果设置,反射的层级一览将被渲染至概述页面。默认为 `true`",
310312
help_visibilityFilters:
311313
"根据修饰符标签指定内置过滤器和附加过滤器的默认可见性",
312314
help_searchCategoryBoosts: "配置搜索以提高所选类别的相关性",
@@ -459,6 +461,8 @@ export = localeUtils.buildIncompleteTranslation({
459461
theme_type_declaration: "类型声明",
460462
theme_index: "索引",
461463
theme_hierarchy: "层级",
464+
theme_hierarchy_summary: "层级一览",
465+
theme_hierarchy_view_summary: "查看层级一览",
462466
theme_implemented_by: "实现于",
463467
theme_defined_in: "定义于",
464468
theme_implementation_of: "实现了",
@@ -487,6 +491,8 @@ export = localeUtils.buildIncompleteTranslation({
487491
theme_copy: "复制",
488492
theme_copied: "已复制!",
489493
theme_normally_hidden: "由于您的过滤器设置,该成员已被隐藏。",
494+
theme_hierarchy_expand: "展开",
495+
theme_hierarchy_collapse: "折叠",
490496

491497
tag_defaultValue: "默认值",
492498
tag_deprecated: "已被弃用",

src/test/Repository.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ describe("Repository", function () {
137137

138138
git(project.cwd, "init", "-b", "test");
139139
git(project.cwd, "add", ".");
140-
git(project.cwd, "commit", "-m", "Test commit");
140+
git(project.cwd, "commit", "-m", "Test commit", "--no-gpg-sign");
141141
git(
142142
project.cwd,
143143
"remote",
@@ -181,7 +181,7 @@ describe("RepositoryManager - git enabled", () => {
181181
function createRepo(path: string) {
182182
git(path, "init", "-b", "test");
183183
git(path, "add", ".");
184-
git(path, "commit", "-m", "Test commit");
184+
git(path, "commit", "-m", "Test commit", "--no-gpg-sign");
185185
}
186186

187187
fix = tempdirProject();

0 commit comments

Comments
 (0)