Merge pull request #1695 from kuzzmi/patch-1

Updates instructions of setting up Transifex
This commit is contained in:
Will Binns 2017-07-20 14:52:31 -06:00 committed by GitHub
commit 037147c435

View file

@ -49,10 +49,22 @@ you don't want translators to redo all their work again, you can use the
Transifex client to pull translations, update en.yml and push back all
translations at once:
# Init Transifex project
tx init
tx set --auto-remote https://www.transifex.com/projects/p/bitcoinorg/
# Setup Transifex local client to use a project created on Transifex
tx set --auto-remote https://www.transifex.com/bitcoinorg/bitcoinorg/
# Download all translations
tx pull -a -s --skip
tx set --source -r bitcoinorg.bitcoinorg -l en
translations/bitcoinorg.bitcoinorg/en.yml
(update en.yml)
# Set the translations/bitcoinorg.bitcoinorg/en.yml file
# as a source that will be pushed back to the server after
# updating the translation
tx set --source -r bitcoinorg.bitcoinorg -l en translations/bitcoinorg.bitcoinorg/en.yml
# (update en.yml)
# Push changes back to Transifex
tx push -s -t -f --skip --no-interactive