Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
docs
deflect-docs
Commits
fc8d2faa
Commit
fc8d2faa
authored
Jul 28, 2020
by
Jeremy Yen
Browse files
Add txpush_manual, commit update for .tx/config
parent
1bbf7072
Changes
2
Hide whitespace changes
Inline
Side-by-side
.tx/config
View file @
fc8d2faa
...
...
@@ -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
txpush_manual.sh
0 → 100755
View file @
fc8d2faa
#!/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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment