-
Notifications
You must be signed in to change notification settings - Fork 87
docs: Components In-Depth > Component Registration の翻訳 #75
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
docs: Components In-Depth > Component Registration の翻訳 #75
Conversation
Deploy preview for vuejs-v3-ja-doc-preview ready! Built with commit b854fa6 https://deploy-preview-75--vuejs-v3-ja-doc-preview.netlify.app |
|
||
The name you give a component may depend on where you intend to use it. When using a component directly in the DOM (as opposed to in a string template or [single-file component](../guide/single-file-component.html), we strongly recommend following the [W3C rules](https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name) for custom tag names: |
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.
かなり細かいですが directly in the DOM(
の閉じ括弧がつけて忘れているのかな?と判断したので as opposed to in a string template or [single-file component](../guide/single-file-component.html)
までを括弧として翻訳しました。勘違いでしたら申し訳ございません。
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.
これ、括弧の閉じ忘れですね... (本家へ PR contribution のいい機会ですね!)
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.
せっかくなので送ってみました
vuejs/docs#568
7715265
to
d0d48b4
Compare
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.
レビュー 👀 コメント 💬 しました。
対応お願いします!
|
||
The name you give a component may depend on where you intend to use it. When using a component directly in the DOM (as opposed to in a string template or [single-file component](../guide/single-file-component.html), we strongly recommend following the [W3C rules](https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name) for custom tag names: |
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.
これ、括弧の閉じ忘れですね... (本家へ PR contribution のいい機会ですね!)
src/guide/component-registration.md
Outdated
@@ -146,20 +146,20 @@ export default { | |||
} | |||
``` | |||
|
|||
Note that in ES2015+, placing a variable name like `ComponentA` inside an object is shorthand for `ComponentA: ComponentA`, meaning the name of the variable is both: | |||
ES2015+ の場合、`ComponentA` のような変数名をオブジェクト内に配置することは `ComponentA: ComponentA` の省略記法にあたり、変数の名前は次のどちらも意味することに注意して下さい: |
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.
ES2015+
は ES2015 以降
で訳せそうです。
Co-authored-by: kazuya kawaguchi <[email protected]>
b4bd24e
to
829e3dd
Compare
@kazupon |
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.
typoだけありますので、よろしくお願いします! 🙏
Co-authored-by: kazuya kawaguchi <[email protected]>
@kazupon |
対応ありがとうございました! 翻訳ありがとうございました! |
resolve #12
Components In-Depth > Component Registration の翻訳