Commit Graph

7 Commits

Author SHA1 Message Date
Thomas Citharel
a5373818fb Fix Gitlab push-trads
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-22 12:08:43 +02:00
Thomas Citharel
4b8fe75f95
Secure push-trad-to-zanata
Test json files with python module to make sure they're valid before converting them to po

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Remove &&
2018-05-28 10:03:05 +02:00
Luc Didry
7d9f5becec Add script to add a key/value in locale/en.json + put all scripts in scripts/ 2018-04-17 11:46:15 +02:00
Luc Didry
8e8b8a63cb [zanata] fix zanata --min-doc-percent option 2018-04-10 22:36:20 +02:00
Luc Didry
3db84de4aa [zanata] pull locales only if translated at 50% or more 2018-04-10 22:14:10 +02:00
Luc Didry
18cbfb7b75 [zanata] Add locales target in Makefile to generate framadate.pot 2018-03-21 09:50:14 +01:00
Luc Didry
15b173569d Zanata integration (https://trad.framasoft.org)
1. Install zanata-cli on your computer
(https://zanata.readthedocs.io/en/latest/client/installation/linux-installation/)
2. Configure zanata-cli
(https://zanata.readthedocs.io/en/latest/client/configuration/)
3. Do your stuff, add your new strings to locale/en.json only
4. Push the new locales: make push-locales
5. Translate on https://trad.framasoft.org
6. Pull the new locales: make pull-locales (requires the Perl module
JSON, provided by libjson-perl on Debian)
7. Commit and enjoy
2018-02-26 14:32:17 +01:00