Commit fc8d2faa authored by Jeremy Yen's avatar Jeremy Yen
Browse files

Add txpush_manual, commit update for .tx/config

parent 1bbf7072
......@@ -356,8 +356,8 @@ source_lang = en
type = PO
[deflect-documentation.deflect_for_non_profit]
file_filter = locale/<lang>/LC_MESSAGES/deflect_for_free.po
source_file = _build/gettext/deflect_for_free.pot
file_filter = locale/<lang>/LC_MESSAGES/deflect_for_non_profit.po
source_file = _build/gettext/deflect_for_non_profit.pot
source_lang = en
type = PO
......@@ -601,3 +601,57 @@ source_file = _build/gettext/terms_of_use_french.pot
source_lang = en
type = PO
[deflect-documentation.baskerville]
file_filter = locale/<lang>/LC_MESSAGES/baskerville.po
source_file = _build/gettext/baskerville.pot
source_lang = en
type = PO
[deflect-documentation.clients_environment]
file_filter = locale/<lang>/LC_MESSAGES/clients_environment.po
source_file = _build/gettext/clients_environment.pot
source_lang = en
type = PO
[deflect-documentation.clients_civil_society]
file_filter = locale/<lang>/LC_MESSAGES/clients_civil_society.po
source_file = _build/gettext/clients_civil_society.pot
source_lang = en
type = PO
[deflect-documentation.clients_minority_group]
file_filter = locale/<lang>/LC_MESSAGES/clients_minority_group.po
source_file = _build/gettext/clients_minority_group.pot
source_lang = en
type = PO
[deflect-documentation.deflect_labs_isac]
file_filter = locale/<lang>/LC_MESSAGES/deflect_labs_isac.po
source_file = _build/gettext/deflect_labs_isac.pot
source_lang = en
type = PO
[deflect-documentation.who_uses_deflect]
file_filter = locale/<lang>/LC_MESSAGES/who_uses_deflect.po
source_file = _build/gettext/who_uses_deflect.pot
source_lang = en
type = PO
[deflect-documentation.clients_human_rights]
file_filter = locale/<lang>/LC_MESSAGES/clients_human_rights.po
source_file = _build/gettext/clients_human_rights.pot
source_lang = en
type = PO
[deflect-documentation.covid-19]
file_filter = locale/<lang>/LC_MESSAGES/covid-19.po
source_file = _build/gettext/covid-19.pot
source_lang = en
type = PO
[deflect-documentation.clients_media]
file_filter = locale/<lang>/LC_MESSAGES/clients_media.po
source_file = _build/gettext/clients_media.pot
source_lang = en
type = PO
#!/usr/bin/env bash
# Push source file to Transifex.
# It relies on ~/.transifexrc env var being set
make gettext # Export strings to .pot files
# Remove sections which are not being translated
rm -Rf _build/gettext/deflect_diy* _build/gettext/botnetdbp*
pybabel extract -F babel.cfg -k "_" -k "{% trans" -o _build/gettext/sphinx.pot _theme/
sphinx-intl update-txconfig-resources --pot-dir _build/gettext --transifex-project-name deflect-documentation
tx push --skip -s -l en --no-interactive
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment