Skip to content

🌍 Fix untranslated article body content across 13 non-English opposition motions pages#589

Merged
pethers merged 1 commit intonews/opposition-motions-2026-02-26-9214c0e21654020bfrom
copilot/sub-pr-574
Feb 26, 2026
Merged

🌍 Fix untranslated article body content across 13 non-English opposition motions pages#589
pethers merged 1 commit intonews/opposition-motions-2026-02-26-9214c0e21654020bfrom
copilot/sub-pr-574

Conversation

Copy link
Contributor

Copilot AI commented Feb 26, 2026

All 13 non-English variants of the 2026-02-26 opposition motions article had English body content — section headings were translated but the article lede, opposition strategy analysis, all 20 "Why It Matters" entries, and the closing paragraph remained in English. Additionally, all 14 files referenced back-to-top.ts which browsers cannot execute natively.

Changes

  • Full body translation for ar, da, de, es, fi, fr, he, ja, ko, nl, no, sv, zh — replaces English content in:

    • <p class="article-lede"> opening paragraph
    • <div class="context-box"> opposition strategy (4 party paragraphs)
    • All 20 motion entries: Filed by: label + Why It Matters: explanation
    • What Happens Next closing paragraph
    • Read the full motion: link text prefix
  • Script reference fix across all 14 files:

    <!-- before -->
    <script type="module" src="../scripts/back-to-top.ts"></script>
    <!-- after -->
    <script type="module" src="../scripts/back-to-top.js"></script>
  • Swedish motion titles (official prop./skr. document names) and all document IDs/URLs left unchanged; RTL layout preserved for ar and he.


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

Copilot AI changed the title [WIP] Add analysis of opposition motions from Riksdag session 2025/26 🌍 Fix untranslated article body content across 13 non-English opposition motions pages Feb 26, 2026
@pethers pethers marked this pull request as ready for review February 26, 2026 15:21
@pethers pethers merged commit 267ee72 into news/opposition-motions-2026-02-26-9214c0e21654020b Feb 26, 2026
4 checks passed
@pethers pethers deleted the copilot/sub-pr-574 branch February 26, 2026 15:22
@github-actions github-actions bot added the size-xs Extra small change (< 10 lines) label Feb 26, 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.

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