Thanks to visit codestin.com
Credit goes to github.com

Skip to content

🌐 Add Chinese translations for docs/zh/docs/advanced/settings.md#9652

Merged
tiangolo merged 4 commits into
fastapi:masterfrom
ChuyuChoyeon:master
Jun 22, 2023
Merged

🌐 Add Chinese translations for docs/zh/docs/advanced/settings.md#9652
tiangolo merged 4 commits into
fastapi:masterfrom
ChuyuChoyeon:master

Conversation

@ChuyuChoyeon

Copy link
Copy Markdown
Contributor

For your approval

@tiangolo

Copy link
Copy Markdown
Member

📝 Docs preview for commit 59a5836 at: https://6484fb4918fa942d154ad80f--fastapi.netlify.app

@ChuyuChoyeon

Copy link
Copy Markdown
Contributor Author

@tiangolo @Kludex

@Kludex Kludex added lang-all Translations lang-zh Chinese translations awaiting-review labels Jun 15, 2023
Comment thread docs/zh/docs/advanced/settings.md Outdated
```

!!! tip
`os.getenv()` 的第二个参数是要返回的默认值。

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`os.getenv()` 

->

<a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks,The modification has been completed.

@tiangolo

Copy link
Copy Markdown
Member

📝 Docs preview for commit 323f328 at: https://648c4a21fca9190ceb2e84db--fastapi.netlify.app

Comment thread docs/zh/docs/advanced/settings.md Outdated

### 运行服务器

接下来,您将运行服务器,并将配置作为环境变

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

换行符多了

Comment thread docs/zh/docs/advanced/settings.md Outdated
## 从 `.env` 文件中读取设置

如果您有许多可能经常更改的设置,可能在不同的环境中,将它们放在一个文件中,然后从该文件中读取它

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

换行符多了

Comment thread docs/zh/docs/advanced/settings.md Outdated
=== "Python 3.6+ 非注解版本"

!!! tip
如果可能,请尽量使用 `Annotated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

换行符多了导致格式错误

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已经修复

@tiangolo

Copy link
Copy Markdown
Member

📝 Docs preview for commit 683845d at: https://648fc4e400fa3a10580d4e38--fastapi.netlify.app

@tiangolo

Copy link
Copy Markdown
Member

Thank you @ChoyeonChern! 🚀

And thanks for the reviews @lordqyxz and @Chushine 🎉

@tiangolo tiangolo merged commit 804a0a9 into fastapi:master Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved-2 lang-all Translations lang-zh Chinese translations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants