-
Notifications
You must be signed in to change notification settings - Fork 229
Translate v2.6 updates for components-slots.md #1480
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
|
||
To receive props passed to a slot, the parent component can use `<template>` with the `slot-scope` attribute (using the `<slot-example>` described [here](#Scoped-Slots) as example): | ||
スロットに渡されたプロパティを受け取るには、親コンポーネントは `<template>` に対して `slot-scope` 属性を使えます (例として、[ここ](#スコープ付きスロット) で説明した `<slot-example>` を使用): |
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.
リンク先のサンプルは v2.6 で <current-user>
に変わっており、 <slot-example>
ではありません。この後のサンプルも <slot-example>
を前提に話が進みますが、 <current-user>
に合わせて修正するか、 <slot-example>
のままにする代わりにここでの導入説明を修正するかしないといけない気がします。が、原文側での修正が必要になると思うので、いったん翻訳自体はそのまま進めています。
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.
そうですね。2.6の翻訳は、とりあえず進めて、後で対応することにしましょう。
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.
良さそうな気がしますー
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.
いつも翻訳ありがとうございます!
LGTMです! 👍
|
||
To receive props passed to a slot, the parent component can use `<template>` with the `slot-scope` attribute (using the `<slot-example>` described [here](#Scoped-Slots) as example): | ||
スロットに渡されたプロパティを受け取るには、親コンポーネントは `<template>` に対して `slot-scope` 属性を使えます (例として、[ここ](#スコープ付きスロット) で説明した `<slot-example>` を使用): |
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.
そうですね。2.6の翻訳は、とりあえず進めて、後で対応することにしましょう。
* Apply v2.6 updates in original English text (#1473) * cherry-pick vuejs/v2.vuejs.org@3cd3e69 * Translate v2.6 updates for syntax.md (#1474) * Translate v2.6 updates for syntax.md * Update src/v2/guide/syntax.md Co-Authored-By: oohira <oohira@users.noreply.github.com> * Translate v2.6 updates for installation.md (#1476) * Translate v2.6 updates for components-slots.md (#1480) * Translate v2.6 updates for api/index.md and render-function.md (#1512) * Translate v2.6 updates for api/index.md * Translate v2.6 updates for render-function.md
* first section of axios article * add in formatted example, start error section * alternative patterns and finishing up * small final edits * update small text fixes * add in .finally * coindesk => CoinDesk * update functions to have space before parens
概要
components-slots.md
を翻訳補足
lang-ja
ではなくv2.6
ブランチ