git: ea762c2022 - main - Disable translation of press release items for all languages

Guangyuan Yang <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by ygy:

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

commit ea762c2022c4e7a9c55e7e57fd65312f814fc069
Author:     Guangyuan Yang <[email protected]>
AuthorDate: 2021-08-05 09:29:44 +0000
Commit:     Guangyuan Yang <[email protected]>
CommitDate: 2021-08-05 09:29:44 +0000

    Disable translation of press release items for all languages
    
    There is no activity on the translation of press release items for a
    long while for all languages. Instead of displaying obsolete items from
    2005, it seems better to just display up-to-date English ones.
    
    PR:             256020
    Reviewed by:    bcr
    Differential Revision:  https://reviews.freebsd.org/D31421
---
 website/themes/beastie/layouts/partials/press.html | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/website/themes/beastie/layouts/partials/press.html b/website/themes/beastie/layouts/partials/press.html
index 6bca5eece6..3b3b4a79a2 100644
--- a/website/themes/beastie/layouts/partials/press.html
+++ b/website/themes/beastie/layouts/partials/press.html
@@ -1,9 +1,6 @@
 {{ $pressPath := (printf "data/%s/press/press.toml" $.Language.Lang) }}
 
 {{ $translatedPressEnabled := false }}
-{{ if and (fileExists $pressPath) (ne $.Language.Lang "ja") }}
-  {{ $translatedPressEnabled = true }}
-{{ end }}
 
 {{ $pressData := "" }}
 {{ if $translatedPressEnabled -}}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.