Skip to content

Commit 41701b2

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 344da4f commit 41701b2

22 files changed

Lines changed: 246 additions & 146 deletions

‎c-api/bytearray.po‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-01 17:31+0000\n"
14+
"POT-Creation-Date: 2026-09-15 17:49+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/"
@@ -31,6 +31,13 @@ msgid ""
3131
"This subtype of :c:type:`PyObject` represents a Python bytearray object."
3232
msgstr ""
3333

34+
msgid ""
35+
"The internal buffer of :c:type:`PyByteArrayObject` always includes an extra "
36+
"trailing null byte for compatibility with null terminated C strings. This "
37+
"extra byte is not counted in :c:func:`PyByteArray_Size` nor in the *len* "
38+
"arguments of the functions below."
39+
msgstr ""
40+
3441
msgid ""
3542
"This instance of :c:type:`PyTypeObject` represents the Python bytearray "
3643
"type; it is the same object as :class:`bytearray` in the Python layer."

‎c-api/bytes.po‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-01 17:31+0000\n"
14+
"POT-Creation-Date: 2026-09-15 17:49+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2026\n"
1717
"Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/"
@@ -32,6 +32,13 @@ msgid ""
3232
"called with a non-bytes parameter."
3333
msgstr ""
3434

35+
msgid ""
36+
"The internal buffer of :c:type:`PyBytesObject` always includes an extra "
37+
"trailing null byte for compatibility with null terminated C strings. This "
38+
"extra byte is not counted in :c:func:`PyBytes_Size` nor in the various "
39+
"*length* and *size* arguments of the functions below."
40+
msgstr ""
41+
3542
msgid "This subtype of :c:type:`PyObject` represents a Python bytes object."
3643
msgstr ""
3744

‎faq/design.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-08-25 14:37+0000\n"
14+
"POT-Creation-Date: 2026-09-13 17:08+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/"

‎faq/programming.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-08-25 14:37+0000\n"
15+
"POT-Creation-Date: 2026-09-13 17:08+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Vladimir, 2025\n"
1818
"Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/"

‎library/codecs.po‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-01 17:31+0000\n"
14+
"POT-Creation-Date: 2026-09-15 17:49+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/"
@@ -1919,6 +1919,11 @@ msgid ""
19191919
"``errors='strict'`` is supported."
19201920
msgstr ""
19211921

1922+
msgid ""
1923+
"This codec builds on ``punycode``, whose algorithms scale poorly, so limit "
1924+
"the length of untrusted input."
1925+
msgstr ""
1926+
19221927
msgid "mbcs"
19231928
msgstr ""
19241929

@@ -2211,6 +2216,11 @@ msgid ""
22112216
"encoding and :mod:`stringprep`."
22122217
msgstr ""
22132218

2219+
msgid ""
2220+
"This module builds on ``punycode``, whose algorithms scale poorly, so limit "
2221+
"the length of untrusted input."
2222+
msgstr ""
2223+
22142224
msgid ""
22152225
"If you need the IDNA 2008 standard from :rfc:`5891` and :rfc:`5895`, use the "
22162226
"third-party :pypi:`idna` module."

‎library/csv.po‎

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# python-doc bot, 2025
87
# Dmitry Luschan, 2025
8+
# python-doc bot, 2026
99
#
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-08-27 23:26+0000\n"
15+
"POT-Creation-Date: 2026-09-15 17:49+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
17-
"Last-Translator: Dmitry Luschan, 2025\n"
17+
"Last-Translator: python-doc bot, 2026\n"
1818
"Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/"
1919
"ru/)\n"
2020
"MIME-Version: 1.0\n"
@@ -25,7 +25,7 @@ msgstr ""
2525
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
2626
"(n%100>=11 && n%100<=14)? 2 : 3);\n"
2727

28-
msgid ":mod:`!csv` --- CSV File Reading and Writing"
28+
msgid ":mod:`!csv` --- CSV file reading and writing"
2929
msgstr ""
3030

3131
msgid "**Source code:** :source:`Lib/csv.py`"
@@ -65,7 +65,7 @@ msgstr ""
6565
msgid "The Python Enhancement Proposal which proposed this addition to Python."
6666
msgstr ""
6767

68-
msgid "Module Contents"
68+
msgid "Module contents"
6969
msgstr ""
7070

7171
msgid "The :mod:`!csv` module defines the following functions:"
@@ -452,7 +452,7 @@ msgstr ""
452452
msgid "Raised by any of the functions when an error is detected."
453453
msgstr ""
454454

455-
msgid "Dialects and Formatting Parameters"
455+
msgid "Dialects and formatting parameters"
456456
msgstr ""
457457

458458
msgid ""
@@ -555,7 +555,7 @@ msgid ""
555555
"``False``."
556556
msgstr ""
557557

558-
msgid "Reader Objects"
558+
msgid "Reader objects"
559559
msgstr ""
560560

561561
msgid ""
@@ -589,7 +589,7 @@ msgid ""
589589
"initialized upon first access or when the first record is read from the file."
590590
msgstr ""
591591

592-
msgid "Writer Objects"
592+
msgid "Writer objects"
593593
msgstr ""
594594

595595
msgid ""
@@ -675,22 +675,21 @@ msgstr ""
675675

676676
msgid ""
677677
"Since :func:`open` is used to open a CSV file for reading, the file will by "
678-
"default be decoded into unicode using the system default encoding (see :func:"
679-
"`locale.getencoding`). To decode a file using a different encoding, use the "
680-
"``encoding`` argument of open::"
678+
"default be decoded into Unicode using UTF-8. To decode a file using a "
679+
"different encoding, use the ``encoding`` argument of open::"
681680
msgstr ""
682681

683682
msgid ""
684683
"import csv\n"
685-
"with open('some.csv', newline='', encoding='utf-8') as f:\n"
684+
"with open('some.csv', newline='', encoding='latin-1') as f:\n"
686685
" reader = csv.reader(f)\n"
687686
" for row in reader:\n"
688687
" print(row)"
689688
msgstr ""
690689

691690
msgid ""
692-
"The same applies to writing in something other than the system default "
693-
"encoding: specify the encoding argument when opening the output file."
691+
"The same applies to writing in something other than the default encoding: "
692+
"specify the encoding argument when opening the output file."
694693
msgstr ""
695694

696695
msgid "Registering a new dialect::"

‎library/difflib.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-08-25 14:37+0000\n"
14+
"POT-Creation-Date: 2026-09-13 17:08+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: python-doc bot, 2026\n"
1717
"Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/"

‎library/io.po‎

Lines changed: 20 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-01 17:31+0000\n"
14+
"POT-Creation-Date: 2026-09-15 17:49+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/"
@@ -160,46 +160,26 @@ msgid ""
160160
"implement retry behavior."
161161
msgstr ""
162162

163-
msgid "Text Encoding"
163+
msgid "Text encoding"
164164
msgstr ""
165165

166166
msgid ""
167-
"The default encoding of :class:`TextIOWrapper` and :func:`open` is locale-"
168-
"specific (:func:`locale.getencoding`)."
169-
msgstr ""
170-
171-
msgid ""
172-
"However, many developers forget to specify the encoding when opening text "
173-
"files encoded in UTF-8 (e.g. JSON, TOML, Markdown, etc...) since most Unix "
174-
"platforms use UTF-8 locale by default. This causes bugs because the locale "
175-
"encoding is not UTF-8 for most Windows users. For example::"
176-
msgstr ""
177-
178-
msgid ""
179-
"# May not work on Windows when non-ASCII characters in the file.\n"
180-
"with open(\"README.md\") as f:\n"
181-
" long_description = f.read()"
182-
msgstr ""
183-
184-
msgid ""
185-
"Accordingly, it is highly recommended that you specify the encoding "
186-
"explicitly when opening text files. If you want to use UTF-8, pass "
187-
"``encoding=\"utf-8\"``. To use the current locale encoding, "
188-
"``encoding=\"locale\"`` is supported since Python 3.10."
167+
"The default encoding of :class:`TextIOWrapper` and :func:`open` is UTF-8. "
168+
"If :ref:`Python UTF-8 Mode <utf8-mode>` is disabled, the default encoding is "
169+
"locale-specific (:func:`locale.getencoding`)."
189170
msgstr ""
190171

191172
msgid ":ref:`utf8-mode`"
192173
msgstr ""
193174

194175
msgid ""
195-
"Python UTF-8 Mode can be used to change the default encoding to UTF-8 from "
196-
"locale-specific encoding."
176+
"Python UTF-8 Mode ignores the locale encoding and forces the use of UTF-8."
197177
msgstr ""
198178

199179
msgid ":pep:`686`"
200180
msgstr ""
201181

202-
msgid "Python 3.15 will make :ref:`utf8-mode` default."
182+
msgid "Python 3.15 made :ref:`utf8-mode` the default."
203183
msgstr ""
204184

205185
msgid "Opt-in EncodingWarning"
@@ -209,10 +189,10 @@ msgid "See :pep:`597` for more details."
209189
msgstr ""
210190

211191
msgid ""
212-
"To find where the default locale encoding is used, you can enable the :"
213-
"option:`-X warn_default_encoding <-X>` command line option or set the :"
214-
"envvar:`PYTHONWARNDEFAULTENCODING` environment variable, which will emit an :"
215-
"exc:`EncodingWarning` when the default encoding is used."
192+
"To find where the default encoding is used, you can enable the :option:`-X "
193+
"warn_default_encoding <-X>` command line option or set the :envvar:"
194+
"`PYTHONWARNDEFAULTENCODING` environment variable, which will emit an :exc:"
195+
"`EncodingWarning` when the default encoding is used."
216196
msgstr ""
217197

218198
msgid ""
@@ -223,7 +203,7 @@ msgid ""
223203
"consider using UTF-8 by default (i.e. ``encoding=\"utf-8\"``) for new APIs."
224204
msgstr ""
225205

226-
msgid "High-level Module Interface"
206+
msgid "High-level module interface"
227207
msgstr ""
228208

229209
msgid ""
@@ -422,7 +402,7 @@ msgid ""
422402
"Inherited :class:`IOBase` methods, ``encoding``, ``errors``, and ``newlines``"
423403
msgstr ""
424404

425-
msgid "I/O Base Classes"
405+
msgid "I/O base classes"
426406
msgstr ""
427407

428408
msgid "The abstract base class for all I/O classes."
@@ -807,7 +787,7 @@ msgid ""
807787
"implementation should only access *b* during the method call."
808788
msgstr ""
809789

810-
msgid "Raw File I/O"
790+
msgid "Raw file I/O"
811791
msgstr ""
812792

813793
msgid ""
@@ -888,7 +868,7 @@ msgid ""
888868
"given in the constructor."
889869
msgstr ""
890870

891-
msgid "Buffered Streams"
871+
msgid "Buffered streams"
892872
msgstr ""
893873

894874
msgid ""
@@ -1179,10 +1159,10 @@ msgstr ""
11791159

11801160
msgid ""
11811161
"*encoding* gives the name of the encoding that the stream will be decoded or "
1182-
"encoded with. In :ref:`UTF-8 Mode <utf8-mode>`, this defaults to UTF-8. "
1183-
"Otherwise, it defaults to :func:`locale.getencoding`. "
1184-
"``encoding=\"locale\"`` can be used to specify the current locale's encoding "
1185-
"explicitly. See :ref:`io-text-encoding` for more information."
1162+
"encoded with. This defaults to UTF-8; if :ref:`UTF-8 Mode <utf8-mode>` is "
1163+
"disabled, it defaults to :func:`locale.getencoding`. ``encoding=\"locale\"`` "
1164+
"can be used to specify the current locale's encoding explicitly. See :ref:"
1165+
"`io-text-encoding` for more information."
11861166
msgstr ""
11871167

11881168
msgid ""
@@ -1383,7 +1363,7 @@ msgid ""
13831363
"inherits from :class:`codecs.IncrementalDecoder`."
13841364
msgstr ""
13851365

1386-
msgid "Static Typing"
1366+
msgid "Static typing"
13871367
msgstr ""
13881368

13891369
msgid ""

‎library/json.po‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-09-07 18:32+0000\n"
15+
"POT-Creation-Date: 2026-09-15 17:49+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1717
"Last-Translator: Dmitry Luschan, 2025\n"
1818
"Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/"
@@ -301,7 +301,9 @@ msgid ""
301301
"dictionary is converted into JSON, all the keys of the dictionary are "
302302
"coerced to strings. As a result of this, if a dictionary is converted into "
303303
"JSON and then back into a dictionary, the dictionary may not equal the "
304-
"original one. That is, ``loads(dumps(x)) != x`` if x has non-string keys."
304+
"original one. That is, ``loads(dumps(x)) != x`` if x has non-string keys. "
305+
"*sort_keys* sorts the keys before they are coerced to strings, so numeric "
306+
"keys are sorted by value, not by their string representation."
305307
msgstr ""
306308

307309
msgid ""

‎library/socket.po‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-01 17:31+0000\n"
14+
"POT-Creation-Date: 2026-09-15 17:49+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/"
@@ -1390,7 +1390,7 @@ msgid ""
13901390
"arguments. This only affects how Python represents e.g. the return value "
13911391
"of :meth:`socket.getpeername` but not the actual OS resource. Unlike :func:"
13921392
"`socket.fromfd`, *fileno* will return the same socket and not a duplicate. "
1393-
"This may help close a detached socket using :meth:`socket.close`."
1393+
"This may help close a detached socket using :meth:`~socket.socket.close`."
13941394
msgstr ""
13951395

13961396
msgid ""
@@ -1437,7 +1437,7 @@ msgstr ""
14371437

14381438
msgid ""
14391439
"Support for the :term:`context manager` protocol was added. Exiting the "
1440-
"context manager is equivalent to calling :meth:`~socket.close`."
1440+
"context manager is equivalent to calling :meth:`~socket.socket.close`."
14411441
msgstr ""
14421442

14431443
msgid ""
@@ -1635,7 +1635,7 @@ msgstr ""
16351635
msgid ""
16361636
"Closing the file object returned by :meth:`makefile` won't close the "
16371637
"original socket unless all other file objects have been closed and :meth:"
1638-
"`socket.close` has been called on the socket object."
1638+
"`~socket.socket.close` has been called on the socket object."
16391639
msgstr ""
16401640

16411641
msgid ""

0 commit comments

Comments
 (0)