Skip to content

Commit 7c89977

Browse files
i18n(fr): update errors and error-reference.mdx (#12437)
Co-authored-by: Yan <[email protected]>
1 parent 2657e0a commit 7c89977

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

src/content/docs/fr/reference/error-reference.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ La référence suivante est une liste complète des erreurs que vous pouvez renc
4848
- [**UnsupportedImageFormat**](/fr/reference/errors/unsupported-image-format/)<br/>Format d'image non pris en charge
4949
- [**UnsupportedImageConversion**](/fr/reference/errors/unsupported-image-conversion/)<br/>Conversion d'image non prise en charge.
5050
- [**PrerenderDynamicEndpointPathCollide**](/fr/reference/errors/prerender-dynamic-endpoint-path-collide/)<br/>Le point de terminaison dynamique généré entre en collision avec une autre route.
51+
- [**PrerenderRouteConflict**](/fr/reference/errors/prerender-route-conflict/)<br/>La route pré-rendue génère le même chemin qu'une autre route.
5152
- [**ExpectedImage**](/fr/reference/errors/expected-image/)<br/>S'attendait à ce que src soit une image.
5253
- [**ExpectedImageOptions**](/fr/reference/errors/expected-image-options/)<br/>Options d'image attendues.
5354
- [**ExpectedNotESMImage**](/fr/reference/errors/expected-not-esmimage/)<br/>Options d'image attendues, pas une image importée par ESM.

src/content/docs/fr/reference/errors/font-family-not-found.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ i18nReady: true
44
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
55
---
66

7-
> No data was found for the family passed to the Font component.
7+
> No data was found for the `cssVariable` passed to the `<Font />` component or to the `getFontData()` function.
88
99
## Qu'est-ce qui a mal tourné ?
1010
Famille de polices non trouvée
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: La route pré-rendue génère le même chemin qu'une autre route.
3+
i18nReady: true
4+
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
5+
---
6+
7+
> **PrerenderRouteConflict**: Could not render `PATHNAME` from route `THIS_ROUTE` as it conflicts with higher priority route `WINNING_ROUTE`.
8+
9+
## Qu'est-ce qui a mal tourné ?
10+
Deux routes pré-rendues génèrent le même chemin, ce qui entraîne une collision.
11+
Un chemin statique ne peut être généré que par une seule route.
12+
13+
**Voir également :**
14+
- [`getStaticPaths()`](/fr/reference/routing-reference/#getstaticpaths)
15+
- [`params`](/fr/reference/api-reference/#params)

0 commit comments

Comments
 (0)