Skip to content

Commit 33ab759

Browse files
Translation Update 3.12 (#202)
1 parent 328d521 commit 33ab759

File tree

354 files changed

+79579
-15691
lines changed

Some content is hidden

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

354 files changed

+79579
-15691
lines changed

Makefile

+1-1
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 := 5df322e91a40909e6904bbdbc0c3a6b6a9eead39
22+
CPYTHON_CURRENT_COMMIT := dc3c075d9eebc82c63ec54bb3f217d67b2aea914
2323
LANGUAGE := tr
2424
BRANCH := 3.12
2525

c-api/arg.po

+25-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-08-01 00:19+0000\n"
10+
"POT-Creation-Date: 2024-11-01 00:21+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <[email protected]>\n"
@@ -602,6 +602,10 @@ msgid ""
602602
"*converter* function in turn is called as follows::"
603603
msgstr ""
604604

605+
#: c-api/arg.rst:316
606+
msgid "status = converter(object, address);"
607+
msgstr ""
608+
605609
#: c-api/arg.rst:318
606610
msgid ""
607611
"where *object* is the Python object to be converted and *address* is the :c:"
@@ -818,12 +822,32 @@ msgid ""
818822
"the :mod:`!_weakref` helper module for weak references::"
819823
msgstr ""
820824

825+
#: c-api/arg.rst:477
826+
msgid ""
827+
"static PyObject *\n"
828+
"weakref_ref(PyObject *self, PyObject *args)\n"
829+
"{\n"
830+
" PyObject *object;\n"
831+
" PyObject *callback = NULL;\n"
832+
" PyObject *result = NULL;\n"
833+
"\n"
834+
" if (PyArg_UnpackTuple(args, \"ref\", 1, 2, &object, &callback)) {\n"
835+
" result = PyWeakref_NewRef(object, callback);\n"
836+
" }\n"
837+
" return result;\n"
838+
"}"
839+
msgstr ""
840+
821841
#: c-api/arg.rst:490
822842
msgid ""
823843
"The call to :c:func:`PyArg_UnpackTuple` in this example is entirely "
824844
"equivalent to this call to :c:func:`PyArg_ParseTuple`::"
825845
msgstr ""
826846

847+
#: c-api/arg.rst:493
848+
msgid "PyArg_ParseTuple(args, \"O|O:ref\", &object, &callback)"
849+
msgstr ""
850+
827851
#: c-api/arg.rst:498
828852
msgid "Building values"
829853
msgstr ""

c-api/buffer.po

+53-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-06-01 00:16+0000\n"
10+
"POT-Creation-Date: 2024-11-01 00:21+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <[email protected]>\n"
@@ -512,13 +512,49 @@ msgid ""
512512
"dimensional array as follows:"
513513
msgstr ""
514514

515+
#: c-api/buffer.rst:368
516+
msgid ""
517+
"ptr = (char *)buf + indices[0] * strides[0] + ... + indices[n-1] * "
518+
"strides[n-1];\n"
519+
"item = *((typeof(item) *)ptr);"
520+
msgstr ""
521+
515522
#: c-api/buffer.rst:374
516523
msgid ""
517524
"As noted above, :c:member:`~Py_buffer.buf` can point to any location within "
518525
"the actual memory block. An exporter can check the validity of a buffer with "
519526
"this function:"
520527
msgstr ""
521528

529+
#: c-api/buffer.rst:378
530+
msgid ""
531+
"def verify_structure(memlen, itemsize, ndim, shape, strides, offset):\n"
532+
" \"\"\"Verify that the parameters represent a valid array within\n"
533+
" the bounds of the allocated memory:\n"
534+
" char *mem: start of the physical memory block\n"
535+
" memlen: length of the physical memory block\n"
536+
" offset: (char *)buf - mem\n"
537+
" \"\"\"\n"
538+
" if offset % itemsize:\n"
539+
" return False\n"
540+
" if offset < 0 or offset+itemsize > memlen:\n"
541+
" return False\n"
542+
" if any(v % itemsize for v in strides):\n"
543+
" return False\n"
544+
"\n"
545+
" if ndim <= 0:\n"
546+
" return ndim == 0 and not shape and not strides\n"
547+
" if 0 in shape:\n"
548+
" return True\n"
549+
"\n"
550+
" imin = sum(strides[j]*(shape[j]-1) for j in range(ndim)\n"
551+
" if strides[j] <= 0)\n"
552+
" imax = sum(strides[j]*(shape[j]-1) for j in range(ndim)\n"
553+
" if strides[j] > 0)\n"
554+
"\n"
555+
" return 0 <= offset+imin and offset+imax+itemsize <= memlen"
556+
msgstr ""
557+
522558
#: c-api/buffer.rst:408
523559
msgid "PIL-style: shape, strides and suboffsets"
524560
msgstr ""
@@ -541,6 +577,22 @@ msgid ""
541577
"strides and suboffsets::"
542578
msgstr ""
543579

580+
#: c-api/buffer.rst:423
581+
msgid ""
582+
"void *get_item_pointer(int ndim, void *buf, Py_ssize_t *strides,\n"
583+
" Py_ssize_t *suboffsets, Py_ssize_t *indices) {\n"
584+
" char *pointer = (char*)buf;\n"
585+
" int i;\n"
586+
" for (i = 0; i < ndim; i++) {\n"
587+
" pointer += strides[i] * indices[i];\n"
588+
" if (suboffsets[i] >=0 ) {\n"
589+
" pointer = *((char**)pointer) + suboffsets[i];\n"
590+
" }\n"
591+
" }\n"
592+
" return (void*)pointer;\n"
593+
"}"
594+
msgstr ""
595+
544596
#: c-api/buffer.rst:438
545597
msgid "Buffer-related functions"
546598
msgstr ""

c-api/bytearray.po

+15-13
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-09-18 19:05+0000\n"
10+
"POT-Creation-Date: 2024-11-01 00:21+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <[email protected]>\n"
@@ -57,44 +57,46 @@ msgid ""
5757
"`buffer protocol <bufferobjects>`."
5858
msgstr ""
5959

60-
#: c-api/bytearray.rst:48
61-
msgid ""
62-
"Create a new bytearray object from *string* and its length, *len*. On "
63-
"failure, ``NULL`` is returned."
60+
#: c-api/bytearray.rst:52 c-api/bytearray.rst:59
61+
msgid "On failure, return ``NULL`` with an exception set."
62+
msgstr ""
63+
64+
#: c-api/bytearray.rst:50
65+
msgid "Create a new bytearray object from *string* and its length, *len*."
6466
msgstr ""
6567

66-
#: c-api/bytearray.rst:54
68+
#: c-api/bytearray.rst:57
6769
msgid ""
6870
"Concat bytearrays *a* and *b* and return a new bytearray with the result."
6971
msgstr ""
7072

71-
#: c-api/bytearray.rst:59
73+
#: c-api/bytearray.rst:64
7274
msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer."
7375
msgstr ""
7476

75-
#: c-api/bytearray.rst:64
77+
#: c-api/bytearray.rst:69
7678
msgid ""
7779
"Return the contents of *bytearray* as a char array after checking for a "
7880
"``NULL`` pointer. The returned array always has an extra null byte appended."
7981
msgstr ""
8082

81-
#: c-api/bytearray.rst:71
83+
#: c-api/bytearray.rst:76
8284
msgid "Resize the internal buffer of *bytearray* to *len*."
8385
msgstr ""
8486

85-
#: c-api/bytearray.rst:74
87+
#: c-api/bytearray.rst:79
8688
msgid "Macros"
8789
msgstr ""
8890

89-
#: c-api/bytearray.rst:76
91+
#: c-api/bytearray.rst:81
9092
msgid "These macros trade safety for speed and they don't check pointers."
9193
msgstr ""
9294

93-
#: c-api/bytearray.rst:80
95+
#: c-api/bytearray.rst:85
9496
msgid "Similar to :c:func:`PyByteArray_AsString`, but without error checking."
9597
msgstr ""
9698

97-
#: c-api/bytearray.rst:85
99+
#: c-api/bytearray.rst:90
98100
msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking."
99101
msgstr ""
100102

c-api/call.po

+10-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-05-01 21:53+0000\n"
10+
"POT-Creation-Date: 2024-11-01 00:21+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <[email protected]>\n"
@@ -35,6 +35,11 @@ msgid ""
3535
"callable. The signature of the slot is::"
3636
msgstr ""
3737

38+
#: c-api/call.rst:17
39+
msgid ""
40+
"PyObject *tp_call(PyObject *callable, PyObject *args, PyObject *kwargs);"
41+
msgstr ""
42+
3843
#: c-api/call.rst:19
3944
msgid ""
4045
"A call is made using a tuple for the positional arguments and a dict for the "
@@ -215,6 +220,10 @@ msgid ""
215220
"Currently equivalent to::"
216221
msgstr ""
217222

223+
#: c-api/call.rst:153
224+
msgid "(Py_ssize_t)(nargsf & ~PY_VECTORCALL_ARGUMENTS_OFFSET)"
225+
msgstr ""
226+
218227
#: c-api/call.rst:155
219228
msgid ""
220229
"However, the function ``PyVectorcall_NARGS`` should be used to allow for "

c-api/capsule.po

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-09-18 19:05+0000\n"
10+
"POT-Creation-Date: 2024-11-01 00:21+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <[email protected]>\n"
@@ -39,6 +39,10 @@ msgstr ""
3939
msgid "The type of a destructor callback for a capsule. Defined as::"
4040
msgstr ""
4141

42+
#: c-api/capsule.rst:29
43+
msgid "typedef void (*PyCapsule_Destructor)(PyObject *);"
44+
msgstr ""
45+
4246
#: c-api/capsule.rst:31
4347
msgid ""
4448
"See :c:func:`PyCapsule_New` for the semantics of PyCapsule_Destructor "

c-api/code.po

+3-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-02-24 17:22+0000\n"
10+
"POT-Creation-Date: 2024-11-01 00:21+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <[email protected]>\n"
@@ -119,9 +119,8 @@ msgstr ""
119119

120120
#: c-api/code.rst:93
121121
msgid ""
122-
"For efficiently iterating over the line numbers in a code object, use `the "
123-
"API described in PEP 626 <https://peps.python.org/pep-0626/#out-of-process-"
124-
"debuggers-and-profilers>`_."
122+
"For efficiently iterating over the line numbers in a code object, use :pep:"
123+
"`the API described in PEP 626 <0626#out-of-process-debuggers-and-profilers>`."
125124
msgstr ""
126125

127126
#: c-api/code.rst:98

c-api/complex.po

+9-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-08-01 00:19+0000\n"
10+
"POT-Creation-Date: 2024-11-01 00:21+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <[email protected]>\n"
@@ -51,6 +51,14 @@ msgstr ""
5151
msgid "The structure is defined as::"
5252
msgstr ""
5353

54+
#: c-api/complex.rst:35
55+
msgid ""
56+
"typedef struct {\n"
57+
" double real;\n"
58+
" double imag;\n"
59+
"} Py_complex;"
60+
msgstr ""
61+
5462
#: c-api/complex.rst:43
5563
msgid ""
5664
"Return the sum of two complex numbers, using the C :c:type:`Py_complex` "

c-api/contextvars.po

+10-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-04-01 00:17+0000\n"
10+
"POT-Creation-Date: 2024-11-01 00:21+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <[email protected]>\n"
@@ -27,6 +27,15 @@ msgid ""
2727
"`PyContext`, :c:type:`PyContextVar`, and :c:type:`PyContextToken`, e.g.::"
2828
msgstr ""
2929

30+
#: c-api/contextvars.rst:20
31+
msgid ""
32+
"// in 3.7.0:\n"
33+
"PyContext *PyContext_New(void);\n"
34+
"\n"
35+
"// in 3.7.1+:\n"
36+
"PyObject *PyContext_New(void);"
37+
msgstr ""
38+
3039
#: c-api/contextvars.rst:26
3140
msgid "See :issue:`34762` for more details."
3241
msgstr ""

c-api/datetime.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-09-18 19:05+0000\n"
10+
"POT-Creation-Date: 2024-11-01 00:21+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <[email protected]>\n"
@@ -297,11 +297,11 @@ msgstr ""
297297
#: c-api/datetime.rst:320
298298
msgid ""
299299
"Create and return a new :class:`datetime.datetime` object given an argument "
300-
"tuple suitable for passing to :meth:`datetime.datetime.fromtimestamp()`."
300+
"tuple suitable for passing to :meth:`datetime.datetime.fromtimestamp`."
301301
msgstr ""
302302

303303
#: c-api/datetime.rst:326
304304
msgid ""
305305
"Create and return a new :class:`datetime.date` object given an argument "
306-
"tuple suitable for passing to :meth:`datetime.date.fromtimestamp()`."
306+
"tuple suitable for passing to :meth:`datetime.date.fromtimestamp`."
307307
msgstr ""

0 commit comments

Comments
 (0)