Skip to content

Commit 6d38f52

Browse files
Fix 3.14 branch (#30)
1 parent a52a237 commit 6d38f52

File tree

517 files changed

+62
-535430
lines changed
  • .github/workflows
  • .tx
  • python-newest.about
  • python-newest.bugs
  • python-newest.c-api--abstract
  • python-newest.c-api--allocation
  • python-newest.c-api--apiabiversion
  • python-newest.c-api--arg
  • python-newest.c-api--bool
  • python-newest.c-api--buffer
  • python-newest.c-api--bytearray
  • python-newest.c-api--bytes
  • python-newest.c-api--call
  • python-newest.c-api--capsule
  • python-newest.c-api--cell
  • python-newest.c-api--codec
  • python-newest.c-api--code
  • python-newest.c-api--complex
  • python-newest.c-api--concrete
  • python-newest.c-api--contextvars
  • python-newest.c-api--conversion
  • python-newest.c-api--coro
  • python-newest.c-api--datetime
  • python-newest.c-api--descriptor
  • python-newest.c-api--dict
  • python-newest.c-api--exceptions
  • python-newest.c-api--file
  • python-newest.c-api--float
  • python-newest.c-api--frame
  • python-newest.c-api--function
  • python-newest.c-api--gcsupport
  • python-newest.c-api--gen
  • python-newest.c-api--hash
  • python-newest.c-api--import
  • python-newest.c-api--index
  • python-newest.c-api--init_config
  • python-newest.c-api--init
  • python-newest.c-api--intro
  • python-newest.c-api--iterator
  • python-newest.c-api--iter
  • python-newest.c-api--list
  • python-newest.c-api--long
  • python-newest.c-api--mapping
  • python-newest.c-api--marshal
  • python-newest.c-api--memoryview
  • python-newest.c-api--memory
  • python-newest.c-api--method
  • python-newest.c-api--module
  • python-newest.c-api--monitoring
  • python-newest.c-api--none
  • python-newest.c-api--number
  • python-newest.c-api--object
  • python-newest.c-api--objimpl
  • python-newest.c-api--perfmaps
  • python-newest.c-api--refcounting
  • python-newest.c-api--reflection
  • python-newest.c-api--sequence
  • python-newest.c-api--set
  • python-newest.c-api--slice
  • python-newest.c-api--stable
  • python-newest.c-api--structures
  • python-newest.c-api--sys
  • python-newest.c-api--time
  • python-newest.c-api--tuple
  • python-newest.c-api--typehints
  • python-newest.c-api--typeobj
  • python-newest.c-api--type
  • python-newest.c-api--unicode
  • python-newest.c-api--utilities
  • python-newest.c-api--veryhigh
  • python-newest.c-api--weakref
  • python-newest.contents
  • python-newest.copyright
  • python-newest.deprecations--c-api-pending-removal-in-3_14
  • python-newest.deprecations--c-api-pending-removal-in-3_15
  • python-newest.deprecations--c-api-pending-removal-in-3_18
  • python-newest.deprecations--c-api-pending-removal-in-future
  • python-newest.deprecations--index
  • python-newest.deprecations--pending-removal-in-3_13
  • python-newest.deprecations--pending-removal-in-3_14
  • python-newest.deprecations--pending-removal-in-3_15
  • python-newest.deprecations--pending-removal-in-3_16
  • python-newest.deprecations--pending-removal-in-3_17
  • python-newest.deprecations--pending-removal-in-3_19
  • python-newest.deprecations--pending-removal-in-future
  • python-newest.distributing--index
  • python-newest.extending--building
  • python-newest.extending--embedding
  • python-newest.extending--extending
  • python-newest.extending--index
  • python-newest.extending--newtypes_tutorial
  • python-newest.extending--newtypes
  • python-newest.extending--windows
  • python-newest.faq--design
  • python-newest.faq--extending
  • python-newest.faq--general
  • python-newest.faq--gui
  • python-newest.faq--index
  • python-newest.faq--installed
  • python-newest.faq--library
  • python-newest.faq--programming
  • python-newest.faq--windows
  • python-newest.glossary_
  • python-newest.howto--annotations
  • python-newest.howto--argparse-optparse
  • python-newest.howto--argparse
  • python-newest.howto--clinic
  • python-newest.howto--cporting
  • python-newest.howto--curses
  • python-newest.howto--descriptor
  • python-newest.howto--enum
  • python-newest.howto--free-threading-extensions
  • python-newest.howto--free-threading-python
  • python-newest.howto--functional
  • python-newest.howto--gdb_helpers
  • python-newest.howto--index
  • python-newest.howto--instrumentation
  • python-newest.howto--ipaddress
  • python-newest.howto--isolating-extensions
  • python-newest.howto--logging-cookbook
  • python-newest.howto--logging
  • python-newest.howto--mro
  • python-newest.howto--perf_profiling
  • python-newest.howto--pyporting
  • python-newest.howto--regex
  • python-newest.howto--remote_debugging
  • python-newest.howto--sockets
  • python-newest.howto--sorting
  • python-newest.howto--timerfd
  • python-newest.howto--unicode
  • python-newest.howto--urllib2
  • python-newest.installing--index
  • python-newest.library--__future__
  • python-newest.library--__main__
  • python-newest.library--_thread
  • python-newest.library--abc
  • python-newest.library--aifc
  • python-newest.library--allos
  • python-newest.library--annotationlib
  • python-newest.library--archiving
  • python-newest.library--argparse
  • python-newest.library--array
  • python-newest.library--ast
  • python-newest.library--asynchat
  • python-newest.library--asyncio-api-index
  • python-newest.library--asyncio-dev
  • python-newest.library--asyncio-eventloop
  • python-newest.library--asyncio-exceptions
  • python-newest.library--asyncio-extending
  • python-newest.library--asyncio-future
  • python-newest.library--asyncio-graph
  • python-newest.library--asyncio-llapi-index
  • python-newest.library--asyncio-platforms
  • python-newest.library--asyncio-policy
  • python-newest.library--asyncio-protocol
  • python-newest.library--asyncio-queue
  • python-newest.library--asyncio-runner
  • python-newest.library--asyncio-stream
  • python-newest.library--asyncio-subprocess
  • python-newest.library--asyncio-sync
  • python-newest.library--asyncio-task
  • python-newest.library--asyncio
  • python-newest.library--asyncore
  • python-newest.library--atexit
  • python-newest.library--audioop
  • python-newest.library--audit_events
  • python-newest.library--base64
  • python-newest.library--bdb
  • python-newest.library--binary
  • python-newest.library--binascii
  • python-newest.library--bisect
  • python-newest.library--builtins
  • python-newest.library--bz2
  • python-newest.library--calendar
  • python-newest.library--cgitb
  • python-newest.library--cgi
  • python-newest.library--chunk
  • python-newest.library--cmath
  • python-newest.library--cmdlinelibs
  • python-newest.library--cmdline
  • python-newest.library--cmd
  • python-newest.library--codecs
  • python-newest.library--codeop
  • python-newest.library--code
  • python-newest.library--collections_abc
  • python-newest.library--collections
  • python-newest.library--colorsys
  • python-newest.library--compileall
  • python-newest.library--concurrency
  • python-newest.library--concurrent_futures
  • python-newest.library--concurrent
  • python-newest.library--configparser
  • python-newest.library--constants
  • python-newest.library--contextlib
  • python-newest.library--contextvars
  • python-newest.library--copyreg
  • python-newest.library--copy
  • python-newest.library--crypto
  • python-newest.library--crypt
  • python-newest.library--csv
  • python-newest.library--ctypes
  • python-newest.library--curses_ascii
  • python-newest.library--curses_panel
  • python-newest.library--curses
  • python-newest.library--custominterp
  • python-newest.library--dataclasses
  • python-newest.library--datatypes
  • python-newest.library--datetime
  • python-newest.library--dbm
  • python-newest.library--debug
  • python-newest.library--decimal
  • python-newest.library--development
  • python-newest.library--devmode
  • python-newest.library--dialog
  • python-newest.library--difflib
  • python-newest.library--distribution
  • python-newest.library--distutils
  • python-newest.library--dis
  • python-newest.library--doctest
  • python-newest.library--email_charset
  • python-newest.library--email_compat32-message
  • python-newest.library--email_contentmanager
  • python-newest.library--email_encoders
  • python-newest.library--email_errors
  • python-newest.library--email_examples
  • python-newest.library--email_generator
  • python-newest.library--email_headerregistry
  • python-newest.library--email_header
  • python-newest.library--email_iterators
  • python-newest.library--email_message
  • python-newest.library--email_mime
  • python-newest.library--email_parser
  • python-newest.library--email_policy
  • python-newest.library--email_utils
  • python-newest.library--email
  • python-newest.library--ensurepip
  • python-newest.library--enum
  • python-newest.library--errno
  • python-newest.library--exceptions
  • python-newest.library--faulthandler
  • python-newest.library--fcntl
  • python-newest.library--filecmp
  • python-newest.library--fileformats
  • python-newest.library--fileinput
  • python-newest.library--filesys
  • python-newest.library--fnmatch
  • python-newest.library--fractions
  • python-newest.library--frameworks
  • python-newest.library--ftplib
  • python-newest.library--functional
  • python-newest.library--functions
  • python-newest.library--functools
  • python-newest.library--gc
  • python-newest.library--getopt
  • python-newest.library--getpass
  • python-newest.library--gettext
  • python-newest.library--glob
  • python-newest.library--graphlib
  • python-newest.library--grp
  • python-newest.library--gzip
  • python-newest.library--hashlib
  • python-newest.library--heapq
  • python-newest.library--hmac
  • python-newest.library--html_entities
  • python-newest.library--html_parser
  • python-newest.library--html
  • python-newest.library--http_client
  • python-newest.library--http_cookiejar
  • python-newest.library--http_cookies
  • python-newest.library--http_server
  • python-newest.library--http
  • python-newest.library--i18n
  • python-newest.library--idle
  • python-newest.library--imaplib
  • python-newest.library--imghdr
  • python-newest.library--importlib_metadata
  • python-newest.library--importlib_resources_abc
  • python-newest.library--importlib_resources
  • python-newest.library--importlib
  • python-newest.library--imp
  • python-newest.library--index
  • python-newest.library--inspect
  • python-newest.library--internet
  • python-newest.library--intro
  • python-newest.library--io
  • python-newest.library--ipaddress
  • python-newest.library--ipc
  • python-newest.library--itertools
  • python-newest.library--json
  • python-newest.library--keyword
  • python-newest.library--language
  • python-newest.library--linecache
  • python-newest.library--locale
  • python-newest.library--logging_config
  • python-newest.library--logging_handlers
  • python-newest.library--logging
  • python-newest.library--lzma
  • python-newest.library--mailbox
  • python-newest.library--mailcap
  • python-newest.library--markup
  • python-newest.library--marshal
  • python-newest.library--math
  • python-newest.library--mimetypes
  • python-newest.library--mmap
  • python-newest.library--mm
  • python-newest.library--modulefinder
  • python-newest.library--modules
  • python-newest.library--msilib
  • python-newest.library--msvcrt
  • python-newest.library--multiprocessing_shared_memory
  • python-newest.library--multiprocessing
  • python-newest.library--netdata
  • python-newest.library--netrc
  • python-newest.library--nis
  • python-newest.library--nntplib
  • python-newest.library--numbers
  • python-newest.library--numeric
  • python-newest.library--operator
  • python-newest.library--optparse
  • python-newest.library--os_path
  • python-newest.library--ossaudiodev
  • python-newest.library--os
  • python-newest.library--pathlib
  • python-newest.library--pdb
  • python-newest.library--persistence
  • python-newest.library--pickletools
  • python-newest.library--pickle
  • python-newest.library--pipes
  • python-newest.library--pkgutil
  • python-newest.library--platform
  • python-newest.library--plistlib
  • python-newest.library--poplib
  • python-newest.library--posix
  • python-newest.library--pprint
  • python-newest.library--profile
  • python-newest.library--pty
  • python-newest.library--pwd
  • python-newest.library--py_compile
  • python-newest.library--pyclbr
  • python-newest.library--pydoc
  • python-newest.library--pyexpat
  • python-newest.library--python
  • python-newest.library--queue
  • python-newest.library--quopri
  • python-newest.library--random
  • python-newest.library--readline
  • python-newest.library--removed
  • python-newest.library--reprlib
  • python-newest.library--resource
  • python-newest.library--re
  • python-newest.library--rlcompleter
  • python-newest.library--runpy
  • python-newest.library--sched
  • python-newest.library--secrets
  • python-newest.library--security_warnings
  • python-newest.library--selectors
  • python-newest.library--select
  • python-newest.library--shelve
  • python-newest.library--shlex
  • python-newest.library--shutil
  • python-newest.library--signal
  • python-newest.library--site
  • python-newest.library--smtpd
  • python-newest.library--smtplib
  • python-newest.library--sndhdr
  • python-newest.library--socketserver
  • python-newest.library--socket
  • python-newest.library--spwd
  • python-newest.library--sqlite3
  • python-newest.library--ssl
  • python-newest.library--statistics
  • python-newest.library--stat
  • python-newest.library--stdtypes
  • python-newest.library--stringprep
  • python-newest.library--string
  • python-newest.library--struct
  • python-newest.library--subprocess
  • python-newest.library--sunau
  • python-newest.library--superseded
  • python-newest.library--symtable
  • python-newest.library--sys_monitoring
  • python-newest.library--sys_path_init
  • python-newest.library--sysconfig
  • python-newest.library--syslog
  • python-newest.library--sys
  • python-newest.library--tabnanny
  • python-newest.library--tarfile
  • python-newest.library--telnetlib
  • python-newest.library--tempfile
  • python-newest.library--termios
  • python-newest.library--test
  • python-newest.library--textwrap
  • python-newest.library--text
  • python-newest.library--threading
  • python-newest.library--timeit
  • python-newest.library--time
  • python-newest.library--tkinter_colorchooser
  • python-newest.library--tkinter_dnd
  • python-newest.library--tkinter_font
  • python-newest.library--tkinter_messagebox
  • python-newest.library--tkinter_scrolledtext
  • python-newest.library--tkinter_ttk
  • python-newest.library--tkinter
  • python-newest.library--tk
  • python-newest.library--tokenize
  • python-newest.library--token
  • python-newest.library--tomllib
  • python-newest.library--traceback
  • python-newest.library--tracemalloc
  • python-newest.library--trace
  • python-newest.library--tty
  • python-newest.library--turtle
  • python-newest.library--types
  • python-newest.library--typing
  • python-newest.library--unicodedata
  • python-newest.library--unittest_mock-examples
  • python-newest.library--unittest_mock
  • python-newest.library--unittest
  • python-newest.library--unix
  • python-newest.library--urllib_error
  • python-newest.library--urllib_parse
  • python-newest.library--urllib_request
  • python-newest.library--urllib_robotparser
  • python-newest.library--urllib
  • python-newest.library--uuid
  • python-newest.library--uu
  • python-newest.library--venv
  • python-newest.library--warnings
  • python-newest.library--wave
  • python-newest.library--weakref
  • python-newest.library--webbrowser
  • python-newest.library--windows
  • python-newest.library--winreg
  • python-newest.library--winsound
  • python-newest.library--wsgiref
  • python-newest.library--xdrlib
  • python-newest.library--xml_dom_minidom
  • python-newest.library--xml_dom_pulldom
  • python-newest.library--xml_dom
  • python-newest.library--xml_etree_elementtree
  • python-newest.library--xml_sax_handler
  • python-newest.library--xml_sax_reader
  • python-newest.library--xml_sax_utils
  • python-newest.library--xml_sax
  • python-newest.library--xmlrpc_client
  • python-newest.library--xmlrpc_server
  • python-newest.library--xmlrpc
  • python-newest.library--xml
  • python-newest.library--zipapp
  • python-newest.library--zipfile
  • python-newest.library--zipimport
  • python-newest.library--zlib
  • python-newest.library--zoneinfo
  • python-newest.license
  • python-newest.reference--compound_stmts
  • python-newest.reference--datamodel
  • python-newest.reference--executionmodel
  • python-newest.reference--expressions
  • python-newest.reference--grammar
  • python-newest.reference--import
  • python-newest.reference--index
  • python-newest.reference--introduction
  • python-newest.reference--lexical_analysis
  • python-newest.reference--simple_stmts
  • python-newest.reference--toplevel_components
  • python-newest.sphinx
  • python-newest.tutorial--appendix
  • python-newest.tutorial--appetite
  • python-newest.tutorial--classes
  • python-newest.tutorial--controlflow
  • python-newest.tutorial--datastructures
  • python-newest.tutorial--errors
  • python-newest.tutorial--floatingpoint
  • python-newest.tutorial--index
  • python-newest.tutorial--inputoutput
  • python-newest.tutorial--interactive
  • python-newest.tutorial--interpreter
  • python-newest.tutorial--introduction
  • python-newest.tutorial--modules
  • python-newest.tutorial--stdlib2
  • python-newest.tutorial--stdlib
  • python-newest.tutorial--venv
  • python-newest.tutorial--whatnow
  • python-newest.using--android
  • python-newest.using--cmdline
  • python-newest.using--configure
  • python-newest.using--editors
  • python-newest.using--index
  • python-newest.using--ios
  • python-newest.using--mac
  • python-newest.using--unix
  • python-newest.using--windows
  • python-newest.whatsnew--2_0
  • python-newest.whatsnew--2_1
  • python-newest.whatsnew--2_2
  • python-newest.whatsnew--2_3
  • python-newest.whatsnew--2_4
  • python-newest.whatsnew--2_5
  • python-newest.whatsnew--2_6
  • python-newest.whatsnew--2_7
  • python-newest.whatsnew--3_0
  • python-newest.whatsnew--3_10
  • python-newest.whatsnew--3_11
  • python-newest.whatsnew--3_12
  • python-newest.whatsnew--3_13
  • python-newest.whatsnew--3_14
  • python-newest.whatsnew--3_1
  • python-newest.whatsnew--3_2
  • python-newest.whatsnew--3_3
  • python-newest.whatsnew--3_4
  • python-newest.whatsnew--3_5
  • python-newest.whatsnew--3_6
  • python-newest.whatsnew--3_7
  • python-newest.whatsnew--3_8
  • python-newest.whatsnew--3_9
  • python-newest.whatsnew--changelog
  • python-newest.whatsnew--index

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

517 files changed

+62
-535430
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Workflow from https://github.com/python-docs-translations/transifex-automations/blob/main/sample-workflows/transifex-pull.yml
2+
name: Pull Translations from Transifex
3+
4+
on:
5+
schedule:
6+
- cron: '0 0 * * *'
7+
workflow_dispatch:
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
update-translation:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
version: [ '3.14' ]
18+
steps:
19+
- uses: styfle/cancel-workflow-action@main
20+
with:
21+
access_token: ${{ secrets.GITHUB_TOKEN }}
22+
- uses: actions/setup-python@master
23+
with:
24+
python-version: 3
25+
- name: Install Dependencies
26+
run: |
27+
sudo apt-get install -y gettext
28+
pip install requests cogapp polib transifex-python sphinx-intl blurb six
29+
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
30+
working-directory: /usr/local/bin
31+
- uses: actions/checkout@master
32+
with:
33+
ref: ${{ matrix.version }}
34+
fetch-depth: 0
35+
- run: curl -O https://raw.githubusercontent.com/python-docs-translations/transifex-automations/master/sample-workflows/transifex-util.py
36+
- run: chmod +x transifex-util.py
37+
- run: ./transifex-util.py recreate_tx_config --language id --project-slug python-newest --version 3.14
38+
env:
39+
TX_TOKEN: ${{ secrets.TX_TOKEN }}
40+
- run: ./transifex-util.py fetch --language id --project-slug python-newest --version 3.14
41+
env:
42+
TX_TOKEN: ${{ secrets.TX_TOKEN }}
43+
- run: ./transifex-util.py delete_obsolete_files --language id --project-slug python-newest --version 3.14
44+
- name: Set up Git
45+
run: |
46+
git config --local user.email github-actions@github.com
47+
git config --local user.name "GitHub Action's update-translation job"
48+
- name: Filter files
49+
run: |
50+
! git diff -I'^"POT-Creation-Date: ' \
51+
-I'^"Language-Team: ' \
52+
-I'^# ' -I'^"Last-Translator: ' \
53+
--exit-code \
54+
&& echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0
55+
- run: git add .
56+
- run: git commit -m 'Update translation from Transifex'
57+
if: env.SIGNIFICANT_CHANGES
58+
- uses: ad-m/github-push-action@master
59+
if: env.SIGNIFICANT_CHANGES
60+
with:
61+
branch: ${{ matrix.version }}
62+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)