guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: hydra: berlin: Accept new languages.


From: julien lepiller
Subject: branch master updated: hydra: berlin: Accept new languages.
Date: Tue, 06 Apr 2021 07:54:31 -0400

This is an automated email from the git hooks/post-receive script.

roptat pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new 3d63e8d  hydra: berlin: Accept new languages.
3d63e8d is described below

commit 3d63e8d6908240996c94f0078a9474b309046c3c
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Tue Apr 6 13:52:27 2021 +0200

    hydra: berlin: Accept new languages.
    
    * hydra/nginx/berlin.scm (%extra-content): Autoredirect 'eo', 'ko' and 'ru'
    to the translated website.
---
 hydra/nginx/berlin.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hydra/nginx/berlin.scm b/hydra/nginx/berlin.scm
index 6dc9072..a1ee02a 100644
--- a/hydra/nginx/berlin.scm
+++ b/hydra/nginx/berlin.scm
@@ -1031,9 +1031,13 @@ synonymous IETF language tags that should be mapped to 
the same $lang."
 
    (accept-languages '(("en")
                        ("de")
+                       ("eo")
                        ("es")
                        ("fr")
+                       ("ko")
+                       ("ru")
                        ("zh-CN" "zh" "zh-Hans" "zh-Hans-CN")))
+   "set_from_accept_language $lang en de es eo fr ko ru zh-CN;"
 
    ;; Maximum chunk size to send.  Partly this is a workaround for
    ;; <http://bugs.gnu.org/19939>, but also the nginx docs mention that



reply via email to

[Prev in Thread] Current Thread [Next in Thread]