-
Notifications
You must be signed in to change notification settings - Fork 667
docs: update docs/ja #533
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: update docs/ja #533
Conversation
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,4 +1,4 @@ | |||
# mount(component {, options}]) | |||
# mount(component [, options]) |
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.
原文が間違っているのでこのpull requestで修正しています。
docs/ja/api/options.md
Outdated
@@ -37,7 +38,8 @@ expect(wrapper.is(Component)).toBe(true) | |||
|
|||
- 型: `{ [name: string]: Array<Component>|Component|string }` | |||
|
|||
コンポーネントにスロットコンテンツのオブジェクトを渡します。key はスロット名に対応します。値は、コンポーネント、コンポーネントの配列、またはテンプレート文字列のいずれかになります。 | |||
コンポーネントにスロットコンテンツのオブジェクトを渡します。key はスロット名に対応します。 | |||
値は、コンポーネント、コンポーネントの配列、またはテンプレート文字列のいずれかになります。 |
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行にしておいた方がいいと思います。
docs/ja/api/options.md
Outdated
- 型: `{ [name: string]: string }` | ||
|
||
コンポーネントにスコープ付きスロットのコンテンツのオブジェクトを渡します。key はスロット名に対応します。 | ||
値はテンプレート文字列を指定します。 |
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行にしておいた方がいいですね。
https://github.com/vuejs/vue-test-utils/blame/dev/docs/en/api/options.md#L84
docs/ja/api/options.md
Outdated
|
||
* `<template>` タグを `scopedSlots` オプションのルート要素として使用することはできません。 | ||
|
||
* PhantomJS をサポートしません。代わりに [Puppeteer](https://github.com/karma-runner/karma-chrome-launcher#headless-chromium-with-puppeteer) を使用してください。 |
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.
原文では改行しているのですが、どちらかに統一した方がいいですね。どちらが正しいのか迷わないので。
docs/ja/api/options.md
Outdated
|
||
### `stubs` | ||
|
||
- type: `{ [name: string]: Component | boolean } | Array<string>` | ||
|
||
子のコンポーネントをスタブします。スタブまたはオブジェクトに対するコンポーネント名の配列になります。`stubs` が配列の場合、すべてのスタブは `<!---->` になります。 | ||
子コンポーネントをスタブします。スタブまたはオブジェクトに対するコンポーネント名の配列になります。 |
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.
ここの行もそうですね。原文、翻訳言語どちらが正しいのか少し混乱します。
https://github.com/vuejs/vue-test-utils/blame/dev/docs/en/api/options.md#L102
docs/ja/api/options.md
Outdated
@@ -108,7 +136,8 @@ expect(wrapper.vm.$route.path).toBe($route.path) | |||
|
|||
- 型: `Vue` | |||
|
|||
コンポーネントのマウント時に使用する [createLocalVue](./createLocalVue.md) によって作成された Vue のローカルコピーです。この Vue のコピーにプラグインをインストールすると、元の `Vue` コピーが汚染されなくなります。 | |||
コンポーネントのマウント時に使用する [createLocalVue](./createLocalVue.md) によって作成された Vue のローカルコピーです。 |
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.
ここもそうです。原文では改行していないです。
https://github.com/vuejs/vue-test-utils/blame/dev/docs/en/api/options.md#L145
@@ -1,4 +1,4 @@ | |||
# shallow(component {, options}]) | |||
# shallow(component [, options]) |
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.
原文が間違っているのでこのpull requestで修正しています。
@@ -1,4 +1,4 @@ | |||
# `mount(component {, options}])` | |||
# `mount(component [, options])` |
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.
@eddyerburgh
I fixed this format.
@@ -1,4 +1,4 @@ | |||
# `shallow(component {, options}])` | |||
# `shallow(component [, options])` |
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.
@eddyerburgh
I fixed this format.
@kazupon |
すいません。見切れてなくて。🙇 |
@kazupon |
No description provided.