From 53e0c98dae1046b18eb290018274b44557e52611 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Mon, 19 Dec 2022 03:00:00 -0800 Subject: [PATCH] Fix spelling mistakes found by codespell and mwic (#5627) --- examples/docs/README.md | 4 ++-- packages/astro/CHANGELOG.md | 2 +- packages/astro/README.md | 2 +- packages/astro/components/Shiki.js | 2 +- packages/astro/src/core/errors/errors-data.ts | 4 ++-- packages/astro/src/core/errors/utils.ts | 2 +- packages/astro/src/core/render/route-cache.ts | 2 +- packages/astro/src/runtime/server/index.ts | 2 +- packages/astro/src/runtime/server/shorthash.ts | 2 +- packages/astro/src/vite-plugin-astro/hmr.ts | 2 +- packages/astro/src/vite-plugin-astro/query.ts | 2 +- packages/astro/src/vite-plugin-config-alias/index.ts | 2 +- packages/astro/src/vite-plugin-head-propagation/index.ts | 2 +- packages/astro/test/astro-css-bundling.test.js | 2 +- packages/astro/test/astro-envs.test.js | 2 +- packages/astro/test/custom-elements.test.js | 2 +- .../src/assets/serendipity-morning.json | 2 +- .../astro-markdown-shiki/themes-custom/astro.config.mjs | 2 +- .../astro/test/fixtures/markdown/src/pages/realworld.md | 4 ++-- packages/astro/test/lit-element.test.js | 2 +- packages/astro/test/react-jsx-export.test.js | 2 +- packages/astro/test/test-utils.js | 4 ++-- packages/create-astro/CHANGELOG.md | 6 +++--- packages/integrations/deno/CHANGELOG.md | 2 +- packages/integrations/image/src/utils/shorthash.ts | 2 +- .../image/src/vendor/squoosh/avif/avif_node_dec.ts | 2 +- .../image/src/vendor/squoosh/avif/avif_node_enc.ts | 2 +- .../image/src/vendor/squoosh/mozjpeg/mozjpeg_node_dec.ts | 2 +- .../image/src/vendor/squoosh/mozjpeg/mozjpeg_node_enc.ts | 2 +- .../image/src/vendor/squoosh/webp/webp_node_dec.ts | 2 +- .../image/src/vendor/squoosh/webp/webp_node_enc.ts | 2 +- packages/integrations/image/test/image-ssr-dev.test.js | 4 ++-- packages/integrations/lit/CHANGELOG.md | 2 +- packages/integrations/lit/test/server.test.js | 2 +- packages/integrations/netlify/CHANGELOG.md | 2 +- packages/integrations/netlify/src/netlify-functions.ts | 2 +- packages/integrations/partytown/CHANGELOG.md | 2 +- packages/integrations/react/client.js | 2 +- packages/integrations/sitemap/CHANGELOG.md | 2 +- packages/integrations/solid/src/index.ts | 2 +- packages/integrations/tailwind/CHANGELOG.md | 2 +- packages/integrations/vercel/README.md | 2 +- .../astro-markdown-shiki/themes-custom/astro.config.mjs | 2 +- packages/markdown/remark/CHANGELOG.md | 2 +- 44 files changed, 51 insertions(+), 51 deletions(-) diff --git a/examples/docs/README.md b/examples/docs/README.md index 810bdfa84..79f01419b 100644 --- a/examples/docs/README.md +++ b/examples/docs/README.md @@ -100,7 +100,7 @@ Note the top-level `en` key: This is needed for multi-language support. You can ### Multiple Languages support -The Astro docs template supports multiple langauges out of the box. The default theme only shows `en` documentation, but you can enable multi-language support features by adding a second language to your project. +The Astro docs template supports multiple languages out of the box. The default theme only shows `en` documentation, but you can enable multi-language support features by adding a second language to your project. To add a new language to your project, you'll want to extend the current `src/pages/[lang]/...` layout: @@ -148,7 +148,7 @@ export const SIDEBAR = { // ... ``` -If you plan to use Spanish as the the default language, you just need to modify the redirect path in `src/pages/index.astro`: +If you plan to use Spanish as the default language, you just need to modify the redirect path in `src/pages/index.astro`: ```diff