Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translate en to ja on tradeoffs.md #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mimimikan
Copy link

@mimimikan mimimikan commented May 22, 2021

@Phamiliarizeのプルリクエストを参考に、翻訳しました。

翻訳初心者ですので上手くありませんが、よろしくお願いします。

Copy link
Collaborator

@marina-ki marina-ki left a comment

Choose a reason for hiding this comment

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

見ました!細かいところが多いですが、よろしくおねがいします!

Next.js. For example, you'll probably use the Blitz authentication which
is unique to Blitz. But switching to Next Auth would give you a comparable
experience with Next.js.
BlitzのロックインはNext.jsよりもレベルが一つ上です。BlitzのコードベースはNext.js のコードベースと比べてそれほど違いはありません。しかしBlitzは、単純なNext.jsに非常に簡単に”EJECT”できない程度には十分違いがあります。例えば、あなたはBlitzに特化したBlitzの認証を使うでしょう。ですがNext Authに切り替えると、Next.jsと同等の使用感を得ることができます。
Copy link
Collaborator

Choose a reason for hiding this comment

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

しかしBlitzは、単純なNext.jsに非常に簡単に”EJECT”できない程度には十分違いがあります。

ここが少し冗長な気がしました。

「しかしBlitzからNext.jsに”EJECT”するのは一筋縄ではないほどの違いがあります。」

くらいに削ってしまったほうが意味が通じやすい気がしました!

Comment on lines +14 to 15
Blitz zero-API data layerもBlitz特有のものです。Next.jsに切り替える場合、自分専用のAPIコードを管理する必要があります。(Next.jsを始めるならデータ損失をしないために必ず実施する必要があります。)しかしながら、すべてのバックエンドクエリやミューテーションロジックが直接ポートされる可能性があります。

Copy link
Collaborator

@marina-ki marina-ki Jun 27, 2021

Choose a reason for hiding this comment

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

自分専用のAPIコード

「独自のAPIコード」のほうがわかりやすい気がします!

しかしながら、すべてのバックエンドクエリやミューテーションロジックが直接ポートされる可能性があります。

"all your backend query and mutation logic can be directly ported."のcanは「できる」という意味だと思うので、「しかしながら、すべてのバックエンドクエリやミューテーションロジックは直接ポートできます。」でいかがでしょうか?


But if you use yarn, you can use the `resolutions` field in package.json
to upgrade next.js before we do.
ですがもしyarnを使用する場合は、package.json内のresolutionsフィールドを使ってnext.jsのアップグレードを先行して実施できます。
Copy link
Collaborator

Choose a reason for hiding this comment

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

細かいですが、

yarnを使用する場合

は「yarnを使用している場合」のほうが良いと思いました!

it". While we believe most apps won't grow large enough to warrant
GraphQL, the question of an API for multiple clients is an excellent
point.
「最終的にGraphQLが必要になるのだから、GraphQLから着手すべきだ」という人がいます。確かに多くのアプリはGraphQLを保証するほど大きく成長しませんが、複数のクライアントのためのAPIに関する疑問はいい問題です。
Copy link
Collaborator

Choose a reason for hiding this comment

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

確かに多くのアプリはGraphQLを保証するほど大きく成長しませんが

「確かに」の使い方が違和感かも…?
「ほとんどのアプリはGraphQLを必要とするほど大きくはならないと思いますが」
みたいな感じでどうでしょうか?

Comment on lines +33 to +34
-すべての生成されたエンドポイントはアプリ内の [`blitz routes`](./cli-routes) コマンドで確認することができます。
-エンドポイント用のRPCの仕様はこちらで確認できます: [RPC Specification](./rpc-specification)
Copy link
Collaborator

Choose a reason for hiding this comment

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

ここのマークダウンが上手くいっていないようです!
( - のあとに半角スペース)

import blitz queries/mutations directly into your react-native code and
have it magically work exactly like it does today with your web app.
After the 1.0 release, this will be Brandon's main focus for the year.
1.まず、生成されたAPIエンドポイントを簡単に手動で使用するために、ドキュメントとツールを追加します。[https://github.com/blitz-js/blitz/discussions/1907](https://github.com/blitz-js/blitz/discussions/1907) と [https://github.com/blitz-js/blitz/issues/745](https://github.com/blitz-js/blitz/issues/745) をご覧ください。
Copy link
Collaborator

Choose a reason for hiding this comment

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

ここも、マークダウンが上手くいってないみたいです!
(1.のあとに半角スペース)

Comment on lines +39 to +40
2. 次に、生成されたエンドポイントをアプリから使う良い方法として、JS/TSクライアントライブラリを生成する機能を追加する。
3. 次に、blitzクエリやミューテーションをreact-nativeのコードに直接インポートでき、魔法のようにウェブアプリと全く同じように動かせる、一流のreact-nativeのサポートを追加する。1.0リリースの後に、これがBrandonさんの今年の主な目標となります。
Copy link
Collaborator

Choose a reason for hiding this comment

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

ですます調で統一したほうがよさそうですね!


Running multiple background processes isn't super difficult, but we want
to add docs and APIs that make this as simple as possible.
これは特にNext.jsで失うものです。Next.jsはシングルスレッドですので、負荷の大きいバックエンド処理中の場合はすべてのウェブリクエストにも影響する可能性があります。これに対する解決法はバックグラウンド処理をオフにし他のプロセスを発生させることです。
Copy link
Collaborator

@marina-ki marina-ki Jun 27, 2021

Choose a reason for hiding this comment

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

バックグラウンド処理をオフにし他のプロセスを発生させることです。

の箇所は、
「バックグラウンド処理を他のプロセスに移します。」や「バックグラウンド処理を他のプロセスに分離します。」
などが良いと思います!

Running multiple background processes isn't super difficult, but we want
to add docs and APIs that make this as simple as possible.
これは特にNext.jsで失うものです。Next.jsはシングルスレッドですので、負荷の大きいバックエンド処理中の場合はすべてのウェブリクエストにも影響する可能性があります。これに対する解決法はバックグラウンド処理をオフにし他のプロセスを発生させることです。
複数のバックグラウンド処理を実行することは特別難しいわけではありませんが、私たちはこれをできる限り神父巣にするためのドキュメントやAPIを追加したいと考えています。
Copy link
Collaborator

Choose a reason for hiding this comment

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

神父巣

「シンプル」のタイポですかね 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants