8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4bb92c commit 6a5ac3cCopy full SHA for 6a5ac3c
.github/workflows/sync.yml
@@ -98,6 +98,14 @@ jobs:
98
env:
99
TX_TOKEN: ${{ secrets.TX_TOKEN }}
100
101
+ - name: Merge translations from newer branch
102
+ if: inputs.tx_project != 'python-newest' # python-newest doesn't have a newer branch
103
+ run: |
104
+ newer_branch=${PYDOC_VERSION%%.*}.$((${PYDOC_VERSION##*.}+1))
105
+ git clone --depth 1 --single-branch --branch $newer_branch https://github.com/python/python-docs-pt-br ${newer_branch}-dir
106
+ pomerge --from ./${newer_branch}-dir/**/*.po --to ./${{ env.LANGUAGE_DIR }}/**/*.po
107
+ rm -rf ./${newer_branch}-dir
108
+
109
- name: powrap
110
if: steps.pull.outcome == 'success'
111
run: |
0 commit comments