From 34ae9d06a5ac9724bf8a7bdb5b9768dce15ca7f9 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Wed, 11 Feb 2015 20:50:33 +0300 Subject: [PATCH] Added transifex util --- .tx/config | 8 ++++++++ Makefile | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 .tx/config diff --git a/.tx/config b/.tx/config new file mode 100644 index 00000000..024c8346 --- /dev/null +++ b/.tx/config @@ -0,0 +1,8 @@ +[main] +host = https://www.transifex.com + +[webogram.translations] +file_filter = app/js/locales/-.json +source_file = app/js/locales/en-us.json +source_lang = en_US +type = KEYVALUEJSON \ No newline at end of file diff --git a/Makefile b/Makefile index 33f77dfd..eb397e09 100644 --- a/Makefile +++ b/Makefile @@ -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 +