-
Notifications
You must be signed in to change notification settings - Fork 27
gatsby-image to french #76
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your PR. But I feel like some parts were done using a translation tool. Which is forbidden.
Please fix this PR and we'll merge it.
|
||
> _Note: gatsby-image is **not** a drop-in replacement for `<img />`. It’s optimized for responsive fixed width/height images and images that stretch the full-width of a container. There are also other ways to [work with images](/docs/images-and-files/) in Gatsby that don't require GraphQL._ | ||
> _Remarque: gatsby-image n'est **pas** un remplacement instantané de `<img />`. Il est optimisé pour les images réactives de largeur / hauteur fixe et les images qui s'étendent sur toute la largeur d'un conteneur. Il existe également d'autres façons de [work with images](/docs/images-and-files/) dans Gatsby qui ne nécessitent pas GraphQL._ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some part of this line isn't translated
|
||
A common way to source images is to install and use `gatsby-source-filesystem` to connect your local files, but other source plugins can be used as well, such as `gatsby-source-contentful`, `gatsby-source-datocms` and `gatsby-source-sanity`. | ||
Une façon courante de générer des images est d'installer et d'utiliser `gatsby-source-filesystem` pour connecter vos fichiers locaux, mais d'autres plugins sources peuvent également être utilisés, tels que` gatsby-source-contentful`, `gatsby-source-datocms `et` gatsby-source-sanity`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think générer
can be used for source
@@ -33,27 +33,27 @@ module.exports = { | |||
} | |||
``` | |||
|
|||
_For in-depth install instructions, check out the docs on [Using Gatsby Image](/docs/using-gatsby-image/)._ | |||
_Pour des instructions d'installation détaillées, consultez la documentation sur [Using Gatsby Image](/docs/using-gatsby-image/)._ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should translate links' text also
|
||
### Gatsby image starts with a query | ||
|
||
To feed file data in to Gatsby Image, set up a [GraphQL query](/docs/graphql-reference/) and either pass it into a component as props or write it directly in the component. One technique is to leverage the [`useStaticQuery`](/docs/use-static-query/) hook. | ||
Pour alimenter les données du fichier dans Gatsby Image, configurez une [GraphQL query](/docs/graphql-reference/) et transmettez-la dans un composant en tant qu'accessoires ou écrivez-la directement dans le composant. Une technique consiste à tirer parti du hook [`useStaticQuery`](/docs/use-static-query/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We miss the meaning of the sentence at the beginning. It would be "Pour alimenter Gatsby Image en fichier de données..." instead of "Pour alimenter les données du fichiers dans Gatsby Image". We don't want to feed the file data but Gatsby Image with file data.
@@ -118,13 +118,13 @@ file(relativePath: { eq: "images/default.jpg" }) { | |||
} | |||
``` | |||
|
|||
Read more about fixed image queries in the [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#fixed) README. | |||
En savoir plus sur les requêtes d'images fixes dans le README [gatsby-plugin-sharp](/packages/gatsby-plugin-sharp/#fixed). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentence miss some words
No description provided.