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

i18n(fr): update reference/configuration #2296

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/src/content/docs/fr/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,16 @@ Définit si le système de recherche du site par défaut de Starlight, [Pagefind
Utilisez la valeur `false` pour désactiver l'indexation de votre site avec Pagefind.
Cela désactivera également l'interface de recherche par défaut de Starlight si utilisée.

### `prerender`

**Type :** `boolean`
**Par défaut :** `true`

Définit si les pages générées par Starlight doivent être pré-rendues en HTML statique ou rendues à la demande par un [adaptateur SSR](https://docs.astro.build/fr/guides/server-side-rendering/).

Les pages Starlight sont pré-rendues par défaut.
Si vous utilisez un adaptateur SSR et que vous souhaitez générer les pages Starlight à la demande, définissez `prerender: false`.
Copy link
Member

@delucis delucis Sep 7, 2024

Choose a reason for hiding this comment

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

My brain keeps stumbling over “et que vous” instead of “et vous” but I trust you obviously 😁

Copy link
Member

Choose a reason for hiding this comment

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

Oh yeah and I see the exact same formulation in the Markdoc guide translation too. I’ll need to go learn what the purpose of the “que” is.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, it's not really mandatory in this case, it's used to avoid a repetition as the sentence technically should be "Si vous utilisez un adaptateur SSR et si vous souhaitez générer les pages Starlight à la demande, …" but to avoid the double "si", we use "que" (which is a "conjonction de subordination" here) for the second one.

Reference

Exemple from the reference:

Si nous cassons quelque chose et qu'elle s'en aperçoit… (= Si nous cassons quelque chose et si elle s'en aperçoit…)

Copy link
Member

Choose a reason for hiding this comment

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

Oh, thank you! Wasn’t at all familiar with that usage of “que”.


### `head`

**Type :** [`HeadConfig[]`](#headconfig)
Expand Down
Loading