Verified Commit 0ddf8157 authored by Luc Didry's avatar Luc Didry
Browse files

🌐 Use Weblate for translations

parent 442c2c35
Pipeline #185973 canceled with stages
in 3 minutes and 25 seconds
[weblate]
url = https://weblate.framasoft.org/api/
translation = lutim
...@@ -16,20 +16,8 @@ minify: ...@@ -16,20 +16,8 @@ minify:
locales: locales:
$(XGETTEXT) $(EXTRACTDIR) -o $(POT) 2>/dev/null $(XGETTEXT) $(EXTRACTDIR) -o $(POT) 2>/dev/null
push-locales:
ifeq ($(HEAD),$(filter $(HEAD),master development))
sed -e 's@<project-version>.*</project-version>@<project-version>$(HEAD)</project-version>@' -i zanata.xml && \
zanata-cli -q -B push
endif
pull-locales:
ifeq ($(HEAD),$(filter $(HEAD),master development))
sed -e 's@<project-version>.*</project-version>@<project-version>$(HEAD)</project-version>@' -i zanata.xml && \
zanata-cli -q -B pull
endif
stats-locales: stats-locales:
zanata-cli -q stats wlc stats lutim/development
podcheck: podcheck:
podchecker lib/Lutim/DB/Image.pm podchecker lib/Lutim/DB/Image.pm
......
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<config xmlns="http://zanata.org/namespace/config/">
<url>https://trad.framasoft.org/</url>
<project-version>master</project-version>
<project>lutim</project>
<project-type>gettext</project-type>
<src-dir>themes/default/lib/Lutim/I18N/</src-dir>
<trans-dir>themes/default/lib/Lutim/I18N/</trans-dir>
</config>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment