Skip to content

v2/guide/routing.md - proposition de traduction #11

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 3 commits into from
Jan 11, 2017
Merged

v2/guide/routing.md - proposition de traduction #11

merged 3 commits into from
Jan 11, 2017

Conversation

yann-yinn
Copy link

No description provided.

Copy link
Member

@sylvainpolletvillard sylvainpolletvillard left a comment

Choose a reason for hiding this comment

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

1ère relecture. Pas grand chose sur cette page, une seule passe suffira je pense

@@ -1,16 +1,16 @@
---
title: Routing
title: Routeur

Choose a reason for hiding this comment

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

Routage plutôt

@@ -35,9 +35,9 @@ new Vue({
render (h) { return h(this.ViewComponent) }
})
```
Combiné à l'API d'historique d'HTML5, vous pouvez construire un routeur client basique mais parfaitement fonctionnel.

Choose a reason for hiding this comment

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

API HTML5 History (garder le nom officiel de la spec pour trouver plus facilement les références et coller au namespace History associé)

## Integrating 3rd-Party Routers

If there's a 3rd-party router you prefer to use, such as [Page.js](https://github.com/visionmedia/page.js) or [Director](https://github.com/flatiron/director), integration is [similarly easy](https://github.com/chrisvfritz/vue-2.0-simple-routing-example/compare/master...pagejs). Here's a [complete example](https://github.com/chrisvfritz/vue-2.0-simple-routing-example/tree/pagejs) using Page.js.
Si il y a un routeur tierce-partie que vous préférez utiliser, tel que [Page.js](https://github.com/visionmedia/page.js) ou [Director](https://github.com/flatiron/director), l'intégration est [tout aussi simple](https://github.com/chrisvfritz/vue-2.0-simple-routing-example/compare/master...pagejs). Voici [un exemple complet](https://github.com/chrisvfritz/vue-2.0-simple-routing-example/tree/pagejs) qui utilise Page.js.

Choose a reason for hiding this comment

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

S'il y a

@yann-yinn
Copy link
Author

Corrections apportées.

Copy link
Member

@MachinisteWeb MachinisteWeb left a comment

Choose a reason for hiding this comment

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

Et un nouveau fichier ! Thx. Quelques modif pour ma part.


<p class="tip">**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/vuejs.org).**</p>For most Single Page Applications, it's recommended to use the officially-supported [vue-router library](https://github.com/vuejs/vue-router). For more details, see vue-router's [documentation](http://vuejs.github.io/vue-router/).
Pour la plupart des applications monopages, il est recommandé d'utiliser la librairie officiellement supportée [vue-router](https://github.com/vuejs/vue-router). Pour plus de détails, voir la [documentation de vue-router](http://vuejs.github.io/vue-router/).
Copy link
Member

@MachinisteWeb MachinisteWeb Jan 10, 2017

Choose a reason for hiding this comment

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

la bibliothèque officiellement supportée

On traduit library par bibliothèque comme l'a suggéré @sylvainpolletvillard


## Simple Routing From Scratch
## Un routeur simple en partant de zéro
Copy link
Member

Choose a reason for hiding this comment

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

Je pencherai pour

Du routage simple en partant de zéro

Puisqu'on parle de « routing » et non de « router »


If you just need very simple routing and do not wish to involve a full-featured router library, you can do so by dynamically rendering a page-level component like this:
Si vous avez simplement besoin d'un routage très simple et ne souhaitez pas ajouter une librairie riche en fonctionnalités, vous pouvez le faire en déclenchant dynamiquement le rendu d'un composant de page de cette manière :
Copy link
Member

Choose a reason for hiding this comment

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

ajouter une bibliothèque riche

@@ -35,9 +35,9 @@ new Vue({
render (h) { return h(this.ViewComponent) }
})
```
Combiné à l'API HTML5 History, vous pouvez construire un routeur client basique mais parfaitement fonctionnel.
Pour en voir une démonstration, faites un checkout [de cette application d'exemple](https://github.com/chrisvfritz/vue-2.0-simple-routing-example).
Copy link
Member

@MachinisteWeb MachinisteWeb Jan 10, 2017

Choose a reason for hiding this comment

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

Que faisons nous des termes associés au versionnage de source ?

Repository devient Dépôt

Mais le reste ?

Commit = Valider
Checkin = Archiver ?
Checkout = Extraire ?
Fetch = Récupérer ?
Add = Ajouter ?

etc.

Je serais d'avis de conserver les termes car je les ai moi même rarement vu traduit en ce qui concerne GIT là ou ce n'est pas le cas pour d'autres plateformes.

Copy link
Member

@sylvainpolletvillard sylvainpolletvillard Jan 10, 2017

Choose a reason for hiding this comment

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

La doc ne s’embarrasse pas d'expliquer le fonctionnement de git donc même en traduisant, pas sûr que ça aide le lecteur non averti.

Copy link
Author

Choose a reason for hiding this comment

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

Je trouve aussi plus facile à lire de garder les termes anglais pour ce qui touche à git

@yann-yinn
Copy link
Author

@haeresis j'ai intégré tes modifs

Copy link
Member

@MachinisteWeb MachinisteWeb left a comment

Choose a reason for hiding this comment

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

Good pour moi

@MachinisteWeb MachinisteWeb merged commit 0d2ab14 into vuejs-fr:master Jan 11, 2017
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