Skip to content

feat: スポンサー関連ページの英語対応#36

Merged
masakurapa merged 1 commit into
feature/sponsorsfrom
feat/sponsors-i18n
May 31, 2026
Merged

feat: スポンサー関連ページの英語対応#36
masakurapa merged 1 commit into
feature/sponsorsfrom
feat/sponsors-i18n

Conversation

@mochi-yu
Copy link
Copy Markdown
Contributor

Summary

  • feature/sponsors ブランチに、main から取り込んだ i18n 基盤(src/utils/i18n.ts、英語ページ src/pages/en/、ヘッダーの言語切り替え)を載せ、スポンサー周りの英語表示を追加しました。
  • トップのスポンサー一覧(Sponsors.astro)とスポンサー募集(SponsorRecruitment.astro)を Astro.currentLocale で日英切り替えし、英語トップ(src/pages/en/index.astro)からも表示できるようにしました。
  • あわせてニュース記事の英語対応・ページ共通化、docs/i18n.md による方針ドキュメントを含みます(main マージ分)。

Test plan

  • pnpm run dev//en/ のトップを開き、スポンサーセクション・スポンサー募集の文言が各言語で正しいこと
  • ヘッダーの言語切り替えで、同じページ相当(トップ ↔ /en/)に遷移すること
  • スポンサーダイアログのタイトル・説明が英語でも崩れないこと
  • pnpm run build が成功すること

Made with Cursor

@masakurapa masakurapa force-pushed the feat/sponsors-i18n branch from 2539974 to 8ac0b1d Compare May 31, 2026 11:42
Copy link
Copy Markdown
Contributor

@masakurapa masakurapa left a comment

Choose a reason for hiding this comment

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

ありがとうございます👍

@masakurapa masakurapa merged commit 55db2b3 into feature/sponsors May 31, 2026
@masakurapa masakurapa deleted the feat/sponsors-i18n branch May 31, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants