Browse Source

Added transifex util

master
Igor Zhukov 10 years ago
parent
commit
34ae9d06a5
  1. 8
      .tx/config
  2. 7
      Makefile

8
.tx/config

@ -0,0 +1,8 @@ @@ -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

7
Makefile

@ -12,3 +12,10 @@ publish: @@ -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

Loading…
Cancel
Save