Fix untranslated footer links and incorrect policy domain count in 2026-03-05 propositions articles#824
Merged
pethers merged 2 commits intomain-580be21481d961ccfrom Mar 5, 2026
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Footer link labels were hardcoded English across all 13 non-English article versions, and the Deep Analysis
othercount was wrong (showed total propositions instead of uncategorized remainder).Article fixes (all 14 files)
other: 20→other: 7— 20 total propositions − 13 categorized (environmental 3 + fiscal 2 + education 2 + justice 2 + defence 2 + migration 2) = 7 uncategorizedFooter 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:
Template root-cause fix
Added 8 new fields (
home,news,ciaplatform,companyLinkedin,publicIsms,securityPolicy,privacyPolicy,contactUs) toSITE_FOOTER_LABELSinconstants.tsfor all 14 languages, and updatedgenerateSiteFooter()inhelpers.tsto use them:✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.