-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 tsconfig options about moduleResolution into ja #289
Conversation
I'd recommend translating the ( it might be easier to just do them all at the end though, which is how I did it ) |
3 similar comments
I'd recommend translating the ( it might be easier to just do them all at the end though, which is how I did it ) |
I'd recommend translating the ( it might be easier to just do them all at the end though, which is how I did it ) |
I'd recommend translating the ( it might be easier to just do them all at the end though, which is how I did it ) |
Thanks GitHub |
Thanks, I got it! I will translate them all at the end. |
packages/tsconfig-reference/copy/ja/options/allowSyntheticDefaultImports.md
Show resolved
Hide resolved
packages/tsconfig-reference/copy/ja/options/preserveSymlinks.md
Outdated
Show resolved
Hide resolved
packages/tsconfig-reference/copy/ja/options/preserveSymlinks.md
Outdated
Show resolved
Hide resolved
--- | ||
|
||
デフォルトでは、_表示されている_すべての"`@types`"パッケージがコンパイル時にインクルードされます。 | ||
囲まれている任意のフォルダの`node_modules/@types`内のパッケージが_表示されている_とみなされます。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO: enclosingがうまく訳せないので、任意のだけで良さそう
囲まれている任意のフォルダの`node_modules/@types`内のパッケージが_表示されている_とみなされます。 | |
任意のフォルダの`node_modules/@types`内のパッケージが_表示されている_とみなされます。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enclosing
がうまく訳せないからといって消していいものではないと思います。例えば下記のfile treeについて、"enclosing"をなくして「任意のnode_modules」としてしまうと、A, B, Cのすべてが対象になってしまいませんか?
root/prj/tsconfig.json
root/prj/hoge/node_modules
A (<-- これは対象外のはずroot/prj/node_modules
Broot/node_modules
C
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
意訳するのであれば、「プロジェクトを囲んでいる任意のフォルダの〜」とかですかね?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
完全にAも含まれると読み違えてました
Node.jsと同じ挙動だよってことですね
https://nodejs.org/dist/latest-v13.x/docs/api/modules.html#modules_loading_from_node_modules_folders
良い訳が思いつかなかったので、Googleしたら、MacのFinder->Goに「Enclosing Folder」ってのがあって、日本語だと「内包しているフォルダ」でした
参考までに。。。
--- | ||
|
||
デフォルトでは、すべての_表示されている_"`@types`"パッケージがコンパイル時にインクルードされます。 | ||
囲まれている任意のフォルダの`node_modules/@types`内のパッケージが_表示されている_とみなされます。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO: enclosingがうまく訳せないので、任意のだけで良さそう
囲まれている任意のフォルダの`node_modules/@types`内のパッケージが_表示されている_とみなされます。 | |
任意のフォルダの`node_modules/@types`内のパッケージが_表示されている_とみなされます。 |
Co-Authored-By: Daiki Ihara <[email protected]>
Co-Authored-By: Daiki Ihara <[email protected]>
Co-Authored-By: Daiki Ihara <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
A part of #220. I translated tsconfig docs under
moudleResolution
section ( https://www.typescriptlang.org/v2/en/tsconfig#Module_Resolution_Options_6174 )