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
F166892412: D53647.id166086.diff
Mon, Aug 17, 2:00 PM
Unknown Object (File)
Fri, Aug 14, 2:26 AM
Unknown Object (File)
Thu, Aug 13, 12:14 AM
Unknown Object (File)
Wed, Aug 12, 1:45 AM
Unknown Object (File)
Mon, Aug 10, 12:44 PM
Unknown Object (File)
Sun, Aug 9, 7:01 PM
Unknown Object (File)
Sun, Aug 9, 7:01 PM
Unknown Object (File)
Sat, Aug 8, 4:44 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