浏览代码

Add transifex-client config (#830)

Danilo Bargen 6 年之前
父节点
当前提交
711a6af972
共有 2 个文件被更改,包括 12 次插入2 次删除
  1. 9 0
      .tx/config
  2. 3 2
      RELEASING.md

+ 9 - 0
.tx/config

@@ -0,0 +1,9 @@
+[main]
+host = https://www.transifex.com
+
+[threema-web.threema-web]
+file_filter = public/i18n/<lang>.json
+minimum_perc = 90
+source_file = public/i18n/en.json
+source_lang = en
+type = KEYVALUEJSON

+ 3 - 2
RELEASING.md

@@ -3,9 +3,10 @@
 Major release with backwards incompatible changes? Check for `TODO` comments
 with deprecations. Remove them if possible.
 
-Update translations:
+Update translations (https://github.com/transifex/transifex-client/):
 
-    $ # Download translation files from transifex.com
+    $ tx pull --all
+    $ git diff public/i18n/
     $ git add public/i18n/
     $ git commit -m 'Update translation strings from Transifex'