Skip to content

Translate playground example (Unknown and Never) into ja #803

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

Merged

Conversation

bobstrange
Copy link
Contributor

Part of #220
playground-examples/TypeScript/Primitives/Unknown and Never

Thanks.

@bobstrange bobstrange requested a review from orta as a code owner July 26, 2020 07:02
@bobstrange bobstrange changed the title Copy Unknown and Never example to ja Translate playground example Unknown and Never example into ja Jul 26, 2020
@bobstrange bobstrange changed the title Translate playground example Unknown and Never example into ja Translate playground example (Unknown and Never) into ja Jul 26, 2020
@orta
Copy link
Contributor

orta commented Jul 26, 2020

/cc @DuGlaser @sasurau4 @Quramy

@orta
Copy link
Contributor

orta commented Aug 1, 2020

/ping @DuGlaser @sasurau4 @Quramy

Copy link
Contributor

@sasurau4 sasurau4 left a comment

Choose a reason for hiding this comment

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

いくつか指摘しました 🙏
よりよい案があったら教えていただけると!

Comment on lines 5 to 6
// 違いは、anyは曖昧なままでも使用できますが、 unknownは
// 詳細を必要とする点です。
Copy link
Contributor

Choose a reason for hiding this comment

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

こなれてないので、もうちょっとよくできそうですが、とりあえずsuggestしておきます

Suggested change
// 違いは、anyは曖昧なままでも使用できますが、 unknownは
// 詳細を必要とする点です
// anyは曖昧なままでも使用できますが、 unknownは
// 特定を必要とします

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ありがとうございます、こんな感じでどうでしょうか?

Suggested change
// 違いは、anyは曖昧なままでも使用できますが、 unknownは
// 詳細を必要とする点です
// anyは曖昧なままでも使用できますが、 unknownは
// 型を特定する必要がある点が異なります

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Comment on lines 3 to 4
// unknown型は、非常に多くの箇所で使用されています。
// unknown型は、any型とよく似た振る舞いをします。
Copy link
Contributor

Choose a reason for hiding this comment

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

clickにはif two people click, they like, understand, and agree with each otherというように仲良くなるという用法があるらしいです
おそらく、この用法だと思われます
https://www.ldoceonline.com/jp/dictionary/click
その上で、usesは使われている場所よりも、用途という意味に思えるので

Suggested change
// unknown型は、非常に多くの箇所で使用されています
// unknown型は、any型とよく似た振る舞いをします。
// unknown型は、一度詳しくなると、非常に多くの用途があることに気が付きます
// unknown型は、any型とよく似た振る舞いをします。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ありがとうございます、clickにそのような意味があるのですね 🙇
そうしますと、一応 one of those types の部分も訳して↓のような形にしますか?

Suggested change
// unknown型は、非常に多くの箇所で使用されています
// unknown型は、any型とよく似た振る舞いをします。
// unknown型は、一度詳しくなると、非常に多くの用途があることに気が付く型の一つです
// unknown型は、any型とよく似た振る舞いをします。

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor Author

@bobstrange bobstrange left a comment

Choose a reason for hiding this comment

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

@sasurau4
レビューいただきありがとうございます。

一旦提案していただいた形で修正させていただきました。

いくつか質問させていただきましたので、
お時間あるときに、ご確認いただけますでしょうか。

Comment on lines 3 to 4
// unknown型は、非常に多くの箇所で使用されています。
// unknown型は、any型とよく似た振る舞いをします。
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ありがとうございます、clickにそのような意味があるのですね 🙇
そうしますと、一応 one of those types の部分も訳して↓のような形にしますか?

Suggested change
// unknown型は、非常に多くの箇所で使用されています
// unknown型は、any型とよく似た振る舞いをします。
// unknown型は、一度詳しくなると、非常に多くの用途があることに気が付く型の一つです
// unknown型は、any型とよく似た振る舞いをします。

Comment on lines 5 to 6
// 違いは、anyは曖昧なままでも使用できますが、 unknownは
// 詳細を必要とする点です。
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ありがとうございます、こんな感じでどうでしょうか?

Suggested change
// 違いは、anyは曖昧なままでも使用できますが、 unknownは
// 詳細を必要とする点です
// anyは曖昧なままでも使用できますが、 unknownは
// 型を特定する必要がある点が異なります

// The object myOtherAccount cannot be used until the type has
// been declared to TypeScript. This can be used to ensure
// that API consumers think about their typing up-front:
// myOtherAccountの型をTypeScriptに示すまでは、myOtherAccountのプロパティを使用する
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ありがとうございます 🙇
こちら、myOtherAccount 自体の参照などは問題なく行えて、あくまで保持するプロパティを
型が確定しないと呼び出せないという意図をもたせたのですが、直訳してオブジェクトとしたほうが良いでしょうか?

@bobstrange
Copy link
Contributor Author

@sasurau4

ご確認ありがとうございます、再度修正させていただきました 🙇
(d781ee5)

よろしくお願いします 🙇

Copy link
Contributor

@sasurau4 sasurau4 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@orta
Copy link
Contributor

orta commented Aug 5, 2020

Thank you folks

@orta orta merged commit 610b2c0 into microsoft:v2 Aug 5, 2020
@bobstrange bobstrange deleted the translate/primitives_unknown-and-never branch August 5, 2020 16:23
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.

3 participants