Skip to content

feat: update i18n keys for news and FAQ sections to improve localization - #61

Merged
Creylay merged 1 commit into
mainfrom
fix/i18n-status-dynamic-keys
Oct 1, 2026
Merged

Creylay merged 1 commit into
mainfrom
fix/i18n-status-dynamic-keys

Conversation

@Creylay

@Creylay Creylay commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes pnpm i18n:status failing after the FAQ and Media PRs. No translations were missing: the analyzer flagged 2 keys that aren't actually used, both built dynamically.

  • news.type.all: filter labels are built as news.type.${f}, and "All" used a separate key (news.filter.all). Renamed it to news.type.all in all 5 languages so every filter follows the same pattern.
  • faq.${cat.id}.ey: the analyzer couldn't expand this key. Category texts are now looked up through a small catKey() helper, matching how the rest of the site builds keys outside t() (e.g. t(s.descKey)).

No visible changes to the site.

@Creylay
Creylay merged commit 0d68364 into main Oct 1, 2026
2 of 3 checks passed

This branch had an error being deployed

1 failed deployment
github-pages — 38bfb4fe Deployed Oct 1, 2026 by Creylay via deploy #134
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.

1 participant