From 0f419aafeaf158533dd9c48037d33e24528c696d Mon Sep 17 00:00:00 2001 From: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> Date: Sun, 28 Jan 2024 09:19:33 +0100 Subject: [PATCH 01/19] Update add-content-collections.mdx Just for Lunaria --- src/content/docs/fr/tutorials/add-content-collections.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/fr/tutorials/add-content-collections.mdx b/src/content/docs/fr/tutorials/add-content-collections.mdx index 170a42ef7e143..e9083802d6641 100644 --- a/src/content/docs/fr/tutorials/add-content-collections.mdx +++ b/src/content/docs/fr/tutorials/add-content-collections.mdx @@ -1,7 +1,7 @@ --- title: Tutoriel - Étendre avec les collections de contenu -description: >- - Convertir le code du didacticiel Construire un blog du routage basé sur les fichiers aux collections de contenu. +description: Convertir le code du didacticiel Construire un blog du routage basé sur les fichiers aux collections de contenu. + i18nReady: true --- import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'; From c67a4e138b66653781ec7b666d2939af6e18289c Mon Sep 17 00:00:00 2001 From: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> Date: Sun, 28 Jan 2024 09:22:04 +0100 Subject: [PATCH 02/19] Update 2.mdx Update with PR #6558 --- src/content/docs/fr/tutorial/6-islands/2.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content/docs/fr/tutorial/6-islands/2.mdx b/src/content/docs/fr/tutorial/6-islands/2.mdx index f64bdd6afcdde..4640c44d363b7 100644 --- a/src/content/docs/fr/tutorial/6-islands/2.mdx +++ b/src/content/docs/fr/tutorial/6-islands/2.mdx @@ -12,6 +12,8 @@ import MultipleChoice from '~/components/tutorial/MultipleChoice.astro'; import Option from '~/components/tutorial/Option.astro'; import PreCheck from '~/components/tutorial/PreCheck.astro'; + + Maintenant que vous savez comment créer des îles Astro pour des éléments interactifs, n'oubliez pas que vous pouvez aller assez loin avec seulement du JavaScript et du CSS ! Construisons une icône cliquable pour permettre à vos utilisateurs de basculer entre le mode clair ou sombre en utilisant une autre balise ` +```astro title="src/pages/index.astro" ins={6} ins="x-collapse" +--- +--- + + + + + + + +
+ + +

+ Lorem ipsum +

