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 tsconfig files section into Japanese #228

Merged
merged 1 commit into from
Feb 9, 2020

Conversation

Quramy
Copy link
Contributor

@Quramy Quramy commented Feb 9, 2020

It's related to #100 , #220

What I did

Translated some resources in tsconfig references into Japanese. This PR covers http://www.typescriptlang.org/v2/en/tsconfig#Project_Files_0

Image from Gyazo

@Quramy
Copy link
Contributor Author

Quramy commented Feb 9, 2020

I think this PR needs some Japanese reviewers. @Naturalclar, @sasurau4 would you check my translation ?


ベースとなるファイルからの設定が最初に読み込まれ、続いて継承ファイルの設定によってオーバーライドされます。設定ファイル内のすべての相対パスは、元の設定ファイルを起点として解決されます。

継承した設定ファイルの`files`, `include`および`exclude`はベースとなる設定ファイルの内容を_上書き_します。
Copy link
Contributor

Choose a reason for hiding this comment

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

[imo] For japanese text, comma-separated text should use Japanese comma.

Suggested change
継承した設定ファイルの`files`, `include`および`exclude`はベースとなる設定ファイルの内容を_上書き_します。
継承した設定ファイルの`files``include`および`exclude`はベースとなる設定ファイルの内容を_上書き_します。

- `?` 任意の1文字にマッチ(ディレクトリセパレータは除く)
- `**/` 任意階層の任意ディレクトリにマッチ

グロブパターンがファイルの拡張子を含まない場合、サポートされる拡張子のみが含まれるようになります(例:`.ts`, `.tsx`と`.d.ts`はデフォルトでインクルードされ、`.js`と`.jsx`は`allowJs`が設定された場合のみインクルードされます)。
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
グロブパターンがファイルの拡張子を含まない場合、サポートされる拡張子のみが含まれるようになります(例:`.ts`, `.tsx``.d.ts`はデフォルトでインクルードされ、`.js``.jsx``allowJs`が設定された場合のみインクルードされます)。
グロブパターンがファイルの拡張子を含まない場合、サポートされる拡張子のみが含まれるようになります(例:`.ts``.tsx``.d.ts`はデフォルトでインクルードされ、`.js``.jsx``allowJs`が設定された場合のみインクルードされます)。

}
```

モジュールが自動で取得されるべきでない場合。例えば、そのライブラリが`node_modules`に含まれてはいるが、チームでこのライブラリを利用しないことを合意している場合:
Copy link
Contributor

Choose a reason for hiding this comment

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

For consistency, we should keep colons to be the same byte size.

Suggested change
モジュールが自動で取得されるべきでない場合。例えば、そのライブラリが`node_modules`に含まれてはいるが、チームでこのライブラリを利用しないことを合意している場合
モジュールが自動で取得されるべきでない場合。例えば、そのライブラリが`node_modules`に含まれてはいるが、チームでこのライブラリを利用しないことを合意している場合:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thx. I'll use ascii :

@Quramy Quramy force-pushed the i18n-jp-first-tsconfig-ref branch from a6d7776 to 0fce9a8 Compare February 9, 2020 15:03
Copy link
Contributor

@Naturalclar Naturalclar left a comment

Choose a reason for hiding this comment

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

👍

@orta
Copy link
Contributor

orta commented Feb 9, 2020

Looking good 👍

@orta orta merged commit 935fd7c into microsoft:v2 Feb 9, 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