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

Translate /applications/dependency-injection.md, Ember 5.11 #257

Open
BlueCutOfficial opened this issue Oct 4, 2024 · 0 comments
Open
Labels
Guides FR trad File from the Ember Guides to translate in French

Comments

@BlueCutOfficial
Copy link
Member

Please assign yourself to the issue or let a comment at the very moment you start the translation.

File: guides/applications/dependency-injection.md
From Ember: 5.4
To Ember: 5.11

In the snippet below, you can see what changes were done in the latest English documentation. The purpose of this issue is to adjust the French translation to match the new version:

diff --git a/guides/applications/dependency-injection.md b/guides/applications/dependency-injection.md
index 3f38b52de..e15695366 100644
--- a/guides/applications/dependency-injection.md
+++ b/guides/applications/dependency-injection.md
@@ -192,7 +192,7 @@ This includes all of Ember's major framework classes, such as components, helper
 
 Dependency injections can also be declared directly on Ember classes using `inject`.
 Currently, `inject` supports injecting controllers (via `import { inject } from '@ember/controller';`)
-and services (via `import { inject } from '@ember/service';`).
+and services (via `import { service } from '@ember/service';`).
 
 The following code injects the `shopping-cart` service on the `cart-contents` component as the property `cart`:
 
@BlueCutOfficial BlueCutOfficial added the Guides FR trad File from the Ember Guides to translate in French label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Guides FR trad File from the Ember Guides to translate in French
Projects
None yet
Development

No branches or pull requests

1 participant