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:
damon.chen 2021-09-23 22:13:05 +08:00 committed by GitHub
parent 13cd24f37b
commit e7f5030f2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 17 additions and 17 deletions

View File

@ -6,7 +6,7 @@
"today": "Today",
"now": "Now",
"backToToday": "Back to today",
"ok": "Ok",
"ok": "OK",
"clear": "Clear",
"month": "Month",
"year": "Year",

View File

@ -11,7 +11,7 @@ const locale: PickerLocale = {
today: 'Hoje',
now: 'Agora',
backToToday: 'Hoje',
ok: 'Ok',
ok: 'OK',
clear: 'Limpar',
month: 'Mês',
year: 'Ano',

View File

@ -10,7 +10,7 @@ const locale: PickerLocale = {
today: 'Danes',
now: 'Trenutno',
backToToday: 'Nazaj na trenutni datum',
ok: 'Ok',
ok: 'OK',
clear: 'Počisti',
month: 'Mesec',
year: 'Leto',

View File

@ -35804,7 +35804,7 @@ exports[`Locale Provider should display the text as cs 1`] = `
type="button"
>
<span>
Ok
OK
</span>
</button>
</div>
@ -37368,7 +37368,7 @@ exports[`Locale Provider should display the text as cs 1`] = `
type="button"
>
<span>
Ok
OK
</span>
</button>
</div>
@ -242578,7 +242578,7 @@ exports[`Locale Provider should display the text as pt 1`] = `
type="button"
>
<span>
Ok
OK
</span>
</button>
</li>
@ -267948,7 +267948,7 @@ exports[`Locale Provider should display the text as sl 1`] = `
type="button"
>
<span>
Ok
OK
</span>
</button>
</li>

View File

@ -29,12 +29,12 @@ const localeValues: Locale = {
cancelSort: 'Klikni pro zrušení řazení',
},
Modal: {
okText: 'Ok',
okText: 'OK',
cancelText: 'Storno',
justOkText: 'Ok',
justOkText: 'OK',
},
Popconfirm: {
okText: 'Ok',
okText: 'OK',
cancelText: 'Storno',
},
Transfer: {

View File

@ -19,7 +19,7 @@ const localeValues: Locale = {
},
Table: {
filterTitle: 'Фильтр',
filterConfirm: 'Ok',
filterConfirm: 'OK',
filterReset: 'Тазарту',
filterEmptyText: 'Фильтр жоқ',
emptyText: 'Деректер жоқ',

View File

@ -27,7 +27,7 @@ const localeValues: Locale = {
},
Table: {
filterTitle: 'Cari dengan tajuk',
filterConfirm: 'Ok',
filterConfirm: 'OK',
filterReset: 'Menetapkan semula',
emptyText: 'Tiada data',
selectAll: 'Pilih semua',

View File

@ -26,7 +26,7 @@ describe('TimePicker', () => {
resetWarned();
const addon = () => (
<button className="my-btn" type="button">
Ok
OK
</button>
);
const wrapper = mount(<TimePicker addon={addon} open />);

View File

@ -32,7 +32,7 @@ class TimePickerAddonDemo extends React.Component {
onOpenChange={this.handleOpenChange}
renderExtraFooter={() => (
<Button size="small" type="primary" onClick={this.handleClose}>
Ok
OK
</Button>
)}
/>

View File

@ -62,7 +62,7 @@ Add `antd/dist/antd.css` at the top of `src/App.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.

View File

@ -78,7 +78,7 @@ Add `antd/dist/antd.css` at the top of `src/App.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!

View File

@ -11,7 +11,7 @@ As Alan Cooper states「Where there is output, let there be input」. This is
## 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