🌐 Add Japanese translation for docs/ja/docs/tutorial/dependencies/index.md#1957
🌐 Add Japanese translation for docs/ja/docs/tutorial/dependencies/index.md#1957SwftAlpc wants to merge 24 commits into
docs/ja/docs/tutorial/dependencies/index.md#1957Conversation
…/ryuckel/fastapi into feature/add-japanese-translation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #1957 +/- ##
===========================================
Coverage 100.00% 100.00%
===========================================
Files 540 239 -301
Lines 13969 7079 -6890
===========================================
- Hits 13969 7079 -6890 ☔ View full report in Codecov by Sentry. |
|
📝 Docs preview for commit e03092e at: https://5f426abdc86c106786dfb101--fastapi.netlify.app |
tokusumi
left a comment
There was a problem hiding this comment.
thank you for translating difficult chapter!
Co-authored-by: T. Tokusumi <[email protected]>
Co-authored-by: T. Tokusumi <[email protected]>
Co-authored-by: T. Tokusumi <[email protected]>
Co-authored-by: T. Tokusumi <[email protected]>
Co-authored-by: T. Tokusumi <[email protected]>
|
@tokusumi |
|
📝 Docs preview for commit ae46000 at: https://5f9ae6451c44a80b3723e443--fastapi.netlify.app |
sh0nk
left a comment
There was a problem hiding this comment.
Let me add just a couple of suggestions against typo and nitpicks!
|
|
||
| ## 「依存性注入」とは | ||
|
|
||
| **「依存性注入」** とは、プログラミングにおいて、コード(この場合は、*path operation関数*)が動作したり使用したりするために必要なもの(「依存関係」)を宣言する方法があることを意味します: |
There was a problem hiding this comment.
| **「依存性注入」** とは、プログラミングにおいて、コード(この場合は、*path operation関数*)が動作したり使用したりするために必要なもの(「依存関係」)を宣言する方法があることを意味します: | |
| **「依存性注入」** とは、プログラミングにおいて、コード(この場合は、*path operation関数*)が動作したり使用したりするために必要なもの(「依存関係」)を宣言する方法があることを意味します。 |
|
|
||
| しかし、この方法では **依存性注入** システムがどのように機能するかに焦点を当てることができます。 | ||
|
|
||
| ### 依存関係の作成 |
There was a problem hiding this comment.
| ### 依存関係の作成 | |
| ### 依存関係 ("dependable") の作成 |
Add an implication of , or "dependable", which will be appeared on the following parts as well.
|
|
||
| ## `async`にするかどうか | ||
|
|
||
| 依存関係は **FastAPI**(*path operation関数*と同じ)からも呼び出されるため、関数を定義する際にも同じルールが適用されます。 |
There was a problem hiding this comment.
| 依存関係は **FastAPI**(*path operation関数*と同じ)からも呼び出されるため、関数を定義する際にも同じルールが適用されます。 | |
| 依存関係も(*path operation関数*と同様に) **FastAPI** から呼び出されるため、関数を定義する際にも同じルールが適用されます。 |
To clarify the meaning of the sentence.
|
|
||
| ## **FastAPI** プラグイン | ||
|
|
||
| 統合や「プラグイン」は **依存性注入** システムを使って構築することができます。しかし、実際には、**「プラグイン」を作成する必要はありません**。依存関係を使用することで、無限の数の統合やインタラクションを宣言することができ、それが**path operation関数*で利用可能になるからです。 |
There was a problem hiding this comment.
| 統合や「プラグイン」は **依存性注入** システムを使って構築することができます。しかし、実際には、**「プラグイン」を作成する必要はありません**。依存関係を使用することで、無限の数の統合やインタラクションを宣言することができ、それが**path operation関数*で利用可能になるからです。 | |
| 統合や「プラグイン」は **依存性注入** システムを使って構築することができます。しかし、実際には、**「プラグイン」を作成する必要はありません**。依存関係を使用することで、無限の数の統合やインタラクションを宣言することができ、それが*path operation関数*で利用可能になるからです。 |
typo
|
|
||
| ## OpenAPIとの統合 | ||
|
|
||
| 依存関係(およびサブ依存関係)のすべてのリクエスト宣言、検証、および要件は、同じOpenAPIスキーマに統合されます。 |
There was a problem hiding this comment.
| 依存関係(およびサブ依存関係)のすべてのリクエスト宣言、検証、および要件は、同じOpenAPIスキーマに統合されます。 | |
| 依存関係(およびサブ依存関係)のすべてのリクエスト宣言、バリデーション、および要件は、同じOpenAPIスキーマに統合されます。 |
To be consistent with #L207. (The other way round is fine too.)
docs/ja/docs/tutorial/dependencies/index.md
|
📝 Docs preview for commit fcb10ad at: https://6499cb4e7bcac500837f92f0--fastapi.netlify.app |
|
As this was handled in #1958, I'll go ahead and close this one. Thank you! ☕ |
This PR translates the tutorial/dependencies/index.md to Japanese.
Please review tutorial/dependencies/index.md.
Issue #1571 generates a new directory to support Japanese.PR #1656 generates a new directory for tutorial.
I will fix dependency after #1571 & #1656 are merged.