-
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 rest tsconfig advanced options into Japanese #337
Translate rest tsconfig advanced options into Japanese #337
Conversation
@@ -3,7 +3,7 @@ display: "No Strict Generic Checks" | |||
oneline: "Disable strict checking of generic signatures in functions." | |||
--- | |||
|
|||
TypeScript will unify type parameters when comparing two generic functions functions |
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.
I fixed "functions" duplication ;)
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.
thanks!
@@ -3,10 +3,11 @@ display: "Suppress Implicit Any Index Errors" | |||
oneline: "Remove the warning when using string indexes to access unknown properties" | |||
--- | |||
|
|||
Turning `noImplicitAny` on suppresses reporting the error about implicit anys when indexing into objects, as shown in the following example: |
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.
It seems wrong description.
@@ -0,0 +1,26 @@ | |||
--- |
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.
I think I hid this on purpose because either setting it in the tsconfig didn't work - or my the twoslash didn't work with these messages and so I couldn't prove them
1e8bba8
to
726f035
Compare
packages/tsconfig-reference/copy/ja/options/allowUnreachableCode.md
Outdated
Show resolved
Hide resolved
--- | ||
|
||
TypeScriptが大文字小文字を区別するかどうかは、動作しているファイルシステムに従います。 | ||
これが問題になるのは、ある開発者はケースセンシティブなファイルシステムで作業をしている一方で、別の開発者はそうではない場合です。 |
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: ケースセンシティブでも良いと思いますが、一般的か分からんかったのでsuggest
これが問題になるのは、ある開発者はケースセンシティブなファイルシステムで作業をしている一方で、別の開発者はそうではない場合です。 | |
\これが問題になるのは、ある開発者は大文字小文字を区別するファイルシステムで作業をしている一方で、別の開発者はそうではない場合です。 |
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.
これ、1行上では case sensitivity
で、さすがに「ケースセンシティビティ」は無いかな、と思って 大文字小文字を区別するかどうか
にしたんですよね。。。
かといって、「大文字小文字を区別する」に統一しちゃうと、この1行の文がすごく冗長な感じになってしまったのものあって、 ケースセンシティブ
と形容詞的に使っている部分だけカタカナ語にしています。
一般的か、という意味だと、 https://ja.wikipedia.org/wiki/%E3%82%B1%E3%83%BC%E3%82%B9%E3%83%BB%E3%82%BB%E3%83%B3%E3%82%B7%E3%83%86%E3%82%A3%E3%83%96 は用意されているので、カタカナ語でも通じると思っています。
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.
確かに、同じ言葉を繰り返すと冗長なのはそう
Wikipediaあるし、ケースセンシティブでよさそう 👍
- [ts-sql-plugin](https://github.com/xialvjun/ts-sql-plugin#readme) — テンプレート文字列によるSQLビルダについて、SQLの構文チェックを追加します。 | ||
- [typescript-styled-plugin](https://github.com/Microsoft/typescript-styled-plugin) — テンプレート文字列内部のCSSを構文チェック機能を提供します。 | ||
- [typescript-eslint-language-service](https://github.com/Quramy/typescript-eslint-language-service) — eslintのエラーメッセージを出力や、出力されたエラーメッセージの修正機能を提供します。 | ||
- [ts-graphql-plugin](https://github.com/Quramy/ts-graphql-plugin) — テンプレート文字列内部のGraphQLクエリについて、バリデーションと自動補完機能を提供します。 |
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.
Quramy 👍
packages/tsconfig-reference/copy/ja/options/preserveConstEnums.md
Outdated
Show resolved
Hide resolved
packages/tsconfig-reference/copy/ja/options/suppressImplicitAnyIndexErrors.md
Outdated
Show resolved
Hide resolved
oneline: "Use define characteristics for handling class fields" | ||
--- | ||
|
||
このフラグは、最新のClassフィールドの仕様へ移行するために用います。TypeScriptのClassフィールド記法は、TC39がClassフィールドの仕様の合意に至るよりも何年も前に導入されました。最新の仕様の最新バージョンは、TypeScriptの実装とは実行時の挙動が異なりますが、構文は同じです。 |
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.
「最新の仕様の最新バージョン」が2回最新を使っていて、ふむって感じですが、日本語としても英語としても間違ってないというやつ
意訳だけど「ECMA 2020の最新バージョン」とか明示的にした方が分かりやすいかもしれません(自信はない)
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.
あ、upcomingとlatestを両方とも「最新の」にしてしまったので変なことになっているのか。。。
意訳だけど「ECMA 2020の最新バージョン」
class fields proposalはまだstage 3だから2020には入ってないんですよ。。。
https://github.com/tc39/proposals#stage-3
なので、最新の仕様バージョンでは~
という濁した書き方で留めておきます 🙇
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.
👍
…de.md Co-Authored-By: Daiki Ihara <[email protected]>
Co-Authored-By: Daiki Ihara <[email protected]>
Co-Authored-By: Daiki Ihara <[email protected]>
…yIndexErrors.md Co-Authored-By: Daiki Ihara <[email protected]>
Co-Authored-By: Daiki Ihara <[email protected]>
LGTM |
A part of #220 . It makes
tsconfig-references/copy/ja
's coverage 100% 🎉I translated tsconfig advanced options and "plugins" option into ja ( comparison from original: 726f035 )