Skip to content

Fix truncated JSON-LD headline, missing .html doc links, and untranslated NO boilerplate#717

Merged
pethers merged 2 commits intomain-a63e2522f5845fd5from
copilot/sub-pr-715
Mar 2, 2026
Merged

Fix truncated JSON-LD headline, missing .html doc links, and untranslated NO boilerplate#717
pethers merged 2 commits intomain-a63e2522f5845fd5from
copilot/sub-pr-715

Conversation

Copy link
Contributor

Copilot AI commented Mar 2, 2026

Three data-quality issues in the 2026-03-02 opposition motions articles flagged in code review.

Changes

  • EN alternativeHeadline truncated — value was cut off at "…to indefi" in the JSON-LD block; restored full sentence ending "…to indefinite detention reform"
  • EN document links missing .html — all 20 data.riksdagen.se/dokument/HDxxxxxx hrefs lacked the .html suffix present on every other article in the repo; added uniformly via sed
  • NO article partially untranslated — 17 English boilerplate sentences across four "Hvorfor det er viktig" categories remained in the Norwegian file; translated to Norwegian:
Category Norwegian replacement
Climate Klimaforslag gjenspeiler et voksende parlamentarisk press for raskere avkarbonisering…
Fiscal Finanspolitiske forslag utfordrer direkte regjeringens budsjettforutsetninger…
Housing Boligforslag gjenspeiler strukturell spenning mellom etterspørselen etter rimelige boliger…
Justice Justisforslag omhandler kriminalitet, straff og politi…

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

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title [WIP] Add opposition motions articles 2026-03-02 Fix truncated JSON-LD headline, missing .html doc links, and untranslated NO boilerplate Mar 2, 2026
@pethers pethers marked this pull request as ready for review March 2, 2026 07:26
@pethers pethers merged commit c39af15 into main-a63e2522f5845fd5 Mar 2, 2026
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