git: 3f018dc958 - main - Website - i18n: fix "Legacy Release" keyword

Mitchell Horne <[email protected]> Mon, 18 May 2026 17:48:06 +0000
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by mhorne:

URL: https://cgit.FreeBSD.org/doc/commit/?id=3f018dc958ffdf0b5cd0b267cb6e178520517feb

commit 3f018dc958ffdf0b5cd0b267cb6e178520517feb
Author:     Mitchell Horne <[email protected]>
AuthorDate: 2026-05-18 17:35:00 +0000
Commit:     Mitchell Horne <[email protected]>
CommitDate: 2026-05-18 17:38:05 +0000

    Website - i18n: fix "Legacy Release" keyword
    
    Reapply 5636b2ce2754, which makes the keyword in the releases sidenav
    translatable. This got lost in the website refresh.
    
    While here, drop the entry for 13.5, which also reappeared. This
    recently went EOL.
    
    Reported by:    vladlen
---
 website/themes/beastie/i18n/en.toml                   | 3 +++
 website/themes/beastie/layouts/_partials/sidenav.html | 3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/website/themes/beastie/i18n/en.toml b/website/themes/beastie/i18n/en.toml
index 6eae26049a..a0d479d872 100644
--- a/website/themes/beastie/i18n/en.toml
+++ b/website/themes/beastie/i18n/en.toml
@@ -589,6 +589,9 @@ other = "Release Information"
 [productionRelease]
 other = "Production Release"
 
+[legacyRelease]
+other = "Legacy Release"
+
 [upcomingRelease]
 other = "Upcoming Release"
 
diff --git a/website/themes/beastie/layouts/_partials/sidenav.html b/website/themes/beastie/layouts/_partials/sidenav.html
index d69a919e0a..cd80b78259 100644
--- a/website/themes/beastie/layouts/_partials/sidenav.html
+++ b/website/themes/beastie/layouts/_partials/sidenav.html
@@ -57,8 +57,7 @@
     <ul>
       <li>{{ i18n "productionRelease" }}: <a href={{ index .data.releases "u-rel150-announce" }}>{{ index .data.releases "rel150-current" }}</a></li>
       <li>{{ i18n "productionRelease" }}: <a href={{ index .data.releases "u-rel144-announce" }}>{{ index .data.releases "rel144-current" }}</a></li>
-      <li>Legacy Release: <a href={{ index .data.releases "u-rel143-announce" }}>{{ index .data.releases "rel143-current" }}</a></li>
-      <li>Legacy Release: <a href={{ index .data.releases "u-rel135-announce" }}>{{ index .data.releases "rel135-current" }}</a></li>
+      <li>{{ i18n "legacyRelease" }}: <a href={{ index .data.releases "u-rel143-announce" }}>{{ index .data.releases "rel143-current" }}</a></li>
     </ul>
   </li>
   <li>