[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [websites/gcompris-net] /: added comments
From: Bruno Coudoin <bruno.coudoin () gcompris ! net>
Date: 2016-08-07 12:18:08
Message-ID: E1bWN1s-000309-K9 () code ! kde ! org
[Download RAW message or body]
Git commit 7a9bcfa1a13e75946c5115ea588bee73d9b78cf4 by Bruno Coudoin.
Committed on 07/08/2016 at 12:18.
Pushed by bcoudoin into branch 'master'.
added comments
M +4 -1 Makefile
http://commits.kde.org/websites/gcompris-net/7a9bcfa1a13e75946c5115ea588bee73d9b78cf4
diff --git a/Makefile b/Makefile
index 1d87b0b..b2efdb2 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,8 @@ all:
./gcompris.py $(VERSION) en "$(ALL_LINGUAS)"; \
cp template/mobile-privacy-policy.html .
+#
+# Run it to update the translation. This requires the Gtk+ version.
update:
linguas="$(ALL_LINGUAS)"; \
for lang in $$linguas; do \
@@ -51,7 +53,8 @@ update:
rm -f locale/tempfile; \
msgfmt locale/$$lang/LC_MESSAGES/gcompris.po -o locale/$$lang/LC_MESSAGES/gcompris.mo; \
done;
-
+#
+# Run this when new strings are added in the templates
extract: $(i18_sources)
pybabel extract -F babel.cfg -o locale/messages.pot ./
if test $(shell git diff locale/messages.pot | grep "^+[^+]" | wc -l) -eq 1; then \
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic