Skip to content

Commit f02f8bf

Browse files
Translation Update 3.12 (#168)
Co-authored-by: egeakman <me@egeakman.dev>
1 parent d1f9510 commit f02f8bf

File tree

491 files changed

+13625
-13030
lines changed

Some content is hidden

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

491 files changed

+13625
-13030
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
name: Tests
2-
on:
3-
workflow_dispatch:
4-
push:
5-
branches:
6-
- "**"
7-
pull_request:
8-
branches:
9-
- "**"
2+
on: [push, pull_request, workflow_dispatch]
103

114
jobs:
125
checks:
@@ -28,15 +21,14 @@ jobs:
2821
token: ${{ secrets.GITHUB_TOKEN }}
2922
- uses: actions/setup-python@v5
3023
with:
31-
python-version: "3.12-dev"
24+
python-version: "3.12"
3225
- name: Install ${{ matrix.tool.package }}
3326
run: |
3427
if [ -n "${{ matrix.tool.apt_dependencies }}" ]; then
3528
sudo apt-get update && sudo apt-get install -y ${{ matrix.tool.apt_dependencies }}
3629
fi
3730
if [ -n "${{ matrix.tool.package }}" ]; then
38-
python -m pip install --upgrade pip setuptools wheel
39-
python -m pip install ${{ matrix.tool.package }}
31+
pip install ${{ matrix.tool.package }}
4032
fi
4133
- name: Run ${{ matrix.tool.package }}
4234
env:
@@ -62,13 +54,12 @@ jobs:
6254
- uses: actions/checkout@v4
6355
- uses: actions/setup-python@v5
6456
with:
65-
python-version: "3.12-dev"
57+
python-version: "3.12"
6658
- name: Prepare environment
6759
run: |
6860
pwd
6961
tree -L 2
7062
git clone https://github.com/python/cpython.git venv/cpython/
71-
python -m pip install --upgrade pip setuptools wheel
72-
python -m pip install -r requirements.txt -r venv/cpython/Doc/requirements.txt
63+
pip install -r venv/cpython/Doc/requirements.txt
7364
- name: Make
7465
run: make

.github/workflows/pre-commit-ci.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
name: pre-commit-ci
2-
on:
3-
workflow_dispatch:
4-
push:
5-
branches:
6-
- "**"
7-
pull_request:
8-
branches:
9-
- "**"
2+
on: [push, pull_request, workflow_dispatch]
103

114
jobs:
125
pre-commit:
@@ -17,11 +10,10 @@ jobs:
1710
- uses: actions/setup-python@v5
1811
id: setup_python
1912
with:
20-
python-version: "3.12-dev"
21-
cache: pip
13+
python-version: "3.12"
2214

2315
- name: Install pre-commit
24-
run: pip install --upgrade -r requirements.txt
16+
run: pip install pre-commit
2517

2618
- name: Cache pre-commit tools
2719
uses: actions/cache@v3

.github/workflows/translate.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Set Up Python 3.12
1717
uses: actions/setup-python@v5
1818
with:
19-
python-version: "3.12-dev"
19+
python-version: "3.12"
2020

2121
- name: Install dependencies
22-
run: pip install -r requirements.txt && sudo apt update && sudo apt install gettext -y
22+
run: pip install polib deep_translator && sudo apt update && sudo apt install gettext -y
2323

2424
- name: Run translate.py
2525
run: python scripts/translate.py ${{ github.event.inputs.file }} -t google -s

.github/workflows/update_doc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
- name: Set Up Python 3.12
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version: "3.12-dev"
20+
python-version: "3.12"
2121

2222
- name: Install dependencies
23-
run: pip install -r requirements.txt && sudo apt install gettext -y
23+
run: pip install tqdm poutils -r venv/cpython/Doc/requirements.txt && sudo apt install gettext -y
2424

2525
- name: Run merge.py
2626
run: python merge.py ${GITHUB_REF##*/}

.github/workflows/wrap_branch.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,11 @@ jobs:
1414
- name: Set Up Python 3.12
1515
uses: actions/setup-python@v5
1616
with:
17-
python-version: "3.12-dev"
18-
19-
# Upgrade pip
20-
- name: Upgrade pip
21-
run: python -m pip install --upgrade pip
17+
python-version: "3.12"
2218

2319
# Install dependencies
2420
- name: Install dependencies
25-
run: python -m pip install --upgrade -r requirements.txt && sudo apt install -y gettext
21+
run: pip install poutils && sudo apt install -y gettext
2622

2723
# Wrap all po files
2824
- name: Wrap

.readthedocs.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ build:
1010

1111
commands:
1212
- git clone https://github.com/python/cpython.git venv/cpython/
13-
- python -m pip install --upgrade pip setuptools wheel
14-
- python -m pip install --upgrade -r requirements.txt -r venv/cpython/Doc/requirements.txt
13+
- python -m pip install -r venv/cpython/Doc/requirements.txt
1514
- make
1615
- mkdir -p _readthedocs/html/
1716
- cp -r venv/cpython/Doc/build/html/* _readthedocs/html/

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# test build, we're building with the .rst files that generated our
2020
# .po files.
2121

22-
CPYTHON_CURRENT_COMMIT := 4f919cf8b9ed07964e8b7b87a5a3e25b09b1ed9e
22+
CPYTHON_CURRENT_COMMIT := d3f2051eec6039811ae42e4382e8b292a983edc1
2323
LANGUAGE := tr
2424
BRANCH := 3.12
2525

@@ -86,7 +86,7 @@ ensure_prerequisites: venv/cpython/.git/HEAD
8686
git -C venv/cpython/ checkout $(BRANCH); \
8787
echo "You're missing dependencies please install:"; \
8888
echo ""; \
89-
echo " python -m pip install -r requirements.txt -r venv/cpython/Doc/requirements.txt"; \
89+
echo " python -m pip install -r venv/cpython/Doc/requirements.txt"; \
9090
exit 1; \
9191
fi
9292

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Bu proje gönüllü çevirmenler ve python-docs-tr ekibi iş birliğinde sürdü
3737
- Örneğin, ``library/functions.po`` dosyasını çevirmek istiyorsanız, ``library-functions`` adında bir branch oluşturun.
3838
- ``git checkout -b library-functions``
3939
4. Gerekli paketleri yükleyin.
40-
- ``python -m pip install --upgrade -r requirements.txt``
40+
- ``python -m pip install --upgrade -r requirements-dev.txt``
4141
5. Syntax hatalarını commit öncesi otomatik kontrol eden ``pre-commit`` 'i kurun.
4242
- ``pre-commit install``
4343

about.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.12\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2023-11-04 18:33+0000\n"
9+
"POT-Creation-Date: 2024-01-04 03:14+0300\n"
1010
"PO-Revision-Date: 2022-12-28 16:16-0500\n"
1111
"Last-Translator: \n"
1212
"Language-Team: TURKISH <python.docs.tr@gmail.com>\n"
@@ -19,7 +19,7 @@ msgstr ""
1919

2020
#: about.rst:3
2121
msgid "About these documents"
22-
msgstr "Dokümanlar hakkında"
22+
msgstr "Bu dokümanlar hakkında"
2323

2424
#: about.rst:6
2525
msgid ""
@@ -81,13 +81,13 @@ msgid ""
8181
"Python source distribution for a partial list of contributors."
8282
msgstr ""
8383
"Birçok kişi Python diline, Python standart kütüphanesine ve Python "
84-
"belgelerine katkıda bulunmuştur. Katkıda bulunanların kısmi listesi için "
85-
"Python kaynak dağıtımında :source:`Misc/ACKS` adresine bakın."
84+
"dokümantasyonuna katkıda bulunmuştur. Katkıda bulunanların kısmi bir "
85+
"listesi için Python kaynak dağıtımında :source:`Misc/ACKS` dosyasına bakın."
8686

8787
#: about.rst:37
8888
msgid ""
8989
"It is only with the input and contributions of the Python community that "
9090
"Python has such wonderful documentation -- Thank You!"
9191
msgstr ""
92-
"Python topluluğunun girdileri ve katkılarıyla Python böyle harika bir "
93-
"dokümantasyona sahip -- Teşekkürler!"
92+
"Python topluluğunun girdileri ve katkıları sayesinde böyle harika bir "
93+
"dokümantasyona sahibiz -- Teşekkürler!"

bugs.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
msgid ""

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy