Skip to content

fix(en): capitalize TypeScript and JavaScript brand names#13981

Merged
ArmandPhilippot merged 2 commits into
withastro:mainfrom
kailauber:fix/typescript-javascript-capitalization
Jun 5, 2026
Merged

fix(en): capitalize TypeScript and JavaScript brand names#13981
ArmandPhilippot merged 2 commits into
withastro:mainfrom
kailauber:fix/typescript-javascript-capitalization

Conversation

@kailauber

Copy link
Copy Markdown
Contributor

Summary

The official spellings of these languages are TypeScript (per typescriptlang.org) and JavaScript (ECMA-262). The English docs already use the correct casing in the vast majority of places; this PR fixes the remaining 9 stragglers.

Changes (9 occurrences across 8 files)

TypescriptTypeScript:

  • src/content/docs/en/guides/configuring-astro.mdx
  • src/content/docs/en/guides/integrations-guide/sitemap.mdx
  • src/content/docs/en/guides/typescript.mdx
  • src/content/docs/en/guides/upgrade-to/v5.mdx (heading)
  • src/content/docs/en/reference/content-loader-reference.mdx
  • src/content/docs/en/reference/modules/astro-middleware.mdx
  • src/content/docs/en/reference/modules/astro-zod.mdx (heading + body)

JavascriptJavaScript:

  • src/content/docs/en/guides/syntax-highlighting.mdx

Notes

  • English-only change; Lunaria will mark the affected pages as outdated for translators, which is the expected behavior.
  • One edit changes a heading text (### Removed: configuring TypeScript during create-astro and #### Extracting a TypeScript type); the slug stays the same since Astro's heading-to-slug rules are case-insensitive, so no anchor links break.
  • Verified there are no remaining \bTypescript\b or \bJavascript\b matches under src/content/docs/en/ after this change.

Updates 9 occurrences in the English documentation where the official
capitalization was wrong:

- 8x "Typescript" -> "TypeScript"
- 1x "Javascript" -> "JavaScript"

Both are official, trademarked spellings (typescriptlang.org and
ECMA-262), and the rest of the docs already use the correct casing.
@netlify

netlify Bot commented Jun 3, 2026

Copy link
Copy Markdown

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit eff059b
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/6a22c1ae22a48b000819932b
😎 Deploy Preview https://deploy-preview-13981--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@astrobot-houston

astrobot-houston commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/guides/configuring-astro.mdx Source changed, localizations will be marked as outdated.
en/guides/integrations-guide/sitemap.mdx Source changed, localizations will be marked as outdated.
en/guides/syntax-highlighting.mdx Source changed, localizations will be marked as outdated.
en/guides/typescript.mdx Source changed, localizations will be marked as outdated.
en/guides/upgrade-to/v5.mdx Source changed, localizations will be marked as outdated.
en/reference/content-loader-reference.mdx Source changed, localizations will be marked as outdated.
en/reference/modules/astro-middleware.mdx Source changed, localizations will be marked as outdated.
en/reference/modules/astro-zod.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@ArmandPhilippot ArmandPhilippot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for helping us stay consistent, and welcome! 🥳

@ArmandPhilippot ArmandPhilippot merged commit cde490f into withastro:main Jun 5, 2026
15 of 16 checks passed
@ArmandPhilippot ArmandPhilippot added the typo/link/grammar - quick fix! Quick fix for a link, typo, grammar/syntax error etc. Doesn't significantly change meaning of text. label Jun 5, 2026
florian-lefebvre pushed a commit that referenced this pull request Jun 8, 2026
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

typo/link/grammar - quick fix! Quick fix for a link, typo, grammar/syntax error etc. Doesn't significantly change meaning of text.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants