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 advanced tsconfig options(jsxFactory ~ stripInternal) into Japanese #315

Merged
merged 5 commits into from
Mar 10, 2020

Conversation

Quramy
Copy link
Contributor

@Quramy Quramy commented Mar 6, 2020

Part of #220 .

I translated tsconfig options from https://www.typescriptlang.org/v2/en/tsconfig#jsxFactory to https://www.typescriptlang.org/v2/en/tsconfig#stripInternal .

Comparison from the original docs: 95b0a2e

@Quramy Quramy requested a review from orta as a code owner March 6, 2020 08:11
@@ -5,5 +5,5 @@ oneline: "Skip ahead-of-time checking for import and <reference files"

By default, TypeScript will examine the initial set of files for `import` and `<reference` directives and add these resolved files to your program.

If `noResolve` isn't set, this process doesn't happen.
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 seemed wrong and I fixed.

oneline: "Include a byte order mark to output files"
---

TypeScriptがファイルを書き込むときに[バイトオーダーマーク(BOM)](https://en.wikipedia.org/wiki/Byte_order_mark)を出力するかどうかを制御します。
Copy link
Contributor

Choose a reason for hiding this comment

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

wikiのLINKを日本語版にするか悩みますね
とりあえず、enで良さそう

Copy link
Contributor Author

Choose a reason for hiding this comment

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

他でもいくつか外部リンク先で en or ja選択できるとこ(MDNとか)がありましたが、enにしてます。

---

ファイルを出力するときの改行コードを指定します: 'CRLF'(dos)または'LF'(unix)のいずれかを指定してください。

Copy link
Contributor

Choose a reason for hiding this comment

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

行数が1行増えちゃってます 👀

Copy link
Contributor Author

Choose a reason for hiding this comment

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

newLineですから!

というのはさておき、直します 🙇

propertyWithAnExceedinglyLongName5: string;
};

// 型'x'の文字列表現はエラメッセージ中で省略されます
Copy link
Contributor

Choose a reason for hiding this comment

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

英語の原文が間違ってる気がします。
95b0a2e#r37689740

Copy link
Contributor Author

Choose a reason for hiding this comment

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

確かに、、、と思うものの、 #315 (comment) とのことだし、一旦このPRでどうこうするのはやめておこうかと。

@orta
Copy link
Contributor

orta commented Mar 7, 2020

Yeah, so I'm really not sure if that compiler flag works or if my somehow my implementation is broken TBH

I took the code from the test suite in the codebase - might be worth me dropping it completely.

@sasurau4
Copy link
Contributor

@orta Thanks

LGTM 👍

@orta
Copy link
Contributor

orta commented Mar 10, 2020

CI fail is my fault!

@orta orta merged commit e06a3a5 into microsoft:v2 Mar 10, 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