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
F153578068: D53647.id166145.diff
Wed, Apr 22, 1:58 AM
Unknown Object (File)
Tue, Apr 21, 2:49 AM
Unknown Object (File)
Tue, Apr 21, 2:49 AM
Unknown Object (File)
Tue, Apr 21, 2:48 AM
Unknown Object (File)
Tue, Apr 21, 12:51 AM
Unknown Object (File)
Mon, Apr 20, 7:10 AM
Unknown Object (File)
Sat, Apr 18, 9:43 PM
Unknown Object (File)
Sat, Apr 18, 9:46 AM
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