Skip to content

Commit b3c867d

Browse files
Wrap translations (#59)
Co-authored-by: egeakman <me@egeakman.dev> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 184d696 commit b3c867d

File tree

131 files changed

+747
-760
lines changed

Some content is hidden

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

131 files changed

+747
-760
lines changed

c-api/arg.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@ msgstr ""
403403
#: c-api/arg.rst:231
404404
msgid ""
405405
"If *\\*buffer* points a ``NULL`` pointer, the function will allocate a "
406-
"buffer of the needed size, copy the encoded data into this buffer and set "
407-
"*\\*buffer* to reference the newly allocated storage. The caller is "
406+
"buffer of the needed size, copy the encoded data into this buffer and set *"
407+
"\\*buffer* to reference the newly allocated storage. The caller is "
408408
"responsible for calling :c:func:`PyMem_Free` to free the allocated buffer "
409409
"after usage."
410410
msgstr ""

c-api/bytes.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@ msgstr ""
214214

215215
#: c-api/bytes.rst:102
216216
msgid ""
217-
"The hex representation of a C pointer. Mostly equivalent to "
218-
"``printf(\"%p\")`` except that it is guaranteed to start with the literal "
219-
"``0x`` regardless of what the platform's ``printf`` yields."
217+
"The hex representation of a C pointer. Mostly equivalent to ``printf(\"%p"
218+
"\")`` except that it is guaranteed to start with the literal ``0x`` "
219+
"regardless of what the platform's ``printf`` yields."
220220
msgstr ""
221221

222222
#: c-api/bytes.rst:111
@@ -320,7 +320,7 @@ msgid ""
320320
"address of an existing bytes object as an lvalue (it may be written into), "
321321
"and the new size desired. On success, *\\*bytes* holds the resized bytes "
322322
"object and ``0`` is returned; the address in *\\*bytes* may differ from its "
323-
"input value. If the reallocation fails, the original bytes object at "
324-
"*\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` "
323+
"input value. If the reallocation fails, the original bytes object at *"
324+
"\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` "
325325
"is set, and ``-1`` is returned."
326326
msgstr ""

c-api/exceptions.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,8 @@ msgstr ""
758758

759759
#: c-api/exceptions.rst:735
760760
msgid ""
761-
"Get the *start* attribute of the given exception object and place it into "
762-
"*\\*start*. *start* must not be ``NULL``. Return ``0`` on success, ``-1`` "
761+
"Get the *start* attribute of the given exception object and place it into *"
762+
"\\*start*. *start* must not be ``NULL``. Return ``0`` on success, ``-1`` "
763763
"on failure."
764764
msgstr ""
765765

@@ -771,8 +771,8 @@ msgstr ""
771771

772772
#: c-api/exceptions.rst:750
773773
msgid ""
774-
"Get the *end* attribute of the given exception object and place it into "
775-
"*\\*end*. *end* must not be ``NULL``. Return ``0`` on success, ``-1`` on "
774+
"Get the *end* attribute of the given exception object and place it into *"
775+
"\\*end*. *end* must not be ``NULL``. Return ``0`` on success, ``-1`` on "
776776
"failure."
777777
msgstr ""
778778

c-api/gcsupport.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ msgstr ""
2323
#: c-api/gcsupport.rst:8
2424
msgid ""
2525
"Python's support for detecting and collecting garbage which involves "
26-
"circular references requires support from object types which are "
27-
"\"containers\" for other objects which may also be containers. Types which "
28-
"do not store references to other objects, or which only store references to "
29-
"atomic types (such as numbers or strings), do not need to provide any "
30-
"explicit support for garbage collection."
26+
"circular references requires support from object types which are \"containers"
27+
"\" for other objects which may also be containers. Types which do not store "
28+
"references to other objects, or which only store references to atomic types "
29+
"(such as numbers or strings), do not need to provide any explicit support "
30+
"for garbage collection."
3131
msgstr ""
3232

3333
#: c-api/gcsupport.rst:15

c-api/init_config.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,8 +1144,8 @@ msgstr ""
11441144
#: c-api/init_config.rst:884
11451145
msgid ""
11461146
"Default: value of the ``PLATLIBDIR`` macro which is set by the :option:"
1147-
"`configure --with-platlibdir option <--with-platlibdir>` (default: "
1148-
"``\"lib\"``, or ``\"DLLs\"`` on Windows)."
1147+
"`configure --with-platlibdir option <--with-platlibdir>` (default: ``\"lib"
1148+
"\"``, or ``\"DLLs\"`` on Windows)."
11491149
msgstr ""
11501150

11511151
#: c-api/init_config.rst:892
@@ -1420,8 +1420,8 @@ msgstr ""
14201420
#: c-api/init_config.rst:1119
14211421
msgid ""
14221422
"Encoding and encoding errors of :data:`sys.stdin`, :data:`sys.stdout` and :"
1423-
"data:`sys.stderr` (but :data:`sys.stderr` always uses "
1424-
"``\"backslashreplace\"`` error handler)."
1423+
"data:`sys.stderr` (but :data:`sys.stderr` always uses ``\"backslashreplace"
1424+
"\"`` error handler)."
14251425
msgstr ""
14261426

14271427
#: c-api/init_config.rst:1123
@@ -1731,9 +1731,9 @@ msgstr ""
17311731

17321732
#: c-api/init_config.rst:1406
17331733
msgid ""
1734-
"(Windows only) Application paths in the registry under "
1735-
"\"Software\\Python\\PythonCore\\X.Y\\PythonPath\" of HKEY_CURRENT_USER and "
1736-
"HKEY_LOCAL_MACHINE (where X.Y is the Python version)."
1734+
"(Windows only) Application paths in the registry under \"Software\\Python"
1735+
"\\PythonCore\\X.Y\\PythonPath\" of HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE "
1736+
"(where X.Y is the Python version)."
17371737
msgstr ""
17381738

17391739
#: c-api/init_config.rst:1410

c-api/memory.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -794,9 +794,9 @@ msgid ""
794794
"Let *S* = ``sizeof(size_t)``. ``2*S`` bytes are added at each end of each "
795795
"block of *N* bytes requested. The memory layout is like so, where p "
796796
"represents the address returned by a malloc-like or realloc-like function "
797-
"(``p[i:j]`` means the slice of bytes from ``*(p+i)`` inclusive up to "
798-
"``*(p+j)`` exclusive; note that the treatment of negative indices differs "
799-
"from a Python slice):"
797+
"(``p[i:j]`` means the slice of bytes from ``*(p+i)`` inclusive up to ``*(p"
798+
"+j)`` exclusive; note that the treatment of negative indices differs from a "
799+
"Python slice):"
800800
msgstr ""
801801

802802
#: c-api/memory.rst:555

c-api/sys.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ msgstr ""
149149
msgid ""
150150
"Decode a byte string from the :term:`filesystem encoding and error handler`. "
151151
"If the error handler is :ref:`surrogateescape error handler "
152-
"<surrogateescape>`, undecodable bytes are decoded as characters in range "
153-
"U+DC80..U+DCFF; and if a byte sequence can be decoded as a surrogate "
152+
"<surrogateescape>`, undecodable bytes are decoded as characters in range U"
153+
"+DC80..U+DCFF; and if a byte sequence can be decoded as a surrogate "
154154
"character, the bytes are escaped using the surrogateescape error handler "
155155
"instead of decoding them."
156156
msgstr ""

c-api/unicode.po

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ msgstr ""
200200

201201
#: c-api/unicode.rst:195
202202
msgid ""
203-
"Read a character from a Unicode object *o*, which must be in the "
204-
"\"canonical\" representation. This is less efficient than :c:func:"
205-
"`PyUnicode_READ` if you do multiple consecutive reads."
203+
"Read a character from a Unicode object *o*, which must be in the \"canonical"
204+
"\" representation. This is less efficient than :c:func:`PyUnicode_READ` if "
205+
"you do multiple consecutive reads."
206206
msgstr ""
207207

208208
#: c-api/unicode.rst:204
@@ -657,9 +657,9 @@ msgstr ""
657657

658658
#: c-api/unicode.rst:518
659659
msgid ""
660-
"The hex representation of a C pointer. Mostly equivalent to "
661-
"``printf(\"%p\")`` except that it is guaranteed to start with the literal "
662-
"``0x`` regardless of what the platform's ``printf`` yields."
660+
"The hex representation of a C pointer. Mostly equivalent to ``printf(\"%p"
661+
"\")`` except that it is guaranteed to start with the literal ``0x`` "
662+
"regardless of what the platform's ``printf`` yields."
663663
msgstr ""
664664

665665
#: c-api/unicode.rst:526
@@ -744,8 +744,8 @@ msgstr ""
744744

745745
#: c-api/unicode.rst:564
746746
msgid ""
747-
"Support width and precision formatter for ``\"%s\"``, ``\"%A\"``, "
748-
"``\"%U\"``, ``\"%V\"``, ``\"%S\"``, ``\"%R\"`` added."
747+
"Support width and precision formatter for ``\"%s\"``, ``\"%A\"``, ``\"%U"
748+
"\"``, ``\"%V\"``, ``\"%S\"``, ``\"%R\"`` added."
749749
msgstr ""
750750

751751
#: c-api/unicode.rst:571
@@ -792,8 +792,8 @@ msgstr ""
792792

793793
#: c-api/unicode.rst:617
794794
msgid ""
795-
"Fill a string with a character: write *fill_char* into ``unicode[start:"
796-
"start+length]``."
795+
"Fill a string with a character: write *fill_char* into ``unicode[start:start"
796+
"+length]``."
797797
msgstr ""
798798

799799
#: c-api/unicode.rst:620
@@ -950,9 +950,9 @@ msgstr ""
950950
#: c-api/unicode.rst:774
951951
msgid ""
952952
"Decode a string from UTF-8 on Android and VxWorks, or from the current "
953-
"locale encoding on other platforms. The supported error handlers are "
954-
"``\"strict\"`` and ``\"surrogateescape\"`` (:pep:`383`). The decoder uses "
955-
"``\"strict\"`` error handler if *errors* is ``NULL``. *str* must end with a "
953+
"locale encoding on other platforms. The supported error handlers are ``"
954+
"\"strict\"`` and ``\"surrogateescape\"`` (:pep:`383`). The decoder uses ``"
955+
"\"strict\"`` error handler if *errors* is ``NULL``. *str* must end with a "
956956
"null character but cannot contain embedded null characters."
957957
msgstr ""
958958

@@ -988,10 +988,10 @@ msgstr ""
988988
#: c-api/unicode.rst:810
989989
msgid ""
990990
"Encode a Unicode object to UTF-8 on Android and VxWorks, or to the current "
991-
"locale encoding on other platforms. The supported error handlers are "
992-
"``\"strict\"`` and ``\"surrogateescape\"`` (:pep:`383`). The encoder uses "
993-
"``\"strict\"`` error handler if *errors* is ``NULL``. Return a :class:"
994-
"`bytes` object. *unicode* cannot contain embedded null characters."
991+
"locale encoding on other platforms. The supported error handlers are ``"
992+
"\"strict\"`` and ``\"surrogateescape\"`` (:pep:`383`). The encoder uses ``"
993+
"\"strict\"`` error handler if *errors* is ``NULL``. Return a :class:`bytes` "
994+
"object. *unicode* cannot contain embedded null characters."
995995
msgstr ""
996996

997997
#: c-api/unicode.rst:817
@@ -1145,8 +1145,8 @@ msgstr ""
11451145
#: c-api/unicode.rst:971
11461146
msgid ""
11471147
"Returns a buffer allocated by :c:func:`PyMem_Alloc` (use :c:func:"
1148-
"`PyMem_Free` to free it) on success. On error, returns ``NULL`` and "
1149-
"*\\*size* is undefined. Raises a :exc:`MemoryError` if memory allocation is "
1148+
"`PyMem_Free` to free it) on success. On error, returns ``NULL`` and *"
1149+
"\\*size* is undefined. Raises a :exc:`MemoryError` if memory allocation is "
11501150
"failed."
11511151
msgstr ""
11521152

@@ -1779,8 +1779,8 @@ msgstr ""
17791779
msgid ""
17801780
"Intern the argument *\\*string* in place. The argument must be the address "
17811781
"of a pointer variable pointing to a Python Unicode string object. If there "
1782-
"is an existing interned string that is the same as *\\*string*, it sets "
1783-
"*\\*string* to it (decrementing the reference count of the old string object "
1782+
"is an existing interned string that is the same as *\\*string*, it sets *"
1783+
"\\*string* to it (decrementing the reference count of the old string object "
17841784
"and incrementing the reference count of the interned string object), "
17851785
"otherwise it leaves *\\*string* alone and interns it (incrementing its "
17861786
"reference count). (Clarification: even though there is a lot of talk about "

c-api/veryhigh.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ msgstr ""
145145

146146
#: c-api/veryhigh.rst:122
147147
msgid ""
148-
"On Windows, *fp* should be opened as binary mode (e.g. ``fopen(filename, "
149-
"\"rb\")``). Otherwise, Python may not handle script file with LF line ending "
148+
"On Windows, *fp* should be opened as binary mode (e.g. ``fopen(filename, \"rb"
149+
"\")``). Otherwise, Python may not handle script file with LF line ending "
150150
"correctly."
151151
msgstr ""
152152

distutils/apiref.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,8 +1040,8 @@ msgid ""
10401040
"component). These are on top of the system default and those supplied to :"
10411041
"meth:`add_library_dir` and/or :meth:`set_library_dirs`. "
10421042
"*runtime_library_dirs* is a list of directories that will be embedded into "
1043-
"the shared library and used to search for other shared libraries that "
1044-
"\\*it\\* depends on at run-time. (This may only be relevant on Unix.)"
1043+
"the shared library and used to search for other shared libraries that \\*it"
1044+
"\\* depends on at run-time. (This may only be relevant on Unix.)"
10451045
msgstr ""
10461046

10471047
#: distutils/apiref.rst:675

0 commit comments

Comments
 (0)