Skip to content

Fix untranslated footer links and incorrect policy domain count in 2026-03-05 propositions articles#824

Merged
pethers merged 2 commits intomain-580be21481d961ccfrom
copilot/sub-pr-816
Mar 5, 2026
Merged

Fix untranslated footer links and incorrect policy domain count in 2026-03-05 propositions articles#824
pethers merged 2 commits intomain-580be21481d961ccfrom
copilot/sub-pr-816

Conversation

Copy link
Contributor

Copilot AI commented Mar 5, 2026

Footer link labels were hardcoded English across all 13 non-English article versions, and the Deep Analysis other count was wrong (showed total propositions instead of uncategorized remainder).

Article fixes (all 14 files)

  • other: 20other: 7 — 20 total propositions − 13 categorized (environmental 3 + fiscal 2 + education 2 + justice 2 + defence 2 + migration 2) = 7 uncategorized

Footer translation fixes (13 non-English files)

Replaced hardcoded English strings in Quick Links and Built-by sections with per-language labels sourced from the authoritative main index pages:

Label sv de ar zh
Home Hem Startseite الرئيسية 首页
News Nyheter Nachrichten الأخبار 新闻
CIA Platform CIA-plattformen CIA-Plattform منصة CIA CIA 平台
Company LinkedIn Företagets LinkedIn Unternehmens-LinkedIn لينكدإن الشركة 公司 LinkedIn
Security Policy Säkerhetspolicy Sicherheitsrichtlinie سياسة الأمن 安全政策
Privacy Policy Integritetspolicy Datenschutzrichtlinie سياسة الخصوصية 隐私政策
Contact Us Kontakta oss Kontakt تواصل معنا 联系我们

Template root-cause fix

Added 8 new fields (home, news, ciaplatform, companyLinkedin, publicIsms, securityPolicy, privacyPolicy, contactUs) to SITE_FOOTER_LABELS in constants.ts for all 14 languages, and updated generateSiteFooter() in helpers.ts to use them:

- <li><a href="${homePath}">Home</a></li>
- <li><a href="${newsPath}">News</a></li>
- <li>...>CIA Platform</a></li>
+ <li><a href="${homePath}">${labels.home}</a></li>
+ <li><a href="${newsPath}">${labels.news}</a></li>
+ <li>...>${labels.ciaplatform}</a></li>

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

…05 government propositions articles

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title [WIP] Add government propositions articles for 2026-03-05 Fix untranslated footer links and incorrect policy domain count in 2026-03-05 propositions articles Mar 5, 2026
@pethers pethers marked this pull request as ready for review March 5, 2026 10:40
@pethers pethers merged commit ffd3a8e into main-580be21481d961cc Mar 5, 2026
@pethers pethers deleted the copilot/sub-pr-816 branch March 5, 2026 10:40
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