Skip to content

Commit ed87500

Browse files
authored
docs: fix typo in en docs (#6805)
1 parent c016301 commit ed87500

File tree

10 files changed

+18
-18
lines changed

10 files changed

+18
-18
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ English | [简体中文](./README-zh_CN.md)
3939

4040
## Using npm or yarn
4141

42-
**We recommend using npm or yarn to install**it not only makes development easierbut also allow you to take advantage of the rich ecosystem of Javascript packages and tooling.
42+
**We recommend using npm or yarn to install**, it not only makes development easier, but also allow you to take advantage of the rich ecosystem of Javascript packages and tooling.
4343

4444
```bash
4545
$ npm install ant-design-vue --save
@@ -49,7 +49,7 @@ $ npm install ant-design-vue --save
4949
$ yarn add ant-design-vue
5050
```
5151

52-
If you are in a bad network environmentyou can try other registries and tools like [cnpm](https://github.com/cnpm/cnpm).
52+
If you are in a bad network environment, you can try other registries and tools like [cnpm](https://github.com/cnpm/cnpm).
5353

5454
## Links
5555

components/calendar/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ customize the progress dot by setting a scoped slot
3838
| monthFullCellRender | Customize the display of the month cell by setting a scoped slot, the returned content will override the cell | v-slot:monthFullCellRender="{current: dayjs}" | - | |
3939
| validRange | to set valid range | \[[dayjs](https://day.js.org/), [dayjs](https://day.js.org/)] | - | |
4040
| value(v-model) | The current selected date | [dayjs](https://day.js.org/) | current date | |
41-
| valueFormat | optional, format of binding value. If not specified, the binding value will be a Date object | string[date formats](https://day.js.org/docs/en/display/format) | - | |
41+
| valueFormat | optional, format of binding value. If not specified, the binding value will be a Date object | string, [date formats](https://day.js.org/docs/en/display/format) | - | |
4242

4343
### events
4444

components/cascader/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Cascade selection box.
4545
| placeholder | input placeholder | string | 'Please select' | |
4646
| placement | Use preset popup align config from builtinPlacements | `bottomLeft` \| `bottomRight` \| `topLeft` \| `topRight` | `bottomLeft` | 3.0 |
4747
| removeIcon | The custom remove icon | slot | - | 3.2 |
48-
| searchValue | Set search valueNeed work with `showSearch` | string | - | 3.0 |
48+
| searchValue | Set search value, Need work with `showSearch` | string | - | 3.0 |
4949
| showSearch | Whether show search input in single mode. | boolean \| [object](#showsearch) | false | |
5050
| size | input size | `large` \| `default` \| `small` | `default` | |
5151
| status | Set validation status | 'error' \| 'warning' | - | 3.3.0 |

components/date-picker/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The following APIs are shared by DatePicker, RangePicker.
103103
| suffixIcon | The custom suffix icon | v-slot:suffixIcon | - | |
104104
| superNextIcon | The custom super next icon | slot | - | 3.0 |
105105
| superPrevIcon | The custom super prev icon | slot | - | 3.0 |
106-
| valueFormat | optional, format of binding value. If not specified, the binding value will be a Date object | string[date formats](https://day.js.org/docs/en/display/format) | - | |
106+
| valueFormat | optional, format of binding value. If not specified, the binding value will be a Date object | string, [date formats](https://day.js.org/docs/en/display/format) | - | |
107107

108108
### Common Events
109109

components/slider/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To input a value in a range.
2020
| disabled | If true, the slider will not be intractable. | boolean | false | |
2121
| dots | Whether the thumb can drag over tick only. | boolean | false | |
2222
| handleStyle | The style of slider handle | CSSProperties | - | |
23-
| included | Make effect when `marks` not null`true` means containment and `false` means coordinative | boolean | true | |
23+
| included | Make effect when `marks` not null, `true` means containment and `false` means coordinative | boolean | true | |
2424
| mark | Custom tick mark of Slider, | v-slot:mark | { point: number, label: any } | 3.0 |
2525
| marks | Tick mark of Slider, type of key must be `number`, and must in closed interval \[min, max], each mark can declare its own style. | object | { number: string\|VNode } or { number: { style: object, label: string\|VNode } } or { number: () => VNode } | |
2626
| max | The maximum value the slider can slide to | number | 100 | |

components/table/index.en-US.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Specify `dataSource` of Table as an array of data.
7575
| childrenColumnName | The column contains children to display | string | `children` | |
7676
| columns | Columns of table [config](#column) | array | - | |
7777
| components | Override default table elements | object | - | |
78-
| customFilterDropdown | Customized filter overlayneed set `column.customFilterDropdown` | v-slot:customFilterDropdown="[FilterDropdownProps](#filterdropdownprops)" | - | 3.0 |
78+
| customFilterDropdown | Customized filter overlay, need set `column.customFilterDropdown` | v-slot:customFilterDropdown="[FilterDropdownProps](#filterdropdownprops)" | - | 3.0 |
7979
| customFilterIcon | Customized filter icon | v-slot:customFilterIcon="{filtered, column}" | - | 3.0 |
8080
| customHeaderRow | Set props on per header row | Function(columns, index) | - | |
8181
| customRow | Set props on per row | Function(record, index) | - | |
@@ -154,7 +154,7 @@ One of the Table `columns` prop for describing the table's columns, Column has t
154154
| align | specify how content is aligned | 'left' \| 'right' \| 'center' | 'left' | |
155155
| colSpan | Span of this column's title | number | | |
156156
| customCell | Set props on per cell | Function(record, rowIndex, column) | - | column add from 3.0 |
157-
| customFilterDropdown | use v-slot:customFilterDropdownPriority is lower than filterDropdown | boolean | false | 3.0 |
157+
| customFilterDropdown | use v-slot:customFilterDropdown, Priority is lower than filterDropdown | boolean | false | 3.0 |
158158
| customHeaderCell | Set props on per header cell | Function(column) | - | |
159159
| customRender | Renderer of the table cell. The return value should be a VNode | Function({text, record, index}) {} | - | |
160160
| dataIndex | Display field of the data record, support nest path by string array | string \| string\[] | - | |

components/tabs/index.en-US.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Ant Design has 3 types of Tabs for different situations.
6262

6363
### Tabs.TabPane Slots
6464

65-
| 插槽名称 | 说明 | 参数 |
66-
| --------- | ----------------------------------------------- | ---- |
67-
| closeIcon | 自定义关闭图标,`type="editable-card"`时有效 | - |
68-
| tab | Show text in TabPane's head | - |
65+
| Slot Name | Description | Arguments |
66+
| --------- | ------------------------------------------------------------- | --------- |
67+
| closeIcon | Customize close icon, Only works while `type="editable-card"` | - |
68+
| tab | Show text in TabPane's head | - |

components/time-picker/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ By clicking the input box, you can select a time from a popup panel.
4040
| suffixIcon | The custom suffix icon | v-slot:suffixIcon | - | |
4141
| use12Hours | Display as 12 hours format, with default format `h:mm:ss a` | boolean | false | |
4242
| value(v-model) | To set time | [dayjs](https://day.js.org/) | - | |
43-
| valueFormat | optional, format of binding value. If not specified, the binding value will be a Date object | string[date formats](https://day.js.org/docs/en/display/format) | - | |
43+
| valueFormat | optional, format of binding value. If not specified, the binding value will be a Date object | string, [date formats](https://day.js.org/docs/en/display/format) | - | |
4444

4545
#### DisabledTime
4646

site/src/vueDocs/compatible-style.en-US.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Ant Design Vue supports the last 2 versions of modern browsers. If you need to b
1010
Ant Design Vue default using CSS-in-JS with `:where` Selector to reduce priority to avoid user additional adjust style cost when updating. If you want to support old browser (or some other CSS framework selector priority conflict like TailwindCSS), you can use `StyleProvider` to adjust this behavior :
1111

1212
```html
13-
// `hashPriority` 默认为 `low`,配置为 `high` 后, // 会移除 `:where` 选择器封装
13+
// Config `hashPriority` to `high` instead of default `low`, which will remove `:where` wrapper
1414
<template>
1515
<a-style-provider hash-priority="high">
1616
<MyApp />
@@ -31,14 +31,14 @@ Note:
3131

3232
1、After turning off the `:where` downgrade, you may need to manually adjust the priority of some styles.
3333

34-
2、hashPriority not support changeyou can reload for new value.
34+
2、hashPriority not support change, you can reload for new value.
3535

3636
### CSS Logical Properties
3737

3838
To unify LTR and RTL styles, Ant Design Vue uses CSS logical properties. For example, the original `margin-left` is replaced by `margin-inline-start`, so that it is the starting position spacing under both LTR and RTL. If you need to be compatible with older browsers, you can configure `transformers` through the `StyleProvider` of `@ant-design/cssinjs`:
3939

4040
```html
41-
// `transformers` 提供预处理功能将样式进行转换
41+
// `transformers` provides a way to transform CSS properties
4242
<template>
4343
<a-style-provider :transformers="[legacyLogicalPropertiesTransformer]">
4444
<MyApp />

site/src/vueDocs/introduce.en-US.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ You can subscribe to this feed for new version notifications: <https://github.co
4646

4747
### Using npm or yarn
4848

49-
**We recommend using npm or yarn to install**it not only makes development easierbut also allow you to take advantage of the rich ecosystem of Javascript packages and tooling.
49+
**We recommend using npm or yarn to install**, it not only makes development easier, but also allow you to take advantage of the rich ecosystem of Javascript packages and tooling.
5050

5151
```bash
5252
$ npm install [email protected] --save
@@ -56,7 +56,7 @@ $ npm install [email protected] --save
5656
5757
```
5858

59-
If you are in a bad network environmentyou can try other registries and tools like [cnpm](https://github.com/cnpm/cnpm).
59+
If you are in a bad network environment, you can try other registries and tools like [cnpm](https://github.com/cnpm/cnpm).
6060

6161
### Import in Browser
6262

0 commit comments

Comments
 (0)