From 76cc6d8352f168753e0b53dae287415c44e39564 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Thu, 15 Feb 2018 11:48:12 -0800 Subject: [PATCH] translation: Add configuration for a `zulip-test` Transifex project. Because the Transifex API is hilariously bad at namespacing, this will work for uploading to any project with its "slug" set to `zulip-test` that you have access to; for me, this is a fresh test project I created in my own personal Transifex organization. To use, just follow the command in `tools/push-translations`, but s/zulip/zulip-test/g. --- .tx/config | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.tx/config b/.tx/config index 4303c4c466..63d44f3205 100644 --- a/.tx/config +++ b/.tx/config @@ -19,3 +19,15 @@ source_file = static/locale/en/mobile.json source_lang = en type = KEYVALUEJSON file_filter = static/locale//mobile.json + +[zulip-test.djangopo] +source_file = static/locale/en/LC_MESSAGES/django.po +source_lang = en +type = PO +file_filter = static/locale//LC_MESSAGES/django.po + +[zulip-test.translationsjson] +source_file = static/locale/en/translations.json +source_lang = en +type = KEYVALUEJSON +file_filter = static/locale//translations.json