Page MenuHomeFreeBSD

website: fix events and press lists on home page
ClosedPublic

Authored by vladlen on Nov 9 2025, 4:55 PM.
Tags
Referenced Files
F151364141: D53647.id.diff
Tue, Apr 7, 10:00 PM
Unknown Object (File)
Tue, Apr 7, 1:22 AM
Unknown Object (File)
Sat, Apr 4, 1:57 PM
Unknown Object (File)
Tue, Mar 24, 2:08 AM
Unknown Object (File)
Mar 3 2026, 5:57 PM
Unknown Object (File)
Mar 3 2026, 5:54 PM
Unknown Object (File)
Feb 26 2026, 11:17 PM
Unknown Object (File)
Jan 22 2026, 2:46 PM
Subscribers

Details

Summary

Currently 'ru' and 'zh-tw' versions of website have translations of the events to corresponding languages, but home page of the website shows events list in English (it takes information from data/en/events). The code to check local version exists, but it checks the existence of events.toml file instead of events2025.toml (if 2025 is current year).
This patch fixes this issue.

Similar issue with the list of the press entries. Only difference - zh-tw has file with translations, but this file is outdated, and zh-tw site uses English version anyway. The proposal to use explicit list of languages (in addition to EN), that have local translation ('ru' and 'fr' added to demonstrate the list behavior, even if 'fr' does not have active website now).

Test Plan
  1. Apply patch
  2. # cd website
  3. # make run
  4. View changes in browser

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable