Blog index page title reads "Open Data Capture - Open Data Capture"

クローズ 初心者向け
#1,775 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

@jiangyuer018 がすでに取り組んでいます。

2026年10月16日 から。

  • #1815 @jiangyuer018 による — オープン

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
92/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
frontend

調査の方向性

apps/outreach/src/pages/[locale]/blog/index.astroとapps/outreach/src/i18n/translations/blog.jsonのtitleエントリを読みます。ローカライズされたブログの見出しとサイト名を使うようにタイトルの構成を更新し、その後、AGENTS.mdに記載されているとおりにapps/outreachをビルドします。dist/en/blog/index.htmlとdist/fr/blog/index.htmlに期待されるローカライズ済みタイトルが含まれていることを確認します。

索引モデルが issue の本文から書いたものです。

説明

Area: Outreach Bug Difficulty: Low Good First Issue Priority: Low

The blog index's <title> reads "Open Data Capture - Open Data Capture" in both languages. The page builds its title from t('meta.title') twice instead of pairing the blog heading with the site name. The browser tab, bookmarks, search results and the og:title share card all show the duplicated site name and never say that the page is the blog.

Where

apps/outreach/src/pages/[locale]/blog/index.astro:28:

<Page bilingual meta={{ title: `${t('meta.title')} - ${t('meta.title')}` }}>

apps/outreach/src/i18n/translations/blog.json already has the key for the first half:

"title": {
  "en": "Blog",
  "fr": "Blogue"
}

Reproduce

  1. Open https://opendatacapture.org/en/blog/ (or /fr/blog/).
  2. Read the browser tab title, or the page's <title> and og:title in the source.

Actual: "Open Data Capture - Open Data Capture".
Expected: "Blog - Open Data Capture" in English and "Blogue - Open Data Capture" in French.

Tests

apps/outreach has no unit or Playwright suite, by decision (apps/outreach/AGENTS.md). Verify through the build: dist/en/blog/index.html and dist/fr/blog/index.html contain the localized blog title.

Suggested fix

Use `${t('blog.title')} - ${t('meta.title')}`.

主要言語
TypeScript
スター
119
フォーク
19
平均マージ
4日 15時間
マージ済み PR(30日)
38

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DouglasNeuroInformatics/OpenDataCapture のほかの issue

DouglasNeuroInformatics/OpenDataCapture の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。