File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 with :
3636 ref : ${{ matrix.version }}
3737 fetch-depth : 0
38- - run : curl -O https://raw.githubusercontent.com/python-docs-translations/transifex-automation/master/sample-workflows /transifex-util.py
38+ - run : curl -O https://raw.githubusercontent.com/StanFromIreland/workflow-testing/blob/3.14 /transifex-util.py
3939 - run : chmod +x transifex-util.py
4040 - run : ./transifex-util.py recreate_tx_config --language de --project-slug python-newest --version 3.14
4141 env :
@@ -50,12 +50,11 @@ jobs:
5050 git config --local user.name "GitHub Action's update-translation job"
5151 - name : Filter files
5252 run : |
53- git diff -I'^"POT-Creation-Date: ' \
53+ ! git diff -I'^"POT-Creation-Date: ' \
5454 -I'^"Language-Team: ' \
5555 -I'^# ' -I'^"Last-Translator: ' \
5656 --exit-code \
5757 && echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0
58- - run : echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV
5958 - run : git add .
6059 - run : git commit -m 'Update translation from Transifex'
6160 if : env.SIGNIFICANT_CHANGES
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def fetch():
2525 sys .stderr .write ("The Transifex client app is required.\n " )
2626 exit (code )
2727 lang = LANGUAGE
28- _call (f'tx pull -l { lang } --minimum-perc=1 --force --skip' )
28+ _call (f'tx pull -l { lang } --force' ) # -- minimum-perc=1 --force --skip')
2929 for file in Path ().rglob ('*.po' ):
3030 _call (f'msgcat --no-location -o { file } { file } ' )
3131
You can’t perform that action at this time.
0 commit comments