Skip to content

Fix OG/JSON-LD image dimensions and translate remaining English sentences in committee-reports articles#752

Merged
pethers merged 2 commits intomain-3ac112b1d2a23ceffrom
copilot/sub-pr-742
Mar 3, 2026
Merged

Fix OG/JSON-LD image dimensions and translate remaining English sentences in committee-reports articles#752
pethers merged 2 commits intomain-3ac112b1d2a23ceffrom
copilot/sub-pr-742

Conversation

Copy link
Contributor

Copilot AI commented Mar 3, 2026

All 14 committee-reports articles had incorrect OG social preview dimensions and mixed-language body content.

Changes

  • OG + JSON-LD image dimensions (all 14 files): corrected og:image:width/og:image:height and JSON-LD width/height from 1200×630140×140 to match the actual cia-icon-140.webp asset
  • Untranslated body sentences (13 non-English files: ar, da, de, es, fi, fr, he, ja, ko, nl, no, zh): replaced two English sentences left in the body with proper translations per language:
    • "Committee reports on defence shape Sweden's military posture and NATO integration trajectory — decisions here have multi-decade consequences."
    • "Social Affairs Committee reports on healthcare set the framework for Sweden's regionally delivered but nationally financed health system."

Example before/after (DE):

<!-- Before -->
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630"><p><strong>Was dies bedeutet:</strong> … Committee reports on defence shape Sweden's military posture and NATO integration trajectory — decisions here have multi-decade consequences.</p>

<!-- After -->
<meta property="og:image:width" content="140">
<meta property="og:image:height" content="140"><p><strong>Was dies bedeutet:</strong> … Ausschussberichte zur Verteidigung prägen Schwedens militärische Haltung und NATO-Integrationskurs — Entscheidungen hier haben jahrzehntelange Konsequenzen.</p>

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…tences in committee-reports articles

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title [WIP] Add committee-reports articles for 2026-03-03 Fix OG/JSON-LD image dimensions and translate remaining English sentences in committee-reports articles Mar 3, 2026
@pethers pethers marked this pull request as ready for review March 3, 2026 12:01
@pethers pethers merged commit 2e77916 into main-3ac112b1d2a23cef Mar 3, 2026
@pethers pethers deleted the copilot/sub-pr-742 branch March 3, 2026 12:01
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