Skip to content

Commit 5ac8c1b

Browse files
committed
Merge pull request #351 from kazupon/translation
Fix translation
2 parents d5c9af8 + e0c57c0 commit 5ac8c1b

27 files changed

+192
-43
lines changed

docs/en/api/start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Start the router-enabled app. Creates an instance of `App` and mounts it to `el`
44

55
### Arguments
66

7-
- `App: Function|Object`
7+
- `App: Function | Object`
88

99
The `App` can be a Vue component constructor or a component options object. If it's an object, the router will implicitly call `Vue.extend` on it. This component will be used to create the root Vue instance for the app.
1010

1111
**Note:**
1212
vue-router cannot be started with Vue instances.
1313

14-
- `el: String|Element`
14+
- `el: String | Element`
1515

1616
The element to mount the app on. Can be a CSS selector string or an actual element.
1717

docs/en/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
See [dist folder](https://github.com/vuejs/vue-router/tree/dev/dist). Note the dist files are always the latest stable - it's not update-to-date with the `dev` branch source.
66

77
### CDN
8-
[jsdelivr](https://cdn.jsdelivr.net/vue.router/0.7.7/vue-router.min.js)
8+
[jsdelivr](https://cdn.jsdelivr.net/vue.router/0.7.10/vue-router.min.js)
99

10-
[cdnjs](https://cdnjs.cloudflare.com/ajax/libs/vue-router/0.7.7/vue-router.min.js)
10+
[cdnjs](https://cdnjs.cloudflare.com/ajax/libs/vue-router/0.7.10/vue-router.min.js)
1111

1212
### NPM
1313

docs/ja/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- [Router オプション](options.md)
1111
- [router-view](view.md)
1212
- [v-link](link.md)
13+
- [Lazy loading Routes](lazy.md)
1314
- [トランジションパイプライン](pipeline/README.md)
1415
- [トランジションフック](pipeline/hooks.md)
1516
- [data](pipeline/data.md)

docs/ja/api/after-each.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `router.afterEach(hook)`
22

3-
route トランジションが正常に**活性化フェーズに入る**とき、毎回呼び出されるグローバルアフターフック (global after hook) を追加します。
3+
route トランジションが正常に**活性化フェーズに入る**とき、毎回呼び出されるグローバル after フック (global after hook) を追加します。
44

55
このフックが唯一トランジションが検証されたという意味を表すときに、呼ぼれるのを注意してください。すなわち、全ての `canDeactivate``canActivate` フックが正常に解決し、ブラウザ URL が更新されます。これは、全ての `activate` フックが解決されたことを保証しません。
66

@@ -10,7 +10,11 @@ route トランジションが正常に**活性化フェーズに入る**とき
1010

1111
- `hook {Function}`
1212

13-
hook 関数は[トランジションオブジェクト](../pipeline/hooks.html#transition-object)な単一の引数を受信します。しかし、route オブジェクトは `to``from` プロパティ のみだけアクセスすることができます。フック後、グローバルではトランジションメソッドを呼び出すことは**できません**
13+
hook 関数は[トランジションオブジェクト](../pipeline/hooks.html#トランジションオブジェクト)な単一の引数を受信します。しかし、route オブジェクトは `to``from` プロパティ のみだけアクセスすることができます。フック後、グローバルではトランジションメソッドを呼び出すことは**できません**
14+
15+
### 戻り値
16+
17+
- router インスタンス自身
1418

1519
###
1620

docs/ja/api/alias.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
エイリアスマップオブジェクトは `{ fromPath: toPath, ... }` の形にする必要があります。パスは動的セグメントを含むことができます。
1212

13+
### 戻り値
14+
15+
- router インスタンス自身
16+
1317
###
1418

1519
``` js

docs/ja/api/before-each.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
# `router.beforeEach(hook)`
22

3-
全ての route トランジションが開始する前に呼ばれるグローバルビフォーフック (global before hook) をルーターに追加します。これは、トランジションパイプライン全体の前で、もし、フックがトランジションで拒否する場合、パイプラインは本当に開始されません。
3+
全ての route トランジションが開始する前に呼ばれるグローバル before フック (global before hook) をルーターに追加します。これは、トランジションパイプライン全体の前で、もし、フックがトランジションで拒否する場合、パイプラインは本当に開始されません。
44

55
同じルーターにフックする前に複数のグローバルを追加できます。これらのフックは作成の順序で呼ばれます。フックは非同期に解決することができるため、前のものが解決されるまで次のフックは呼び出されません。
66

7+
グローバル before フックは[フックの解決ルール](../pipeline/hooks.html#フックの解決ルール)と同じように解決されます。
8+
79
### 引数
810

911
- `hook {Function}`
1012

11-
hook 関数は[トランジションオブジェクト](../pipeline/hooks.html#transition-object)な単一の引数を受信します。
13+
hook 関数は[トランジションオブジェクト](../pipeline/hooks.html#トランジションオブジェクト)な単一の引数を受信します。
14+
15+
### 戻り値
16+
17+
- router インスタンス自身
1218

1319
###
1420

docs/ja/api/map.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
- `routeMap: Object`
88

9-
キーはパスで、値は route 設定オブジェクトです。パスのマッチングルールは、[Route マッチング](../route.html#route-matching)を参照してください。
9+
キーはパスで、値は route 設定オブジェクトです。パスのマッチングルールは、[Route マッチング](../route.html#Route マッチング)を参照してください。
1010

1111
### Route 設定オブジェクト
1212

@@ -16,6 +16,10 @@ route 設定オブジェクトは2つのフィールドを含むことができ
1616

1717
- `subRoutes`: ここには他のサブ route マップをネストすることができます。`routeRoutes` マップ内の各サブパスついて、ルーターは親パスを追加することによって完全なパスに対してマッチします。マッチしたコンポーネントは親の route コンポーネントの `<router-view>` outlet にレンダリングされます。
1818

19+
### 戻り値
20+
21+
- router インスタンス自身
22+
1923
###
2024

2125
``` js

docs/ja/api/on.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44

55
### 引数
66

7-
- `path: String` - [Route マッチング](../route.md#route-matching)を参照してください。
8-
- `config: Object` - [Route 設定オブジェクト](map.md#route-config-object)を参照してください。
7+
- `path: String` - [Route マッチング](../route.md#Route マッチング)を参照してください。
8+
- `config: Object` - [Route 設定オブジェクト](map.md#Route 設定オブジェクト)を参照してください。
9+
10+
### 戻り値
11+
12+
- router インスタンス自身
913

1014
###
1115

docs/ja/api/properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
- 型: `Vue`
88

9-
root Vue インスタンスはルーターインスタンスによって管理されます。このインスタンスは `router.start()` に渡した Vue コンポーネントのコンストラクタから作成されます。
9+
root Vue インスタンスはルーターインスタンスによって管理されます。このインスタンスは `router.start()` に渡した Vue コンポーネントのコンストラクタから作成されます。ルーターがロード時にリダイレクトを実行しなければならない場合のとき、同期的に利用できない場合があります。あなたのアプリケーションのコンポーネントの外部で `router.app` にアクセスする必要がある場合、`router.start()` に渡されたコールバック内部でそうすることができることに注意してください。
1010

1111
### `router.mode`
1212

docs/ja/api/redirect.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
リダイレクトマップオブジェクトは `{ fromPath: toPath, ... }` の形にする必要があります。パスは動的セグメントを含むことができます。
1010

11+
### 戻り値
12+
13+
- router インスタンス自身
14+
1115
###
1216

1317
``` js

0 commit comments

Comments
 (0)