[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: website: Make available all .mo files for each la
From: |
Florian Pelz |
Subject: |
branch master updated: website: Make available all .mo files for each language. |
Date: |
Tue, 02 Nov 2021 11:02:59 -0400 |
This is an automated email from the git hooks/post-receive script.
pelzflorian pushed a commit to branch master
in repository guix-artwork.
The following commit(s) were added to refs/heads/master by this push:
new f2ac987 website: Make available all .mo files for each language.
f2ac987 is described below
commit f2ac98776b321755b672a8f6a1b07d4ab10fff7c
Author: Florian Pelz <pelzflorian@pelzflorian.de>
AuthorDate: Thu Oct 28 10:21:52 2021 +0200
website: Make available all .mo files for each language.
Because the language selection dropdown needs all.
Fixes <https://issues.guix.gnu.org/51456>.
* website/.guix.scm (lingua-web-site): When building one language,
symlink 'lingua-mo-files' for all languages.
---
website/.guix.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/website/.guix.scm b/website/.guix.scm
index 3beb0e8..c5cb367 100644
--- a/website/.guix.scm
+++ b/website/.guix.scm
@@ -215,8 +215,12 @@
;; Build the website for LINGUA. (apps i18n) calls
;; 'bindtextdomain' on $PWD so provide .mo files right here.
- (symlink (string-append #$(lingua-mo-files lingua) "/" lingua)
- lingua)
+ (for-each
+ (lambda (lingua mo-directory)
+ (symlink (string-append mo-directory "/" lingua)
+ lingua))
+ (list #$@%linguas)
+ '#$(map lingua-mo-files %linguas))
(setenv "LC_ALL" (string-append lingua ".utf8"))
(format #t "Running 'haunt build' for lingua ~a...~%" lingua)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: website: Make available all .mo files for each language.,
Florian Pelz <=