Skip to content

Commit 6f6345f

Browse files
author
Zhicheng WANG
committed
docs: 基于其它部分的翻译,自动翻译完全相同的句子
1 parent caa5d02 commit 6f6345f

File tree

11 files changed

+29
-3
lines changed

11 files changed

+29
-3
lines changed

src/material/badge/testing/badge-harness.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class MatBadgeHarness extends ComponentHarness {
2626
*
2727
* @param options Options for narrowing the search:
2828
*
29-
* 缩小搜索范围的选项
29+
* 用来收窄搜索范围的选项
3030
*
3131
* - `text` finds a badge host with a particular text.
3232
*

src/material/bottom-sheet/testing/bottom-sheet-harness.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class MatBottomSheetHarness extends ContentContainerComponentHarness<stri
2828
*
2929
* @param options Options for narrowing the search.
3030
*
31-
* 缩小搜索范围的选项
31+
* 用来收窄搜索范围的选项
3232
*
3333
* @return a `HarnessPredicate` configured with the given options.
3434
*

src/material/expansion/testing/accordion-harness.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class MatAccordionHarness extends ComponentHarness {
2727
*
2828
* @param options Options for narrowing the search.
2929
*
30-
* 用来收窄搜索范围的选项
30+
* 用来收窄搜索范围的选项
3131
*
3232
* @return a `HarnessPredicate` configured with the given options.
3333
*

src/material/expansion/testing/expansion-harness.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ export class MatExpansionPanelHarness extends
4242
* with specific attributes.
4343
* @param options Options for narrowing the search:
4444
*
45+
* 用来收窄搜索范围的选项:
46+
*
4547
* - `title` finds an expansion-panel with a specific title text.
4648
* - `description` finds an expansion-panel with a specific description text.
4749
* - `expanded` finds an expansion-panel that is currently expanded.

src/material/sort/testing/sort-harness.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@ export class MatSortHarness extends ComponentHarness {
1616

1717
/**
1818
* Gets a `HarnessPredicate` that can be used to search for a `mat-sort` with specific attributes.
19+
*
20+
* 获取一个可用来使用指定属性搜索 `mat-sort` 的 `HarnessPredicate`。
21+
*
1922
* @param options Options for narrowing the search.
23+
*
24+
* 用来收窄搜索范围的选项。
25+
*
2026
* @return a `HarnessPredicate` configured with the given options.
2127
*
2228
* 用指定选项配置过的 `HarnessPredicate` 服务。

src/material/table/testing/cell-harness.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ export class MatCellHarness extends ContentContainerComponentHarness {
2020

2121
/**
2222
* Gets a `HarnessPredicate` that can be used to search for a table cell with specific attributes.
23+
*
24+
* 获取一个可用来使用指定属性搜索表格中单元格的 `HarnessPredicate`。
25+
*
2326
* @param options Options for narrowing the search
2427
* @return a `HarnessPredicate` configured with the given options.
2528
*

src/material/table/testing/row-harness.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ export class MatRowHarness extends ComponentHarness {
2222

2323
/**
2424
* Gets a `HarnessPredicate` that can be used to search for a table row with specific attributes.
25+
*
26+
* 获取一个可用来使用指定属性搜索表行的 `HarnessPredicate`。
27+
*
2528
* @param options Options for narrowing the search
2629
* @return a `HarnessPredicate` configured with the given options.
2730
*

src/material/table/testing/table-harness.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ export class MatTableHarness extends ContentContainerComponentHarness<string> {
3636

3737
/**
3838
* Gets a `HarnessPredicate` that can be used to search for a table with specific attributes.
39+
*
40+
* 获取一个可用来使用指定属性搜索表格的 `HarnessPredicate`。
41+
*
3942
* @param options Options for narrowing the search
4043
* @return a `HarnessPredicate` configured with the given options.
4144
*

src/material/tooltip/testing/tooltip-harness.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ export class MatTooltipHarness extends ComponentHarness {
2323
* Gets a `HarnessPredicate` that can be used to search
2424
* for a tooltip trigger with specific attributes.
2525
* @param options Options for narrowing the search.
26+
*
27+
* 用来收窄搜索范围的选项。
28+
*
2629
* @return a `HarnessPredicate` configured with the given options.
2730
*
2831
* 用指定选项配置过的 `HarnessPredicate` 服务。

src/material/tree/testing/node-harness.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ export class MatTreeNodeHarness extends ContentContainerComponentHarness<string>
2323

2424
/**
2525
* Gets a `HarnessPredicate` that can be used to search for a tree node with specific attributes.
26+
*
27+
* 获取一个可用来使用指定属性搜索树节点的 `HarnessPredicate`。
28+
*
2629
* @param options Options for narrowing the search
2730
* @return a `HarnessPredicate` configured with the given options.
2831
*

0 commit comments

Comments
 (0)