mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
fix: change Ok
to OK
(#32259)
* 修复AutoComplete组件allowClear属性的说明有歧义的问题 * fix: change Ok to OK * update jest snapshot Co-authored-by: chj_damon <chjdamon@gmail.com>
This commit is contained in:
parent
13cd24f37b
commit
e7f5030f2b
@ -6,7 +6,7 @@
|
|||||||
"today": "Today",
|
"today": "Today",
|
||||||
"now": "Now",
|
"now": "Now",
|
||||||
"backToToday": "Back to today",
|
"backToToday": "Back to today",
|
||||||
"ok": "Ok",
|
"ok": "OK",
|
||||||
"clear": "Clear",
|
"clear": "Clear",
|
||||||
"month": "Month",
|
"month": "Month",
|
||||||
"year": "Year",
|
"year": "Year",
|
||||||
|
@ -11,7 +11,7 @@ const locale: PickerLocale = {
|
|||||||
today: 'Hoje',
|
today: 'Hoje',
|
||||||
now: 'Agora',
|
now: 'Agora',
|
||||||
backToToday: 'Hoje',
|
backToToday: 'Hoje',
|
||||||
ok: 'Ok',
|
ok: 'OK',
|
||||||
clear: 'Limpar',
|
clear: 'Limpar',
|
||||||
month: 'Mês',
|
month: 'Mês',
|
||||||
year: 'Ano',
|
year: 'Ano',
|
||||||
|
@ -10,7 +10,7 @@ const locale: PickerLocale = {
|
|||||||
today: 'Danes',
|
today: 'Danes',
|
||||||
now: 'Trenutno',
|
now: 'Trenutno',
|
||||||
backToToday: 'Nazaj na trenutni datum',
|
backToToday: 'Nazaj na trenutni datum',
|
||||||
ok: 'Ok',
|
ok: 'OK',
|
||||||
clear: 'Počisti',
|
clear: 'Počisti',
|
||||||
month: 'Mesec',
|
month: 'Mesec',
|
||||||
year: 'Leto',
|
year: 'Leto',
|
||||||
|
@ -35804,7 +35804,7 @@ exports[`Locale Provider should display the text as cs 1`] = `
|
|||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
Ok
|
OK
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@ -37368,7 +37368,7 @@ exports[`Locale Provider should display the text as cs 1`] = `
|
|||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
Ok
|
OK
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@ -242578,7 +242578,7 @@ exports[`Locale Provider should display the text as pt 1`] = `
|
|||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
Ok
|
OK
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
@ -267948,7 +267948,7 @@ exports[`Locale Provider should display the text as sl 1`] = `
|
|||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
Ok
|
OK
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
|
@ -29,12 +29,12 @@ const localeValues: Locale = {
|
|||||||
cancelSort: 'Klikni pro zrušení řazení',
|
cancelSort: 'Klikni pro zrušení řazení',
|
||||||
},
|
},
|
||||||
Modal: {
|
Modal: {
|
||||||
okText: 'Ok',
|
okText: 'OK',
|
||||||
cancelText: 'Storno',
|
cancelText: 'Storno',
|
||||||
justOkText: 'Ok',
|
justOkText: 'OK',
|
||||||
},
|
},
|
||||||
Popconfirm: {
|
Popconfirm: {
|
||||||
okText: 'Ok',
|
okText: 'OK',
|
||||||
cancelText: 'Storno',
|
cancelText: 'Storno',
|
||||||
},
|
},
|
||||||
Transfer: {
|
Transfer: {
|
||||||
|
@ -19,7 +19,7 @@ const localeValues: Locale = {
|
|||||||
},
|
},
|
||||||
Table: {
|
Table: {
|
||||||
filterTitle: 'Фильтр',
|
filterTitle: 'Фильтр',
|
||||||
filterConfirm: 'Ok',
|
filterConfirm: 'OK',
|
||||||
filterReset: 'Тазарту',
|
filterReset: 'Тазарту',
|
||||||
filterEmptyText: 'Фильтр жоқ',
|
filterEmptyText: 'Фильтр жоқ',
|
||||||
emptyText: 'Деректер жоқ',
|
emptyText: 'Деректер жоқ',
|
||||||
|
@ -27,7 +27,7 @@ const localeValues: Locale = {
|
|||||||
},
|
},
|
||||||
Table: {
|
Table: {
|
||||||
filterTitle: 'Cari dengan tajuk',
|
filterTitle: 'Cari dengan tajuk',
|
||||||
filterConfirm: 'Ok',
|
filterConfirm: 'OK',
|
||||||
filterReset: 'Menetapkan semula',
|
filterReset: 'Menetapkan semula',
|
||||||
emptyText: 'Tiada data',
|
emptyText: 'Tiada data',
|
||||||
selectAll: 'Pilih semua',
|
selectAll: 'Pilih semua',
|
||||||
|
@ -26,7 +26,7 @@ describe('TimePicker', () => {
|
|||||||
resetWarned();
|
resetWarned();
|
||||||
const addon = () => (
|
const addon = () => (
|
||||||
<button className="my-btn" type="button">
|
<button className="my-btn" type="button">
|
||||||
Ok
|
OK
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
const wrapper = mount(<TimePicker addon={addon} open />);
|
const wrapper = mount(<TimePicker addon={addon} open />);
|
||||||
|
@ -32,7 +32,7 @@ class TimePickerAddonDemo extends React.Component {
|
|||||||
onOpenChange={this.handleOpenChange}
|
onOpenChange={this.handleOpenChange}
|
||||||
renderExtraFooter={() => (
|
renderExtraFooter={() => (
|
||||||
<Button size="small" type="primary" onClick={this.handleClose}>
|
<Button size="small" type="primary" onClick={this.handleClose}>
|
||||||
Ok
|
OK
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
@ -62,7 +62,7 @@ Add `antd/dist/antd.css` at the top of `src/App.css`.
|
|||||||
@import '~antd/dist/antd.css';
|
@import '~antd/dist/antd.css';
|
||||||
```
|
```
|
||||||
|
|
||||||
Ok, reboot with `yarn start`, you should now see a blue primary button displayed on the page. Next you can choose any components of `antd` to develop your application. Visit other workflows of `create-react-app` at it's [User Guide](https://create-react-app.dev/docs/getting-started#creating-a-typescript-app).
|
OK, reboot with `yarn start`, you should now see a blue primary button displayed on the page. Next you can choose any components of `antd` to develop your application. Visit other workflows of `create-react-app` at it's [User Guide](https://create-react-app.dev/docs/getting-started#creating-a-typescript-app).
|
||||||
|
|
||||||
`antd` is written in TypeScript with complete definitions, try out and enjoy the property suggestion and typing check.
|
`antd` is written in TypeScript with complete definitions, try out and enjoy the property suggestion and typing check.
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ Add `antd/dist/antd.css` at the top of `src/App.css`.
|
|||||||
@import '~antd/dist/antd.css';
|
@import '~antd/dist/antd.css';
|
||||||
```
|
```
|
||||||
|
|
||||||
Ok, you should now see a blue primary button displayed on the page. Next you can choose any components of `antd` to develop your application. Visit other workflows of `create-react-app` at its [User Guide](https://create-react-app.dev/docs/getting-started).
|
OK, you should now see a blue primary button displayed on the page. Next you can choose any components of `antd` to develop your application. Visit other workflows of `create-react-app` at its [User Guide](https://create-react-app.dev/docs/getting-started).
|
||||||
|
|
||||||
We are successfully running antd components now, go build your own application!
|
We are successfully running antd components now, go build your own application!
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ As Alan Cooper states:「Where there is output, let there be input」. This is
|
|||||||
|
|
||||||
## In-Page Editing
|
## In-Page Editing
|
||||||
|
|
||||||
<img class="preview-img" align="right" alt="Example of click to edit" description="Status 1: Common browsing mode, do not distinguish between editable and non-editable lines;<br>Status 2: On mouse hover, the background is backlit with yellow. A tool tip invites the user to 'Click to edit';<br>Status 3: Once the user clicks on the title, the form elements 「Input box」, 「Ok」 and 「Cancel」 appear, and the cursor is positioned in the 「input box」." src="https://gw.alipayobjects.com/zos/rmsportal/EXKwsvUkIUNkHBSsOlRi.png">
|
<img class="preview-img" align="right" alt="Example of click to edit" description="Status 1: Common browsing mode, do not distinguish between editable and non-editable lines;<br>Status 2: On mouse hover, the background is backlit with yellow. A tool tip invites the user to 'Click to edit';<br>Status 3: Once the user clicks on the title, the form elements 「Input box」, 「OK」 and 「Cancel」 appear, and the cursor is positioned in the 「input box」." src="https://gw.alipayobjects.com/zos/rmsportal/EXKwsvUkIUNkHBSsOlRi.png">
|
||||||
|
|
||||||
Single-Field Inline Edit
|
Single-Field Inline Edit
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user