Skip to content

Fix truncated breadcrumb titles in government propositions articles (8 languages)#267

Merged
pethers merged 2 commits intomain-833cee879f04323efrom
copilot/sub-pr-265
Feb 17, 2026
Merged

Fix truncated breadcrumb titles in government propositions articles (8 languages)#267
pethers merged 2 commits intomain-833cee879f04323efrom
copilot/sub-pr-265

Conversation

Copy link
Contributor

Copilot AI commented Feb 17, 2026

Breadcrumb titles in JSON-LD structured data were truncated mid-word across 8 language versions of the government propositions articles, breaking SEO and navigation metadata.

Changes

Fixed breadcrumb truncation in line 154:

  • da: "...denne u" → "...denne uge"
  • de: "...diese W" → "...diese Woche"
  • en: "...This We" → "...This Week"
  • es: "...polític" → "...políticas esta semana"
  • fi: "...priorite" → "...prioriteetit"
  • fr: "...politique" → "...politiques cette semaine"
  • nl: "...deze " → "...deze week"
  • no: "...prioritering" → "...prioriteringer denne uken"

Example

{
  "@type": "ListItem",
  "position": 3,
- "name": "Government Propositions: Policy Priorities This We",
+ "name": "Government Propositions: Policy Priorities This Week",
  "item": "https://riksdagsmonitor.com/news/2026-02-17-government-propositions-en.html"
}

Addresses review comments from PR #265.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@github-actions github-actions bot added the size-xs Extra small change (< 10 lines) label Feb 17, 2026
@github-actions
Copy link
Contributor

🏷️ Automatic Labeling Summary

This PR has been automatically labeled based on the files changed and PR metadata.

Applied Labels: size-xs

Label Categories

  • 🗳️ Content: news, dashboard, visualization, intelligence
  • 💻 Technology: html-css, javascript, workflow, security
  • 📊 Data: cia-data, riksdag-data, data-pipeline, schema
  • 🌍 I18n: i18n, translation, rtl
  • 🔒 ISMS: isms, iso-27001, nist-csf, cis-controls
  • 🏗️ Infrastructure: ci-cd, deployment, performance, monitoring
  • 🔄 Quality: testing, accessibility, documentation, refactor
  • 🤖 AI: agent, skill, agentic-workflow

For more information, see .github/labeler.yml.

- Fixed 8 language versions with truncated breadcrumb titles
- Danish (da): "...denne u" → "...denne uge"
- German (de): "...diese W" → "...diese Woche"
- English (en): "...This We" → "...This Week"
- Spanish (es): "...polític" → "...políticas esta semana"
- Finnish (fi): "...priorite" → "...prioriteetit"
- French (fr): "...politique" → "...politiques cette semaine"
- Dutch (nl): "...deze " → "...deze week"
- Norwegian (no): "...prioritering" → "...prioriteringer denne uken"

All HTML validated successfully with htmlhint.

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix automated news generation for multiple article types Fix truncated breadcrumb titles in government propositions articles (8 languages) Feb 17, 2026
Copilot AI requested a review from pethers February 17, 2026 20:20
@pethers pethers marked this pull request as ready for review February 17, 2026 20:39
@pethers pethers merged commit 0d4aa16 into main-833cee879f04323e Feb 17, 2026
@pethers pethers deleted the copilot/sub-pr-265 branch February 17, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size-xs Extra small change (< 10 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments