-
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 advanced tsconfig options(jsxFactory ~ stripInternal) into Japanese #315
Conversation
@@ -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. |
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 seemed wrong and I fixed.
oneline: "Include a byte order mark to output files" | ||
--- | ||
|
||
TypeScriptがファイルを書き込むときに[バイトオーダーマーク(BOM)](https://en.wikipedia.org/wiki/Byte_order_mark)を出力するかどうかを制御します。 |
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.
wikiのLINKを日本語版にするか悩みますね
とりあえず、enで良さそう
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.
他でもいくつか外部リンク先で en or ja選択できるとこ(MDNとか)がありましたが、enにしてます。
--- | ||
|
||
ファイルを出力するときの改行コードを指定します: 'CRLF'(dos)または'LF'(unix)のいずれかを指定してください。 | ||
|
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行増えちゃってます 👀
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.
newLineですから!
というのはさておき、直します 🙇
packages/tsconfig-reference/copy/ja/options/noErrorTruncation.md
Outdated
Show resolved
Hide resolved
propertyWithAnExceedinglyLongName5: string; | ||
}; | ||
|
||
// 型'x'の文字列表現はエラメッセージ中で省略されます |
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.
英語の原文が間違ってる気がします。
95b0a2e#r37689740
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.
確かに、、、と思うものの、 #315 (comment) とのことだし、一旦このPRでどうこうするのはやめておこうかと。
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. |
Co-Authored-By: Daiki Ihara <[email protected]>
@orta Thanks LGTM 👍 |
CI fail is my fault! |
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