Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6a5ac3c

Browse files
authored
Merge translations from newer branch
1 parenta4bb92c commit6a5ac3c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎.github/workflows/sync.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@ jobs:
9898
env:
9999
TX_TOKEN:${{ secrets.TX_TOKEN }}
100100

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+
101109
-name:powrap
102110
if:steps.pull.outcome == 'success'
103111
run:|

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp