Skip to content
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

Traduction de intro.md #5

Merged
merged 2 commits into from
May 10, 2017
Merged

Traduction de intro.md #5

merged 2 commits into from
May 10, 2017

Conversation

MachinisteWeb
Copy link
Member

Relecture de la traduction de intro.md par @darenju

Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>
Copy link
Member Author

@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.

Beaucoup de terme que nous pouvons traduire en concordance avec la traduction principale

docs/en/intro.md Outdated
@@ -1,10 +1,10 @@
# What is Vuex?
# Qu'est-ce que Vuex ?
Copy link
Member Author

Choose a reason for hiding this comment

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

Propositon

Vuex, qu'est-ce que c'est ?

Pour coller à toutes nos traductions « What's is X » qui donne « X, qu'est-ce que c'est ? »

docs/en/intro.md Outdated

Vuex is a **state management pattern + library** for Vue.js applications. It serves as a centralized store for all the components in an application, with rules ensuring that the state can only be mutated in a predictable fashion. It also integrates with Vue's official [devtools extension](https://github.com/vuejs/vue-devtools) to provide advanced features such as zero-config time-travel debugging and state snapshot export / import.
Vuex est un ***state management pattern* et une bibliothèque** pour des applications Vue.js. Il sert de store centralisé pour tous les composants dans une application, avec des règles pour s'assurer que l'état ne peut subir des mutations que d'une manière prévisible. Il s'intègre également avec [l'extension officielle](https://github.com/vuejs/vue-devtools) de Vue afin de fournir des fonctionnalités avancées comme voir l'état dans le temps et débugger sans configuration, ainsi que de prendre des instantanés, importer et exporter l'état.
Copy link
Member Author

@MachinisteWeb MachinisteWeb May 8, 2017

Choose a reason for hiding this comment

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

Proposition :

Vuex est un gestionnaire d'état (« state management pattern ») et une bibliothèque pour des applications Vue.js. Il sert de zone de stockage de données centralisée pour tous les composants dans une application, avec des règles pour s'assurer que l'état ne puisse subir de mutations que d'une manière prévisible.

... comme de la visualisation d'état dans le temps et des exports et imports d’instantanés (« snapshot ») d'état.

docs/en/intro.md Outdated

### What is a "State Management Pattern"?
### Qu'est-ce qu'un "State Management Pattern"?
Copy link
Member Author

Choose a reason for hiding this comment

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

Proposition :

Un « gestionnaire d'état », qu'est-ce que c'est ?

docs/en/intro.md Outdated

Let's start with a simple Vue counter app:
Commençons avec une simple application Vue de compteur :
Copy link
Member Author

Choose a reason for hiding this comment

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

Proposition :

une simple application de comptage Vue :

docs/en/intro.md Outdated

Let's start with a simple Vue counter app:
Commençons avec une simple application Vue de compteur :

``` js
new Vue({
Copy link
Member Author

Choose a reason for hiding this comment

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

// état

Copy link
Member Author

Choose a reason for hiding this comment

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

// vue

docs/en/intro.md Outdated

In addition, by defining and separating the concepts involved in state management and enforcing certain rules, we also give our code more structure and maintainability.
De plus, en définissant et en séparant les concepts impliqués dans la gestion d'un state et en appliquant certaines règles, on donne aussi une structure et une maintenabilité à notre code.
Copy link
Member Author

Choose a reason for hiding this comment

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

dans la gestion de l'état global

docs/en/intro.md Outdated

This is the basic idea behind Vuex, inspired by [Flux](https://facebook.github.io/flux/docs/overview.html), [Redux](http://redux.js.org/) and [The Elm Architecture](https://guide.elm-lang.org/architecture/). Unlike the other patterns, Vuex is also a library implementation tailored specifically for Vue.js to take advantage of its granular reactivity system for efficient updates.
Voilà l'idée de base derrière Vuex, inspiré par [Flux](https://facebook.github.io/flux/docs/overview.html), [Redux](http://redux.js.org/) et [l'Architecture Elm](https://guide.elm-lang.org/architecture/). À l'inverse des autres patterns, Vuex est aussi une bibliothèque d'implémentation conçue spécialement pour Vue.js afin de bénéficier de son système de réactivité granulaire pour des modifications efficaces.
Copy link
Member Author

@MachinisteWeb MachinisteWeb May 8, 2017

Choose a reason for hiding this comment

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

En français majuscule uniquement au premier mot d'un titre ou à un nom propre

l'architecture Elm

À l'inverse des autres modèles

docs/en/intro.md Outdated

Although Vuex helps us deal with shared state management, it also comes with the cost of more concepts and boilerplate. It's a trade-off between short term and long term productivity.
Bien que Vuex nous aide à gérer une state partagé, il apporte aussi le coût de nouveaux concepts et _boilerplate_. C'est un compromis entre la productivité à court terme et à long terme.
Copy link
Member Author

Choose a reason for hiding this comment

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

un état global partagé

cas d'utilisation pré-conçu.

docs/en/intro.md Outdated

If you've never built a large-scale SPA and jump right into Vuex, it may feel verbose and daunting. That's perfectly normal - if your app is simple, you will most likely be fine without Vuex. A simple [global event bus](http://vuejs.org/v2/guide/components.html#Non-Parent-Child-Communication) may be all you need. But if you are building a medium-to-large-scale SPA, chances are you have run into situations that make you think about how to better handle state outside of your Vue components, and Vuex will be the natural next step for you. There's a good quote from Dan Abramov, the author of Redux:
Si vous n'avez jamais créé une _Single Page Application_ à grande échelle et que vous sautez directement dans Vuex, cela peut paraître verbeux et intimidant. C'est parfaitement normal &mdash; si votre application est simple, vous vous en sortirez sans doute très bien sans Vuex. Un simple [bus d'event global](http://vuejs.org/guide/components.html#Non-Parent-Child-Communication) pourrait très bien vous suffire. Mais si vous devez créer une SPA à moyenne ou grande échelle, il y a des chances que vous vous trouviez dans des situations qui vous feront penser à une meilleure façon de gérer le state en-dehors de votre composant Vue, et Vuex sera naturellement la prochaine étape pour vous. Voici une bonne citation de Dan Abramov, l'auteur de Redux :
Copy link
Member Author

Choose a reason for hiding this comment

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

d'application monopage à grande échelle

bus d'évènement global

une application monopage

changer le lien pour la version Fr

qui vous feront vous interroger sur une meilleure gestion de l'état global, détaché de votre composant Vue,

docs/en/intro.md Outdated

> Flux libraries are like glasses: you’ll know when you need them.
> Les librairies Flux, c'est comme les lunettes : vous saurez quand vous en aurez besoin.
Copy link
Member Author

Choose a reason for hiding this comment

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

« Les librairies Flux, c'est comme les lunettes : vous saurez quand vous en aurez besoin. »

Copy link
Member

@Kocal Kocal left a comment

Choose a reason for hiding this comment

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

Bon boulot pour la traduction !

Pas vraiment de remarques pour une review, @haeresis en a déjà pas mal fait.

Je passe ma review en approve.

Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>
@MachinisteWeb MachinisteWeb merged commit adeb362 into working May 10, 2017
@MachinisteWeb MachinisteWeb deleted the working_intro branch May 10, 2017 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants