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

Skip to content

🌐 Add Japanese translation for docs/ja/docs/advanced/nosql-databases.md#4205

Merged
tiangolo merged 6 commits into
fastapi:masterfrom
sUeharaE4:add-ja-translate-advanced-nosqldatabases
Aug 18, 2022
Merged

🌐 Add Japanese translation for docs/ja/docs/advanced/nosql-databases.md#4205
tiangolo merged 6 commits into
fastapi:masterfrom
sUeharaE4:add-ja-translate-advanced-nosqldatabases

Conversation

@sUeharaE4

Copy link
Copy Markdown
Contributor

Relates to #1572

This PR translates advanced/nosql-databases.md.

I left "databases" in the page title as it is because there is no word for the plural of database in Japanese.
This is my first pull request, so I apologize if there are any problems. I would appreciate it if you could check it.

@tiangolo tiangolo changed the title Add Japanese translation for Advanced - NoSQL Databases 🌐 Add Japanese translation for docs/ja/docs/advanced/nosql-databases.md Dec 8, 2021
@tiangolo tiangolo added awaiting-review lang-all Translations lang-ja Japanese translations labels Dec 8, 2021
@github-actions github-actions Bot mentioned this pull request Dec 8, 2021
@github-actions

github-actions Bot commented Dec 8, 2021

Copy link
Copy Markdown
Contributor

📝 Docs preview for commit 96bd631 at: https://61b0caec4bb4cd2a61ab32e4--fastapi.netlify.app

@codecov

codecov Bot commented Dec 8, 2021

Copy link
Copy Markdown

Codecov Report

Merging #4205 (0b29c08) into master (1876ebc) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #4205   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          532       532           
  Lines        13672     13672           
=========================================
  Hits         13672     13672           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1876ebc...0b29c08. Read the comment docs.

@dimaqq dimaqq left a comment

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.

I'm not a native speaker, but this seems solid!

@wakabame wakabame left a comment

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.

Excellent work!!

@dimaqq

dimaqq commented Jun 16, 2022

Copy link
Copy Markdown
Contributor

@tiangolo this should be ready, let's merge!

@tokusumi tokusumi left a comment

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.

Thank you for great work!!!
I'd like to suggests the followings, although already you've gotten enough approve.

@@ -0,0 +1,155 @@
# NoSQL (分散 / ビッグデータ) Databases

**FastAPI** はあらゆる <abbr title="分散データベース (Big Data), や 'Not Only SQL'">NoSQL</abbr>と統合することもできます。

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.

Suggested change
**FastAPI** はあらゆる <abbr title="分散データベース (Big Data), や 'Not Only SQL'">NoSQL</abbr>と統合することもできます。
**FastAPI** はあらゆる <abbr title="分散データベース (Big Data)や 'Not Only SQL'">NoSQL</abbr>と統合することもできます。

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.

we could omit "," or put it after "や"

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.


この関数では:

* **Couchbase** クラスタ(1台の場合もあるでしょう)に接続し

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.

Here too rough writing are used than other sections. I suggest to delete some "し" and "して" at all lines.

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.


## Pydantic モデルの作成

**Couchbase**のdocumentは実際には単にJSONオブジェクトなのでPydanticを利用してモデルにすることが出来ます。

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.

Suggested change
**Couchbase**のdocumentは実際には単にJSONオブジェクトなのでPydanticを利用してモデルにすることが出来ます
**Couchbase**のdocumentは実際には単にJSONオブジェクトなのでPydanticを利用してモデルに出来ます

Suggesting shorten expression at the end of a sentence.

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.

{!../../../docs_src/nosql_databases/tutorial001.py!}
```

このモデルは*path operation*で利用できる関数で使用するので`hashed_password`はモデルに含めません。

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.

Suggested change
このモデルは*path operation*で利用できる関数で使用するので`hashed_password`はモデルに含めません
このモデルは*path operation*に使用するので、`hashed_password`は含めません

This is difficult to translate. Here, path operation (function) refer to read_user function.

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.

{!../../../docs_src/nosql_databases/tutorial001.py!}
```

!!! note

@tokusumi tokusumi Jun 16, 2022

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.

Suggested change
!!! note
!!! note "備考"

Unified at translation tracking issue

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.


それでは次の関数を作成しましょう:

* username を取得して

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.

Same as above suggestion. Deleting "して" or Replacing with "する" are better.

@sUeharaE4 sUeharaE4 Jun 18, 2022

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.

{!../../../docs_src/nosql_databases/tutorial001.py!}
```

### f-strings

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.

Suggested change
### f-strings
### f-strings

Maybe newline needs after heading.

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.


## "document type" として利用する定数の定義

documentで利用する固定のフィールド`type`を用意しておきます。

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.

Suggested change
documentで利用する固定のフィールド`type`を用意しておきます
documentで利用する固定の`type`フィールドを用意しておきます

More easier to read?

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.

* **ArangoDB**
* **ElasticSearch** など。

!!! 豆知識

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.

Suggested change
!!! 豆知識
!!! tip "豆知識"

I'm not sure but maybe this is (or was) right syntax.

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.

@github-actions

Copy link
Copy Markdown
Contributor

📝 Docs preview for commit 99a1523 at: https://62ad80850151d34b7adb7eb3--fastapi.netlify.app

Comment thread docs/ja/docs/advanced/nosql-databases.md Outdated
@github-actions

Copy link
Copy Markdown
Contributor

📝 Docs preview for commit 0b29c08 at: https://62add7c6b9dd507f67334965--fastapi.netlify.app

@tokusumi tokusumi left a comment

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.

LGTM

@tiangolo

Copy link
Copy Markdown
Member

Thanks for the contribution @sUeharaE4! 🍰

And thank you for the reviews @dimaqq, @wakabame, and @tokusumi! ☕

@tiangolo tiangolo merged commit e23fa40 into fastapi:master Aug 18, 2022
JeanArhancet pushed a commit to JeanArhancet/fastapi that referenced this pull request Aug 20, 2022
….md` (fastapi#4205)

Co-authored-by: tokusumi <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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-ja Japanese translations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants