| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,6 +25,11 @@ cd locales | |||
| 25 | 25 | sphinx-intl create-txconfig | |
| 26 | 26 | sphinx-intl update-txconfig-resources -p pot -d . --transifex-project-name python-newest | |
| 27 | 27 | ||
| 28 | + if [ "$CI" = true ] | ||
| 29 | + then | ||
| 30 | + tx push --source --no-interactive --skip | ||
| 31 | + fi | ||
| 32 | + | ||
| 28 | 33 | # Update the translation project's .tx/config | |
| 29 | 34 | cd ../../.. # back to $ROOTDIR | |
| 30 | 35 | mkdir -p .tx | |
@@ -33,9 +38,5 @@ sed cpython/Doc/locales/.tx/config \ | |||
| 33 | 38 | -e 's|<lang>/LC_MESSAGES/||' \ | |
| 34 | 39 | -e "s|^file_filter|trans.${LANGUAGE}|" \ | |
| 35 | 40 | > .tx/config | |
| 36 | - | ||
| 37 | - if [ "$CI" = true ] | ||
| 38 | - then | ||
| 39 | - tx push --source --no-interactive --skip | ||
| 40 | - fi | ||
| 41 | + | ||
| 41 | 42 | tx pull -l ${LANGUAGE} --use-git-timestamps --parallel | |
| Back | FazBrowse Home | New Git URL |
0 commit comments