+
+ + ``` -## Configuration +## Intellisense pour TypeScript -L'intégration d'Alpine.js ne prend pas en charge les configurations personnalisées pour le moment. +L'intégration `@astrojs/alpine` ajoute `Alpine` à l'objet global de la fenêtre. Pour l'autocomplétion de l'IDE, ajoutez ce qui suit à votre `src/env.d.ts` : + +```ts title="src/env.d.ts" +interface Window { + Alpine: import('alpinejs').Alpine; +} +``` ## Exemples From f9247d5a5768ac504988c5f0c881e50e0b8ef946 Mon Sep 17 00:00:00 2001 From: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> Date: Sun, 28 Jan 2024 23:05:39 +0100 Subject: [PATCH 15/19] Update src/content/docs/fr/install/manual.mdx Co-authored-by: Thomas Bonnet --- src/content/docs/fr/install/manual.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/fr/install/manual.mdx b/src/content/docs/fr/install/manual.mdx index b4aca6db08469..071b329a08caf 100644 --- a/src/content/docs/fr/install/manual.mdx +++ b/src/content/docs/fr/install/manual.mdx @@ -10,7 +10,7 @@ import ReadMore from '~/components/ReadMore.astro' Ce guide vous montrera comment installer et configurer manuellement un nouveau projet Astro. -:::tip[Vous préférez une méthode plus rapide pour commencer?] +:::tip[Vous préférez une méthode plus rapide pour commencer ?] Suivez plutôt l'assistant [créer l'assistant CLI astr](/fr/install/auto/). ::: From ae33953c913c9f951082c8d3bf70073a9eb8249e Mon Sep 17 00:00:00 2001 From: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> Date: Sun, 28 Jan 2024 23:05:49 +0100 Subject: [PATCH 16/19] Update src/content/docs/fr/guides/integrations-guide/alpinejs.mdx Co-authored-by: Thomas Bonnet --- src/content/docs/fr/guides/integrations-guide/alpinejs.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/fr/guides/integrations-guide/alpinejs.mdx b/src/content/docs/fr/guides/integrations-guide/alpinejs.mdx index bd02c70a022b8..a27682d376016 100644 --- a/src/content/docs/fr/guides/integrations-guide/alpinejs.mdx +++ b/src/content/docs/fr/guides/integrations-guide/alpinejs.mdx @@ -121,7 +121,7 @@ export default (Alpine: Alpine) => { Une fois l'intégration installée, vous pouvez utiliser les directives et la syntaxe [Alpine.js](https://alpinejs.dev/) dans n'importe quel composant Astro. Le script Alpine.js est automatiquement ajouté et activé sur chaque page de votre site web. Ajoutez les scripts du plugin à la page ``. -L'exemple suivant ajoute le plugin [Alpine's Collapse plugin](https://alpinejs.dev/plugins/collapse) pour développer et réduire le texte d'un paragraphe. +L'exemple suivant ajoute le plugin [Alpine's Collapse](https://alpinejs.dev/plugins/collapse) pour développer et réduire le texte d'un paragraphe. ```astro title="src/pages/index.astro" ins={6} ins="x-collapse" --- From cfdae65430f200a72dffe81c416587df032c47be Mon Sep 17 00:00:00 2001 From: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> Date: Mon, 29 Jan 2024 19:33:21 +0100 Subject: [PATCH 17/19] Update src/content/docs/fr/reference/errors/missing-index-for-internationalization.mdx Co-authored-by: voxel!() --- .../errors/missing-index-for-internationalization.mdx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/content/docs/fr/reference/errors/missing-index-for-internationalization.mdx b/src/content/docs/fr/reference/errors/missing-index-for-internationalization.mdx index f848df1a3f5c8..6ff1ee53d2ff4 100644 --- a/src/content/docs/fr/reference/errors/missing-index-for-internationalization.mdx +++ b/src/content/docs/fr/reference/errors/missing-index-for-internationalization.mdx @@ -8,10 +8,6 @@ githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/ --- -import DontEditWarning from '~/components/DontEditWarning.astro' - - - > **MissingIndexForInternationalization**: Could not find index page. A root index page is required in order to create a redirect to the index URL of the default locale. (`/DEFAULT_LOCALE`) ## Qu'est-ce qui ne va pas ? From 04156d054e140eac09f2b4e814fc12d1d78ec3d9 Mon Sep 17 00:00:00 2001 From: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> Date: Mon, 29 Jan 2024 19:33:30 +0100 Subject: [PATCH 18/19] Update src/content/docs/fr/reference/errors/i18n-not-enabled.mdx Co-authored-by: voxel!() --- src/content/docs/fr/reference/errors/i18n-not-enabled.mdx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/content/docs/fr/reference/errors/i18n-not-enabled.mdx b/src/content/docs/fr/reference/errors/i18n-not-enabled.mdx index fd6dd259dda9f..9b294f379d192 100644 --- a/src/content/docs/fr/reference/errors/i18n-not-enabled.mdx +++ b/src/content/docs/fr/reference/errors/i18n-not-enabled.mdx @@ -8,10 +8,6 @@ githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/ --- -import DontEditWarning from '~/components/DontEditWarning.astro' - - - > **i18nNotEnabled**: The `astro:i18n` module can not be used without enabling i18n in your Astro config. From 471500f252831b51e8c1cb53c118d9a6f8d1f846 Mon Sep 17 00:00:00 2001 From: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> Date: Mon, 29 Jan 2024 19:33:45 +0100 Subject: [PATCH 19/19] Update src/content/docs/fr/reference/errors/astro-glob-no-match.mdx Co-authored-by: voxel!() --- src/content/docs/fr/reference/errors/astro-glob-no-match.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/content/docs/fr/reference/errors/astro-glob-no-match.mdx b/src/content/docs/fr/reference/errors/astro-glob-no-match.mdx index f864fe2890d24..e15666bf6005a 100644 --- a/src/content/docs/fr/reference/errors/astro-glob-no-match.mdx +++ b/src/content/docs/fr/reference/errors/astro-glob-no-match.mdx @@ -3,7 +3,6 @@ title: Astro.glob() ne correspond à aucun fichier i18nReady: true githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts --- -import DontEditWarning from '~/components/DontEditWarning.astro' > **AstroGlobNoMatch**: `Astro.glob(GLOB_STR)` did not return any matching files.