gnunet-svn
[Top][All Lists]
Advanced

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

[www_shared] branch master updated: fix missing mo compile step


From: gnunet
Subject: [www_shared] branch master updated: fix missing mo compile step
Date: Fri, 07 May 2021 18:59:51 +0200

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

dold pushed a commit to branch master
in repository www_shared.

The following commit(s) were added to refs/heads/master by this push:
     new 9e9363e  fix missing mo compile step
9e9363e is described below

commit 9e9363ec2797fcb51f998ce6e388eb9877e8788c
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri May 7 18:57:25 2021 +0200

    fix missing mo compile step
---
 sitegen/site.py | 1 +
 update-messages | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/sitegen/site.py b/sitegen/site.py
index 8d88eab..2220eac 100644
--- a/sitegen/site.py
+++ b/sitegen/site.py
@@ -263,6 +263,7 @@ class SiteGenerator:
 
             self.run_localized(locale, tr)
 
+        Path(root / "rendered").mkdir(exist_ok=True)
         copytree(root / "static", root / "rendered")
 
         self.emit_sitemap()
diff --git a/update-messages b/update-messages
index 7565b9a..fc32bf3 100755
--- a/update-messages
+++ b/update-messages
@@ -39,3 +39,7 @@ if grep -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; 
then
         echo "ERROR: Conflicts encountered in PO files.";
         exit 1;
 fi
+
+for lang in $languages; do
+  pybabel -q compile -d locale -l $lang --use-fuzzy
+done

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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