Skip to content

Commit

Permalink
i18n(fr): remove jsconfig mentions in guides and references
Browse files Browse the repository at this point in the history
* Remove all mentions of jsconfig in French guides and references
(see withastro#8818)

Note: `src/content/docs/en/guides/upgrade-to/v1.mdx` is not included
since it does not exist yet. I'll update the translation in withastro#8772.
  • Loading branch information
ArmandPhilippot committed Jul 17, 2024
1 parent 8267745 commit a2dfd95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/content/docs/fr/guides/imports.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ import logoUrl from '../../assets/logo.png?url';
Dans cet exemple, un développeur devra comprendre la relation de l'arborescente entre `src/pages/about/company.astro`, `src/components/controls/Button.astro`, et `src/assets/logo.png`. Et si le fichier `company.astro` devait être déplacé, ces importations devraient également être mises à jour.

Vous pouvez ajouter des alias d'importation à partir de `tsconfig.json` ou `jsconfig.json`.
Vous pouvez ajouter des alias d'importation dans `tsconfig.json`.
```json title="tsconfig.json" ins={5-6}
{
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/fr/guides/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Vous pouvez configurer TypeScript pour qu'il applique les importations de types

## Alias d'importation

Astro supporte les [alias d'importation](/fr/guides/imports/#alias) que vous définissez dans votre configuration `tsconfig.json` & `jsconfig.json` `paths`.
Astro supporte les [alias d'importation](/fr/guides/imports/#alias) que vous définissez dans la propriété `paths` de votre configuration `tsconfig.json`. [Consultez notre guide](/fr/guides/imports/#alias) pour en savoir plus.


```astro title="src/pages/about/nate.astro" "@components" "@layouts"
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/fr/reference/cli-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ Spécifie un autre répertoire racine à vérifier. Par défaut, le répertoire

#### `--tsconfig <path-to-file>`

Spécifie un fichier `tsconfig.json` ou `jsconfig.json` à utiliser manuellement. S'il n'est pas fourni, Astro essaiera de trouver une configuration, ou déduira automatiquement la configuration du projet.
Spécifie un fichier `tsconfig.json` à utiliser manuellement. S'il n'est pas fourni, Astro essaiera de trouver une configuration, ou déduira automatiquement la configuration du projet.

#### `--minimumFailingSeverity <error|warning|hint>`

Expand Down

0 comments on commit a2dfd95

Please sign in to comment.