Skip to content

update ja docs #1400

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

Merged
merged 13 commits into from
Sep 24, 2018
Merged

update ja docs #1400

merged 13 commits into from
Sep 24, 2018

Conversation

kazupon
Copy link
Member

@kazupon kazupon commented Sep 12, 2018

/ping @ktsn

Copy link

@potato4d potato4d left a comment

Choose a reason for hiding this comment

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

Promise って「プロミス」に訳する方針でしたっけ 🤔

@@ -127,19 +127,19 @@ describe('actions', () => {
})
```

If you have spies available in your testing environment (for example via [Sinon.JS](http://sinonjs.org/)), you can use them instead of the `testAction` helper:
テスト環境(例えば[Sinon.JS](http://sinonjs.org/)で)において利用可能なスパイがあるのなら、`testAction` ヘルパーの代わりにそれらを使用できます:
Copy link
Member

Choose a reason for hiding this comment

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

SinonJS についてはスパイの方に掛かっているので、テスト環境において利用可能なスパイがあるのなら(例えばSinon.JS) にするのはどうでしょうか?


監視を止める場合は、ハンドラ関数の返り値を関数として呼び出します
監視を止める場合は、unwatch 関数の返り値を関数として呼び出します
Copy link
Member

Choose a reason for hiding this comment

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

返された unwatch 関数を呼び出します が意図としては正しいですね。

npm install es6-promise --save # NPM
yarn add es6-promise # Yarn
```

Furthermore, add the below line into anywhere in your code before using Vuex:
さらに、Vuex を使用する前に、コードのどこかに次のを行を追加します:
Copy link
Member

Choose a reason for hiding this comment

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

次のを行を

typo 👀

@@ -224,7 +224,7 @@ const store = new Vuex.Store({ ...options })

第1引数は、オプションで名前空間文字列にすることができます。[詳細](../guide/modules.md#binding-helpers-with-namespace)

The Second object argument's members can be a function. `function(state: any)`
第2引数のオブジェクト引数メンバーには関数 `function(state: any)` を指定できます。
Copy link
Member

Choose a reason for hiding this comment

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

オブジェクト引数メンバー

これは少し何を指しているのか分かりづらいので、助詞を入れるなどして 第2引数のオブジェクトのメンバーには とするのはどうでしょうか?

Copy link
Member

@ktsn ktsn left a comment

Choose a reason for hiding this comment

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

👍

@ktsn ktsn merged commit 08bd0d9 into vuejs:dev Sep 24, 2018
@kazupon kazupon deleted the docs/ja branch September 24, 2018 14:53
@kazupon
Copy link
Member Author

kazupon commented Sep 24, 2018

@ktsn @potato4d
レビューありがとうございました!

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