{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular-fr/pulls/comments/74382946","id":74382946,"diff_hunk":"@@ -425,173 +728,338 @@ figure\n :marked\n   _Service_ is a broad category encompassing any value, function, or feature that our application needs.\n \n+  Les _services_ appartiennent à une vaste catégorie qui englobe toute valeur, fonction ou fonctionnalité dont notre application aura besoin.\n+\n   Almost anything can be a service.\n   A service is typically a class with a narrow, well-defined purpose. It should do something specific and do it well.\n+\n+  Tout peut être un service.\n+  Un service est typiquement une classe avec un but bien défini. Il doit faire quelque chose de spécifique et le faire bien.\n <br clear=\"all\">\n :marked\n   Examples include:\n+\n+  Par exemple&nbsp;:\n+\n   * logging service\n+\n+  * un service de traces\n+\n   * data service\n+\n+  * un service de données\n+\n   * message bus\n+\n+  * un bus de messages\n+\n   * tax calculator\n+\n+  * un calculateur de TVA\n+\n   * application configuration\n \n+  * la configuration de l'application\n+\n   There is nothing specifically _Angular_ about services. Angular itself has no definition of a service.\n   There is no service base class, and no place to register a service.\n \n+  Il n'y a rien de particulier dans _Angular_ pour les services. Angular lui même n'a pas de définition de service.\n+  Il n'y a pas de classe de base et de mécanisme de déclarations de services.\n+\n   Yet services are fundamental to any Angular application. Our components are big consumers of services.\n \n+  Mais pourtant les services sont fondamentaux dans les applications Angular. Nos composants sont de gros consommateurs de services.\n+\n   Here's an example of a service class that logs to the browser console\n \n+  Ci-dessous un exemple de classe de service qui affiche des messages dans la console du navigateur\n+\n +makeExcerpt('app/logger.service.ts', 'class')\n \n :marked\n   Here's a `HeroService` that fetches heroes and returns them in a resolved !{_PromiseLinked}.\n   The `HeroService` depends on the `Logger` service and another `BackendService` that handles the server communication grunt work.\n \n+  Voici le `HeroService` qui récupère les héros et les retourne sous la forme d'une !{_PromiseLinked}.\n+  Le `HeroService` dépends du service `Logger` et d'un autre `BackendService` qui gère la communication avec le serveur.\n+\n +makeExcerpt('app/hero.service.ts', 'class')\n \n :marked\n   Services are everywhere.\n \n+  Les services sont partout.\n+\n   We prefer our component classes lean. Our components don't fetch data from the server,\n   they don't validate user input, and they don't log directly to the console.\n   They delegate such tasks to services.\n \n+  Nous préférons alléger nos classes de composants. Nos composants ne récupèrent pas des données du serveur,\n+  ils ne valident pas les données saisies par l'utilisateur, et ils n'affichent pas directement des messages dans la console.\n+  Ils délèguent toutes ces taches à des services.\n+\n   A component's job is to enable the user experience and nothing more. It mediates between the view (rendered by the template)\n   and the application logic (which often includes some notion of a _model_).\n   A good component presents properties and methods for data binding.\n   It delegates everything nontrivial to services.\n \n+  Le travail d'un composant est d'améliorer l'expérience utilisateur et rien de plus. Il fait l'intermédiaire entre la vue (affichée dans le template)\n+  et la logique applicative (qui comporte souvent des notions de  _modèles_).\n+  Un bon composant expose des propriétés et des méthodes pour la liaison de données.\n+  Il délègue le reste à des services.\n+\n   Angular doesn't *enforce* these principles.\n   It won't complain if we write a \"kitchen sink\" component with 3000 lines.\n \n+  Angular ne vous **oblige** pas à utiliser ces concepts.\n+  Il ne vous empêchera pas d'écrire un composant fourre-tout de 3000 lignes.\n+\n   Angular does help us *follow* these principles by making it easy to factor our\n   application logic into services and make those services available to components through *dependency injection*.\n \n+  Angular nous encourage à *suivre* ces principes en nous facilitant la mise en place de la\n+  logique applicative dans des services et en rendant ces services disponibles pour nos composants grâce à  *l'injection de dépendances*.\n+\n .l-main-section\n :marked\n   ## Dependency injection\n+\n+  ## Injection de dépendances\n figure\n   img(src=\"/resources/images/devguide/architecture/dependency-injection.png\" alt=\"Service\" style=\"float:left; width:200px; margin-left:-40px;margin-right:10px\" )\n :marked\n   _Dependency injection_ is a way to supply a new instance of a class\n   with the fully-formed dependencies it requires. Most dependencies are services.\n   Angular uses dependency injection to provide new components with the services they need.\n-<br clear=\"all\">\n+\n+  L'_injection de dépendances_ permet de fournir une nouvelle instance de classe\n+  avec toutes les dépendances dont elle a besoins. La plupart des dépendances sont des services.","path":"public/docs/ts/latest/guide/architecture.jade","position":820,"original_position":820,"commit_id":"d1452e41d21675dbbe6b5d088f77827b44e5bc40","original_commit_id":"d1452e41d21675dbbe6b5d088f77827b44e5bc40","user":{"login":"frinyvonnick","id":13099512,"avatar_url":"https://avatars.githubusercontent.com/u/13099512?v=3","gravatar_id":"","url":"https://api.github.com/users/frinyvonnick","html_url":"https://github.com/frinyvonnick","followers_url":"https://api.github.com/users/frinyvonnick/followers","following_url":"https://api.github.com/users/frinyvonnick/following{/other_user}","gists_url":"https://api.github.com/users/frinyvonnick/gists{/gist_id}","starred_url":"https://api.github.com/users/frinyvonnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frinyvonnick/subscriptions","organizations_url":"https://api.github.com/users/frinyvonnick/orgs","repos_url":"https://api.github.com/users/frinyvonnick/repos","events_url":"https://api.github.com/users/frinyvonnick/events{/privacy}","received_events_url":"https://api.github.com/users/frinyvonnick/received_events","type":"User","site_admin":false},"body":"besoin","created_at":"2016-08-11T08:18:11Z","updated_at":"2016-08-11T08:18:11Z","html_url":"https://github.com/angular/angular-fr/pull/65#discussion_r74382946","pull_request_url":"https://api.github.com/repos/angular/angular-fr/pulls/65","_links":{"self":{"href":"https://api.github.com/repos/angular/angular-fr/pulls/comments/74382946"},"html":{"href":"https://github.com/angular/angular-fr/pull/65#discussion_r74382946"},"pull_request":{"href":"https://api.github.com/repos/angular/angular-fr/pulls/65"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular-fr/pulls/65","id":80624094,"html_url":"https://github.com/angular/angular-fr/pull/65","diff_url":"https://github.com/angular/angular-fr/pull/65.diff","patch_url":"https://github.com/angular/angular-fr/pull/65.patch","issue_url":"https://api.github.com/repos/angular/angular-fr/issues/65","number":65,"state":"open","locked":false,"title":"docs(guide): french translation (architecture)","user":{"login":"cbalit","id":1092034,"avatar_url":"https://avatars.githubusercontent.com/u/1092034?v=3","gravatar_id":"","url":"https://api.github.com/users/cbalit","html_url":"https://github.com/cbalit","followers_url":"https://api.github.com/users/cbalit/followers","following_url":"https://api.github.com/users/cbalit/following{/other_user}","gists_url":"https://api.github.com/users/cbalit/gists{/gist_id}","starred_url":"https://api.github.com/users/cbalit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbalit/subscriptions","organizations_url":"https://api.github.com/users/cbalit/orgs","repos_url":"https://api.github.com/users/cbalit/repos","events_url":"https://api.github.com/users/cbalit/events{/privacy}","received_events_url":"https://api.github.com/users/cbalit/received_events","type":"User","site_admin":false},"body":"Thank you for submitting this PR...\r\n\r\n**Please check if the PR fulfills these requirements**\r\n- [x] The commit message follows our guidelines: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit-message-format\r\n- [ ] Tests for the changes have been added (for bug fixes / features)\r\n- [ ] Docs have been added / updated (for bug fixes / features)\r\n\r\n\r\n**Please provide the issue number?**\r\n\r\nissue #13 \r\n\r\n**Did you finish translating the whole issue?**\r\n- [ ] no (pr_state: WIP)\r\n- [x] yes (pr_state: PLEASE_REVIEW)\r\n\r\n**What kind of change does this PR introduce?** (check one with \"x\")\r\n- [x] Translation\r\n- [ ] Other... Please describe:\r\n\r\n\r\n**Other information**:\r\n\r\n\r\n","created_at":"2016-08-09T13:52:30Z","updated_at":"2016-08-11T08:18:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"03e9171e9d13670e992ee2bbc6adafa767430192","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular-fr/pulls/65/commits","review_comments_url":"https://api.github.com/repos/angular/angular-fr/pulls/65/comments","review_comment_url":"https://api.github.com/repos/angular/angular-fr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular-fr/issues/65/comments","statuses_url":"https://api.github.com/repos/angular/angular-fr/statuses/d1452e41d21675dbbe6b5d088f77827b44e5bc40","head":{"label":"cbalit:tr-cbalit-13","ref":"tr-cbalit-13","sha":"d1452e41d21675dbbe6b5d088f77827b44e5bc40","user":{"login":"cbalit","id":1092034,"avatar_url":"https://avatars.githubusercontent.com/u/1092034?v=3","gravatar_id":"","url":"https://api.github.com/users/cbalit","html_url":"https://github.com/cbalit","followers_url":"https://api.github.com/users/cbalit/followers","following_url":"https://api.github.com/users/cbalit/following{/other_user}","gists_url":"https://api.github.com/users/cbalit/gists{/gist_id}","starred_url":"https://api.github.com/users/cbalit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbalit/subscriptions","organizations_url":"https://api.github.com/users/cbalit/orgs","repos_url":"https://api.github.com/users/cbalit/repos","events_url":"https://api.github.com/users/cbalit/events{/privacy}","received_events_url":"https://api.github.com/users/cbalit/received_events","type":"User","site_admin":false},"repo":{"id":64649408,"name":"angular-fr","full_name":"cbalit/angular-fr","owner":{"login":"cbalit","id":1092034,"avatar_url":"https://avatars.githubusercontent.com/u/1092034?v=3","gravatar_id":"","url":"https://api.github.com/users/cbalit","html_url":"https://github.com/cbalit","followers_url":"https://api.github.com/users/cbalit/followers","following_url":"https://api.github.com/users/cbalit/following{/other_user}","gists_url":"https://api.github.com/users/cbalit/gists{/gist_id}","starred_url":"https://api.github.com/users/cbalit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbalit/subscriptions","organizations_url":"https://api.github.com/users/cbalit/orgs","repos_url":"https://api.github.com/users/cbalit/repos","events_url":"https://api.github.com/users/cbalit/events{/privacy}","received_events_url":"https://api.github.com/users/cbalit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbalit/angular-fr","description":"French localization for angular.io","fork":true,"url":"https://api.github.com/repos/cbalit/angular-fr","forks_url":"https://api.github.com/repos/cbalit/angular-fr/forks","keys_url":"https://api.github.com/repos/cbalit/angular-fr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbalit/angular-fr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbalit/angular-fr/teams","hooks_url":"https://api.github.com/repos/cbalit/angular-fr/hooks","issue_events_url":"https://api.github.com/repos/cbalit/angular-fr/issues/events{/number}","events_url":"https://api.github.com/repos/cbalit/angular-fr/events","assignees_url":"https://api.github.com/repos/cbalit/angular-fr/assignees{/user}","branches_url":"https://api.github.com/repos/cbalit/angular-fr/branches{/branch}","tags_url":"https://api.github.com/repos/cbalit/angular-fr/tags","blobs_url":"https://api.github.com/repos/cbalit/angular-fr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbalit/angular-fr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbalit/angular-fr/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbalit/angular-fr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbalit/angular-fr/statuses/{sha}","languages_url":"https://api.github.com/repos/cbalit/angular-fr/languages","stargazers_url":"https://api.github.com/repos/cbalit/angular-fr/stargazers","contributors_url":"https://api.github.com/repos/cbalit/angular-fr/contributors","subscribers_url":"https://api.github.com/repos/cbalit/angular-fr/subscribers","subscription_url":"https://api.github.com/repos/cbalit/angular-fr/subscription","commits_url":"https://api.github.com/repos/cbalit/angular-fr/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbalit/angular-fr/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbalit/angular-fr/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbalit/angular-fr/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbalit/angular-fr/contents/{+path}","compare_url":"https://api.github.com/repos/cbalit/angular-fr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbalit/angular-fr/merges","archive_url":"https://api.github.com/repos/cbalit/angular-fr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbalit/angular-fr/downloads","issues_url":"https://api.github.com/repos/cbalit/angular-fr/issues{/number}","pulls_url":"https://api.github.com/repos/cbalit/angular-fr/pulls{/number}","milestones_url":"https://api.github.com/repos/cbalit/angular-fr/milestones{/number}","notifications_url":"https://api.github.com/repos/cbalit/angular-fr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbalit/angular-fr/labels{/name}","releases_url":"https://api.github.com/repos/cbalit/angular-fr/releases{/id}","deployments_url":"https://api.github.com/repos/cbalit/angular-fr/deployments","created_at":"2016-08-01T08:22:38Z","updated_at":"2016-08-01T08:22:42Z","pushed_at":"2016-08-10T15:33:35Z","git_url":"git://github.com/cbalit/angular-fr.git","ssh_url":"git@github.com:cbalit/angular-fr.git","clone_url":"https://github.com/cbalit/angular-fr.git","svn_url":"https://github.com/cbalit/angular-fr","homepage":null,"size":26729,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"421b24efa68811c39b714e59fd4c40381817f271","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":63256516,"name":"angular-fr","full_name":"angular/angular-fr","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular-fr","description":"French localization for angular.io","fork":false,"url":"https://api.github.com/repos/angular/angular-fr","forks_url":"https://api.github.com/repos/angular/angular-fr/forks","keys_url":"https://api.github.com/repos/angular/angular-fr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular-fr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular-fr/teams","hooks_url":"https://api.github.com/repos/angular/angular-fr/hooks","issue_events_url":"https://api.github.com/repos/angular/angular-fr/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular-fr/events","assignees_url":"https://api.github.com/repos/angular/angular-fr/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular-fr/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular-fr/tags","blobs_url":"https://api.github.com/repos/angular/angular-fr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular-fr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular-fr/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular-fr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular-fr/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular-fr/languages","stargazers_url":"https://api.github.com/repos/angular/angular-fr/stargazers","contributors_url":"https://api.github.com/repos/angular/angular-fr/contributors","subscribers_url":"https://api.github.com/repos/angular/angular-fr/subscribers","subscription_url":"https://api.github.com/repos/angular/angular-fr/subscription","commits_url":"https://api.github.com/repos/angular/angular-fr/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular-fr/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular-fr/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular-fr/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular-fr/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular-fr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular-fr/merges","archive_url":"https://api.github.com/repos/angular/angular-fr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular-fr/downloads","issues_url":"https://api.github.com/repos/angular/angular-fr/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular-fr/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular-fr/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular-fr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular-fr/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular-fr/releases{/id}","deployments_url":"https://api.github.com/repos/angular/angular-fr/deployments","created_at":"2016-07-13T15:11:43Z","updated_at":"2016-08-07T14:29:55Z","pushed_at":"2016-08-11T06:23:31Z","git_url":"git://github.com/angular/angular-fr.git","ssh_url":"git@github.com:angular/angular-fr.git","clone_url":"https://github.com/angular/angular-fr.git","svn_url":"https://github.com/angular/angular-fr","homepage":null,"size":26838,"stargazers_count":11,"watchers_count":11,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":41,"forks":17,"open_issues":41,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular-fr/pulls/65"},"html":{"href":"https://github.com/angular/angular-fr/pull/65"},"issue":{"href":"https://api.github.com/repos/angular/angular-fr/issues/65"},"comments":{"href":"https://api.github.com/repos/angular/angular-fr/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular-fr/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular-fr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular-fr/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular-fr/statuses/d1452e41d21675dbbe6b5d088f77827b44e5bc40"}}}}
{"actor":{"display_login":"frinyvonnick"}}