Browse Source
chore: docs update (#41368 )
* chore: docs update
* chore: docs update
pull/41372/head
Amumu
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
4 deletions
docs/react/i18n.en-US.md
docs/react/i18n.zh-CN.md
@ -111,8 +111,8 @@ Do it step by step:
```bash
git clone git@github.com:< your organization > /ant-design.git
cd ant-design/
git remote add upstream origin git@github.com:ant-design/ant-design.git
git checkout -b < your new branch name >
git remote add upstream git@github.com:ant-design/ant-design.git
git checkout -b < your new branch name > upstream/feature
```
2. Add the language support for [rc-picker ](https://github.com/react-component/picker ), for example [this ](https://github.com/react-component/picker/blob/master/src/locale/en_US.ts ).
@ -108,8 +108,8 @@ return (
```bash
git clone git@github.com:< your organization > /ant-design.git
cd ant-design/
git remote add upstream origin git@github.com:ant-design/ant-design.git
git checkout -b < your new branch name >
git remote add upstream git@github.com:ant-design/ant-design.git
git checkout -b < your new branch name > upstream/feature
```
2. 为 [rc-picker ](https://github.com/react-component/picker ) 添加对应语言,参考 [这个 ](https://github.com/react-component/picker/blob/master/src/locale/en_US.ts )。