Added transifex util

This commit is contained in:
Igor Zhukov 2015-02-11 20:50:33 +03:00
parent 28610458d5
commit 34ae9d06a5
2 changed files with 15 additions and 0 deletions

8
.tx/config Normal file
View File

@ -0,0 +1,8 @@
[main]
host = https://www.transifex.com
[webogram.translations]
file_filter = app/js/locales/<lang>-<lang>.json
source_file = app/js/locales/en-us.json
source_lang = en_US
type = KEYVALUEJSON

View File

@ -12,3 +12,10 @@ publish:
./node_modules/gulp/bin/gulp.js publish
echo -n "Please open http://localhost:8000/dist/index.html and check if everything works fine." && read -e
cd dist && git add --all . && git commit -am "merged with master" && git push origin gh-pages
txinstall:
curl -O https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py
sudo python get-pip.py
sudo pip install transifex-client