Skip to content

Commit f02f8bf

Browse files
Translation Update 3.12 (#168)
Co-authored-by: egeakman <[email protected]>
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

+5-14
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

+3-11
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

+2-2
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

+2-2
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

+2-6
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

+1-2
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

+2-2
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

+1-1
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

+7-7
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 <[email protected]>\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

+1-1
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 ""

c-api/abstract.po

+1-1
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
#, fuzzy

c-api/allocation.po

+1-1
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
#, fuzzy

c-api/apiabiversion.po

+1-1
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
#, fuzzy

c-api/arg.po

+1-1
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
#, fuzzy

c-api/bool.po

+1-1
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
#, fuzzy

c-api/buffer.po

+1-1
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
#, fuzzy

c-api/bytearray.po

+1-1
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
#, fuzzy

c-api/bytes.po

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
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
#, fuzzy
66
msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-09-18 22:33+0300\n"
10+
"POT-Creation-Date: 2024-01-01 00:16+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <[email protected]>\n"
@@ -269,17 +269,17 @@ msgstr ""
269269
#: c-api/bytes.rst:156
270270
msgid ""
271271
"Return the null-terminated contents of the object *obj* through the output "
272-
"variables *buffer* and *length*."
272+
"variables *buffer* and *length*. Returns ``0`` on success."
273273
msgstr ""
274274

275-
#: c-api/bytes.rst:159
275+
#: c-api/bytes.rst:160
276276
msgid ""
277277
"If *length* is ``NULL``, the bytes object may not contain embedded null "
278278
"bytes; if it does, the function returns ``-1`` and a :exc:`ValueError` is "
279279
"raised."
280280
msgstr ""
281281

282-
#: c-api/bytes.rst:163
282+
#: c-api/bytes.rst:164
283283
msgid ""
284284
"The buffer refers to an internal buffer of *obj*, which includes an "
285285
"additional null byte at the end (not counted in *length*). The data must "
@@ -289,13 +289,13 @@ msgid ""
289289
"returns ``-1`` and raises :exc:`TypeError`."
290290
msgstr ""
291291

292-
#: c-api/bytes.rst:170
292+
#: c-api/bytes.rst:171
293293
msgid ""
294294
"Previously, :exc:`TypeError` was raised when embedded null bytes were "
295295
"encountered in the bytes object."
296296
msgstr ""
297297

298-
#: c-api/bytes.rst:177
298+
#: c-api/bytes.rst:178
299299
msgid ""
300300
"Create a new bytes object in *\\*bytes* containing the contents of *newpart* "
301301
"appended to *bytes*; the caller will own the new reference. The reference "
@@ -304,14 +304,14 @@ msgid ""
304304
"of *\\*bytes* will be set to ``NULL``; the appropriate exception will be set."
305305
msgstr ""
306306

307-
#: c-api/bytes.rst:186
307+
#: c-api/bytes.rst:187
308308
msgid ""
309309
"Create a new bytes object in *\\*bytes* containing the contents of *newpart* "
310310
"appended to *bytes*. This version releases the :term:`strong reference` to "
311311
"*newpart* (i.e. decrements its reference count)."
312312
msgstr ""
313313

314-
#: c-api/bytes.rst:193
314+
#: c-api/bytes.rst:194
315315
msgid ""
316316
"A way to resize a bytes object even though it is \"immutable\". Only use "
317317
"this to build up a brand new bytes object; don't use this if the bytes may "

c-api/call.po

+1-1
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
#, fuzzy

c-api/capsule.po

+1-1
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
#, fuzzy

c-api/cell.po

+1-1
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
#, fuzzy

c-api/code.po

+1-1
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
#, fuzzy

c-api/codec.po

+1-1
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
#, fuzzy

c-api/complex.po

+1-1
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
#, fuzzy

c-api/concrete.po

+1-1
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
#, fuzzy

c-api/contextvars.po

+1-1
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
#, fuzzy

c-api/conversion.po

+1-1
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
#, fuzzy

c-api/coro.po

+1-1
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
#, fuzzy

0 commit comments

Comments
 (0)