Skip to content

Commit 3324b60

Browse files
committed
Prepare all files for translastion
Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>
1 parent 0e3e701 commit 3324b60

23 files changed

+49
-49
lines changed

docs/en/SUMMARY.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
# vue-router 2
22
<!--email_off-->
3-
> Note: vue-router@2.x only works with Vue 2.x. Docs for 0.7.x is [here](https://github.com/vuejs/vue-router/tree/1.0/docs/en).
3+
> Note: vue-router@2.x fonctionne uniquement avec Vue 2.x. La doc pour la 0.7.x est [ici](https://github.com/vuejs/vue-router/tree/1.0/docs/en).
44
<!--/email_off-->
5-
**[Release Notes](https://github.com/vuejs/vue-router/releases)**
5+
**[Notes de release](https://github.com/vuejs/vue-router/releases)**
66

7-
- [Installation](installation.md)
8-
- Essentials
9-
- [Getting Started](essentials/getting-started.md)
10-
- [Dynamic Route Matching](essentials/dynamic-matching.md)
11-
- [Nested Routes](essentials/nested-routes.md)
12-
- [Programmatic Navigation](essentials/navigation.md)
13-
- [Named Routes](essentials/named-routes.md)
14-
- [Named Views](essentials/named-views.md)
15-
- [Redirect and Alias](essentials/redirect-and-alias.md)
16-
- [Passing Props to Route Components](essentials/passing-props.md)
17-
- [HTML5 History Mode](essentials/history-mode.md)
18-
- Advanced
19-
- [Navigation Guards](advanced/navigation-guards.md)
20-
- [Route Meta Fields](advanced/meta.md)
21-
- [Transitions](advanced/transitions.md)
22-
- [Data Fetching](advanced/data-fetching.md)
23-
- [Scroll Behavior](advanced/scroll-behavior.md)
24-
- [Lazy Loading](advanced/lazy-loading.md)
25-
- API Reference
26-
- [router-link](api/router-link.md)
27-
- [router-view](api/router-view.md)
28-
- [The Route Object](api/route-object.md)
29-
- [Router Constructor Options](api/options.md)
30-
- [Router Instance](api/router-instance.md)
31-
- [Component Injections](api/component-injections.md)
7+
- [Installation (En)](installation.md)
8+
- Essentiel
9+
- [Pour commencer (En)](essentials/getting-started.md)
10+
- [Dynamic Route Matching (En)](essentials/dynamic-matching.md)
11+
- [Nested Routes (En)](essentials/nested-routes.md)
12+
- [Programmatic Navigation (En)](essentials/navigation.md)
13+
- [Named Routes (En)](essentials/named-routes.md)
14+
- [Named Views (En)](essentials/named-views.md)
15+
- [Redirect and Alias (En)](essentials/redirect-and-alias.md)
16+
- [Passing Props to Route Components (En)](essentials/passing-props.md)
17+
- [HTML5 History Mode (En)](essentials/history-mode.md)
18+
- Avancé
19+
- [Navigation Guards (En)](advanced/navigation-guards.md)
20+
- [Route Meta Fields (En)](advanced/meta.md)
21+
- [Transitions (En)](advanced/transitions.md)
22+
- [Data Fetching (En)](advanced/data-fetching.md)
23+
- [Scroll Behavior (En)](advanced/scroll-behavior.md)
24+
- [Lazy Loading (En)](advanced/lazy-loading.md)
25+
- Réference de l'API
26+
- [router-link (En)](api/router-link.md)
27+
- [router-view (En)](api/router-view.md)
28+
- [The Route Object (En)](api/route-object.md)
29+
- [Router Constructor Options (En)](api/options.md)
30+
- [Router Instance (En)](api/router-instance.md)
31+
- [Component Injections (En)](api/component-injections.md)

docs/en/advanced/data-fetching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Data Fetching
1+
# Data Fetching (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
Sometimes you need to fetch data from the server when a route is activated. For example, before rendering a user profile, you need to fetch the user's data from the server. We can achieve this in two different ways:
44

docs/en/advanced/lazy-loading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Lazy Loading Routes
1+
# Lazy Loading Routes (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
When building apps with a bundler, the JavaScript bundle can become quite large, and thus affect the page load time. It would be more efficient if we can split each route's components into a separate chunk, and only load them when the route is visited.
44

docs/en/advanced/meta.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Route Meta Fields
1+
# Route Meta Fields (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
You can include a `meta` field when defining a route:
44

docs/en/advanced/navigation-guards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Navigation Guards
1+
# Navigation Guards (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
As the name suggests, the navigation guards provided by `vue-router` are primarily used to guard navigations either by redirecting it or canceling it. There are a number of ways to hook into the route navigation process: globally, per-route, or in-component.
44

docs/en/advanced/scroll-behavior.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Scroll Behavior
1+
# Scroll Behavior (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
When using client-side routing, we may want to scroll to top when navigating to a new route, or preserve the scrolling position of history entries just like real page reload does. `vue-router` allows you to achieve these and even better, allows you to completely customize the scroll behavior on route navigation.
44

docs/en/advanced/transitions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Transitions
1+
# Transitions (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
Since the `<router-view>` is essentially a dynamic component, we can apply transition effects to it the same way using the `<transition>` component:
44

docs/en/api/component-injections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Component Injections
1+
# Component Injections (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
### Injected Properties
44

docs/en/api/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Router Construction Options
1+
# Router Construction Options (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
### routes
44

docs/en/api/route-object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# The Route Object
1+
# The Route Object (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
A **route object** represents the state of the current active route. It contains parsed information of the current URL and the **route records** matched by the URL.
44

docs/en/api/router-instance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Router Instance
1+
# Router Instance (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
### Properties
44

docs/en/api/router-link.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `<router-link>`
1+
# `<router-link>` (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
`<router-link>` is the component for enabling user navigation in a router-enabled app. The target location is specified with the `to` prop. It renders as an `<a>` tag with correct `href` by default, but can be configured with the `tag` prop. In addition, the link automatically gets an active CSS class when the target route is active.
44

docs/en/api/router-view.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `<router-view>`
1+
# `<router-view>` (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
The `<router-view>` component is a functional component that renders the matched component for the given path. Components rendered in `<router-view>` can also contain its own `<router-view>`, which will render components for nested paths.
44

docs/en/essentials/dynamic-matching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Dynamic Route Matching
1+
# Dynamic Route Matching (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
Very often we will need to map routes with the given pattern to the same component. For example we may have a `User` component which should be rendered for all users but with different user IDs. In `vue-router` we can use a dynamic segment in the path to achieve that:
44

docs/en/essentials/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Getting Started
1+
# Getting Started (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
> We will be using [ES2015](https://github.com/lukehoban/es6features) in the code samples in the guide.
44

docs/en/essentials/history-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# HTML5 History Mode
1+
# HTML5 History Mode (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
The default mode for `vue-router` is _hash mode_ - it uses the URL hash to simulate a full URL so that the page won't be reloaded when the URL changes.
44

docs/en/essentials/named-routes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Named Routes
1+
# Named Routes (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
Sometimes it is more convenient to identify a route with a name, especially when linking to a route or performing navigations. You can give a route a name in the `routes` options while creating the Router instance:
44

docs/en/essentials/named-views.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Named Views
1+
# Named Views (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
Sometimes you need to display multiple views at the same time instead of nesting them, e.g. creating a layout with a `sidebar` view and a `main` view. This is where named views came in handy. Instead of having one single outlet in your view, you can have multiple and give each of them a name. A `router-view` without a name will be given `default` as its name.
44

docs/en/essentials/navigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Programmatic Navigation
1+
# Programmatic Navigation (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
Aside from using `<router-link>` to create anchor tags for declarative navigation, we can do this programmatically using the router's instance methods.
44

docs/en/essentials/nested-routes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Nested Routes
1+
# Nested Routes (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
Real app UIs are usually composed of components that are nested multiple levels deep. It is also very common that the segments of a URL corresponds to a certain structure of nested components, for example:
44

docs/en/essentials/passing-props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Passing Props to Route Components
1+
# Passing Props to Route Components (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
Using `$route` in your component creates a tight coupling with the route which limits the flexibility of the component as it can only be used on certain urls.
44

docs/en/essentials/redirect-and-alias.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Redirect and Alias
1+
# Redirect and Alias (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
### Redirect
44

docs/en/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Installation
1+
# Installation (En) <br><br> *Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vue-ssr-docs).*
22

33
### Direct Download / CDN
44

0 commit comments

Comments
 (0)