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 rest tsconfig advanced options into Japanese #337

Merged
merged 10 commits into from
Mar 14, 2020

Conversation

Quramy
Copy link
Contributor

@Quramy Quramy commented Mar 13, 2020

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 )

@Quramy Quramy requested a review from orta as a code owner March 13, 2020 03:14
@@ -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
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I fixed "functions" duplication ;)

Copy link
Contributor

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:
Copy link
Contributor Author

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 @@
---
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@orta

I found this file is never listed but I did not investigate why . I'll send another PR like #335 .

Copy link
Contributor

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

@Quramy Quramy force-pushed the i18n-jp-tsconfig-advanced-rest-options branch from 1e8bba8 to 726f035 Compare March 13, 2020 03:24
---

TypeScriptが大文字小文字を区別するかどうかは、動作しているファイルシステムに従います。
これが問題になるのは、ある開発者はケースセンシティブなファイルシステムで作業をしている一方で、別の開発者はそうではない場合です。
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO: ケースセンシティブでも良いと思いますが、一般的か分からんかったのでsuggest

Suggested change
これが問題になるのは、ある開発者はケースセンシティブなファイルシステムで作業をしている一方で、別の開発者はそうではない場合です。
\これが問題になるのは、ある開発者は大文字小文字を区別するファイルシステムで作業をしている一方で、別の開発者はそうではない場合です。

Copy link
Contributor Author

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 は用意されているので、カタカナ語でも通じると思っています。

Copy link
Contributor

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クエリについて、バリデーションと自動補完機能を提供します。
Copy link
Contributor

@sasurau4 sasurau4 Mar 13, 2020

Choose a reason for hiding this comment

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

Quramy 👍

oneline: "Use define characteristics for handling class fields"
---

このフラグは、最新のClassフィールドの仕様へ移行するために用います。TypeScriptのClassフィールド記法は、TC39がClassフィールドの仕様の合意に至るよりも何年も前に導入されました。最新の仕様の最新バージョンは、TypeScriptの実装とは実行時の挙動が異なりますが、構文は同じです。
Copy link
Contributor

Choose a reason for hiding this comment

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

「最新の仕様の最新バージョン」が2回最新を使っていて、ふむって感じですが、日本語としても英語としても間違ってないというやつ
意訳だけど「ECMA 2020の最新バージョン」とか明示的にした方が分かりやすいかもしれません(自信はない)

Copy link
Contributor Author

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

なので、最新の仕様バージョンでは~ という濁した書き方で留めておきます 🙇

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@sasurau4
Copy link
Contributor

LGTM

@orta orta merged commit 7e663db into microsoft:v2 Mar 14, 2020
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