Skip to content

i18n(zh-cn): Fix code example in tutorial/5-astro-api/3.mdx#13331

Merged
liruifengv merged 1 commit intowithastro:mainfrom
wnw231423:patch-1
Mar 2, 2026
Merged

i18n(zh-cn): Fix code example in tutorial/5-astro-api/3.mdx#13331
liruifengv merged 1 commit intowithastro:mainfrom
wnw231423:patch-1

Conversation

@wnw231423
Copy link
Contributor

Description (required)

Fix an inconsistent code example in the zh-cn translation to match the correct one in the English documentation.

Related issues & labels (optional)

  • Closes #
  • Suggested label:

Fix an inconsistent code example in the `zh-cn` translation to match the correct one in the English documentation.
@netlify
Copy link

netlify bot commented Mar 1, 2026

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 692bbbe
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/69a44505a66aed0008e98ced
😎 Deploy Preview https://deploy-preview-13331--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@github-actions github-actions bot added the i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help! label Mar 1, 2026
@astrobot-houston
Copy link
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
zh-cn/tutorial/5-astro-api/3.mdx Localization changed, will be marked as complete.
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.

@astrobot-houston
Copy link
Contributor

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉

Here’s what will happen next:

  1. Our GitHub bots will run to check your changes.
    If they spot any broken links you will see some error messages on this PR.
    Don’t hesitate to ask any questions if you’re not sure what these mean!

  2. In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳.

  3. One or more of our maintainers will take a look and may ask you to make changes.
    We try to be responsive, but don’t worry if this takes a few days.

Copy link
Member

@liruifengv liruifengv left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

@liruifengv liruifengv merged commit 41c8b01 into withastro:main Mar 2, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants