Skip to content

i18n(ja): Update middleware.mdx#7442

Merged
yanthomasdev merged 3 commits into
withastro:mainfrom
morinokami:i18n-ja-middleware-2
Mar 18, 2024
Merged

i18n(ja): Update middleware.mdx#7442
yanthomasdev merged 3 commits into
withastro:mainfrom
morinokami:i18n-ja-middleware-2

Conversation

@morinokami
Copy link
Copy Markdown
Member

Description (required)

Related issues & labels (optional)

  • Closes #
  • Suggested label:

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Mar 18, 2024 1:11pm

@github-actions github-actions Bot added the i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help! label Mar 17, 2024
また、すべてのAstroコンポーネントとAPIエンドポイントで利用可能な`locals`オブジェクトを変更し、リクエスト固有の情報を各エンドポイントとページで設定・共有することもできます。
また、ミドルウェアを使って、すべてのAstroコンポーネントとAPIエンドポイントで利用可能な`locals`オブジェクトを変更し、リクエスト固有の情報を各エンドポイントとページで設定・共有することもできます。

ミドルウェアはSSGとSSRのAstroプロジェクトの両方で利用可能です。
Copy link
Copy Markdown
Contributor

@shuuji3 shuuji3 Mar 17, 2024

Choose a reason for hiding this comment

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

上のパラグラフ(L10)の最後に「This object is available even when this middleware runs at build time.」という1文が足りないようです。

あと、元のdiffを見ると https://github.com/withastro/docs/pull/7250/files#diff-a1cef9074bac8a3b3630000c115e8b89c05925b3397e21a4c2937a81c7948285 を見ると、ここからL20の前までは削除できますね。

それ以外の翻訳は完璧です💯

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

う、ありがとうございます、色々と凡ミスしてしまい申し訳ないです... 修正しましたのでご確認をお願いします!🙏

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

修正ありがとうございます! 全然大丈夫ですよ🙂

Copy link
Copy Markdown
Contributor

@shuuji3 shuuji3 left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

Copy link
Copy Markdown
Member

@yanthomasdev yanthomasdev left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks 🙌

@yanthomasdev yanthomasdev merged commit b994ba3 into withastro:main Mar 18, 2024
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