-
Notifications
You must be signed in to change notification settings - Fork 87
docs: Essentials > Template Syntax の翻訳 (#5) #91
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
Conversation
* template-syntax.mdの翻訳
Deploy preview for vuejs-v3-ja-doc-preview ready! Built with commit 663bd3d https://deploy-preview-91--vuejs-v3-ja-doc-preview.netlify.app |
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.
レビュー 👀 コメント 💬 しました!
翻訳内容については、コメントした細かいもの以外大丈夫です!
対応お願いします。 🙏
src/guide/template-syntax.md
Outdated
|
||
```html | ||
{{ number + 1 }} {{ ok ? 'YES' : 'NO' }} {{ message.split('').reverse().join('') | ||
}} | ||
{{ number + 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.
ここは改行されていますが、ドキュメントのメンテナンス上 (diff のコンフリクトを避ける) 原文と同じにしておいてください。 🙏
Co-authored-by: kazuya kawaguchi <kawakazu80@gmail.com>
Co-authored-by: kazuya kawaguchi <kawakazu80@gmail.com>
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.
@kazupon
squashしてしまいましたが…対応しました、ご確認お願いします🙏
|
||
Under the hood, Vue compiles the templates into Virtual DOM render functions. Combined with the reactivity system, Vue is able to intelligently figure out the minimal number of components to re-render and apply the minimal amount of DOM manipulations when the app state changes. | ||
内部では、Vue はテンプレートを仮想 (Virtual) DOM の描画 (render) 関数にコンパイルします。リアクティブシステムと組み合わせて、Vue は再描画に必要なコンポーネントをインテリジェントに把握でき、アプリケーションの状態が変わった時に最低限の DOM 操作を適用します |
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.
#91 (comment)
Virtual DOM
とrender function
を対応しました!
|
||
If you are familiar with Virtual DOM concepts and prefer the raw power of JavaScript, you can also [directly write render functions](render-function.html) instead of templates, with optional JSX support. | ||
もし、あなたが仮想 DOM の概要に詳しく、JavaScript で直接描画するのを好む場合、テンプレートの代わりに[直接 render 関数で書く](render-function.html)ことも可能で、オプションで JSX をサポートしています。 |
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.
#91 (comment)
こちらもVirtual DOM
対応しました!
|
||
So far we've only been binding to simple property keys in our templates. But Vue.js actually supports the full power of JavaScript expressions inside all data bindings: | ||
これまで、テンプレートに単純なキーをバインディングしてきました。実際には Vue.js は全てのデータバインディング内部で JavaScript 式を完全にサポートします: | ||
|
||
```html | ||
{{ number + 1 }} {{ ok ? 'YES' : 'NO' }} {{ message.split('').reverse().join('') |
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.
#91 (comment)
原文に戻しました!
対応ありがとうございます。 CIでエラーが発生していますが、翻訳作業に支障がない(このPRとは別事象)なので、マージします! 翻訳ありがとうございました! |
Description of Problem
https://v3.vuejs.org/guide/template-syntax.html の翻訳
resolve #5
Proposed Solution
https://github.com/vuejs/jp.vuejs.org/blob/lang-ja/src/v2/guide/syntax.md
を参考に翻訳
Additional Information