From c1c1be1d36ee3abc273d1ca66221e741bfa05f98 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 31 Mar 2016 08:41:50 -0700 Subject: [PATCH] Add Transifex config file and Transifex client dependency. This makes it easy to download translations from Transifex. --- .tx/config | 9 +++++++++ requirements.txt | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 .tx/config diff --git a/.tx/config b/.tx/config new file mode 100644 index 0000000000..83ab5a839d --- /dev/null +++ b/.tx/config @@ -0,0 +1,9 @@ +[main] +host = https://www.transifex.com + +[zulip.django.po] +source_file = locale/en/LC_MESSAGES/django.po +source_lang = en +type = PO +file_filter = locale//LC_MESSAGES/django.po + diff --git a/requirements.txt b/requirements.txt index c0bc075b2a..99ca706667 100644 --- a/requirements.txt +++ b/requirements.txt @@ -68,10 +68,12 @@ smmap==0.9.0 sockjs-tornado==1.0.1 sourcemap==0.1.8 tornado==2.4.1 +transifex-client==0.11 # Needed to sync translations from transifex typing==3.5.0.1 python-twitter==1.1 ujson==1.33 uritemplate==0.6 +urllib3==1.15.1 # Dependency of transifex-client wsgiref==0.1.2 xmltodict==0.10.1 # Dependency of moto s3 mock zope.interface==4.1.2