Skip to content

Commit 4c3bab2

Browse files
authored
Revert bad propagation translation (#109)
With semi-manual process.
1 parent 9fc9894 commit 4c3bab2

25 files changed

+568
-2353
lines changed

c-api/slice.po

Lines changed: 14 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2025, Python Software Foundation
2+
# Copyright (C) 2001-2023, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2025
7+
# Transifex Bot <>, 2023
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
12-
"Project-Id-Version: Python 3.13\n"
12+
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-07-11 15:02+0000\n"
15-
"PO-Revision-Date: 2025-05-08 05:08+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
14+
"POT-Creation-Date: 2023-05-19 14:13+0000\n"
15+
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
16+
"Last-Translator: Transifex Bot <>, 2023\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"
@@ -40,12 +40,8 @@ msgid ""
4040
"Return a new slice object with the given values. The *start*, *stop*, and "
4141
"*step* parameters are used as the values of the slice object attributes of "
4242
"the same names. Any of the values may be ``NULL``, in which case the "
43-
"``None`` will be used for the corresponding attribute."
44-
msgstr ""
45-
46-
msgid ""
47-
"Return ``NULL`` with an exception set if the new object could not be "
48-
"allocated."
43+
"``None`` will be used for the corresponding attribute. Return ``NULL`` if "
44+
"the new object could not be allocated."
4945
msgstr ""
5046

5147
msgid ""
@@ -56,7 +52,7 @@ msgstr ""
5652

5753
msgid ""
5854
"Returns ``0`` on success and ``-1`` on error with no exception set (unless "
59-
"one of the indices was not ``None`` and failed to be converted to an "
55+
"one of the indices was not :const:`None` and failed to be converted to an "
6056
"integer, in which case ``-1`` is returned with an exception set)."
6157
msgstr ""
6258

@@ -75,7 +71,7 @@ msgid ""
7571
"normal slices."
7672
msgstr ""
7773

78-
msgid "Return ``0`` on success and ``-1`` on error with an exception set."
74+
msgid "Returns ``0`` on success and ``-1`` on error with exception set."
7975
msgstr ""
8076

8177
msgid ""
@@ -84,23 +80,9 @@ msgid ""
8480
"`PySlice_AdjustIndices` where ::"
8581
msgstr ""
8682

87-
msgid ""
88-
"if (PySlice_GetIndicesEx(slice, length, &start, &stop, &step, &slicelength) "
89-
"< 0) {\n"
90-
" // return error\n"
91-
"}"
92-
msgstr ""
93-
9483
msgid "is replaced by ::"
9584
msgstr ""
9685

97-
msgid ""
98-
"if (PySlice_Unpack(slice, &start, &stop, &step) < 0) {\n"
99-
" // return error\n"
100-
"}\n"
101-
"slicelength = PySlice_AdjustIndices(length, &start, &stop, step);"
102-
msgstr ""
103-
10486
msgid ""
10587
"If ``Py_LIMITED_API`` is not set or set to the value between ``0x03050400`` "
10688
"and ``0x03060000`` (not including) or ``0x03060100`` or higher :c:func:`!"
@@ -123,10 +105,8 @@ msgid ""
123105
"less than ``-PY_SSIZE_T_MAX`` to ``-PY_SSIZE_T_MAX``."
124106
msgstr ""
125107

126-
msgid "Return ``-1`` with an exception set on error, ``0`` on success."
108+
msgid "Return ``-1`` on error, ``0`` on success."
127109
msgstr ""
128-
"Возвращает ``-1`` с установленным исключением в случае ошибки и ``0`` в "
129-
"случае успеха."
130110

131111
msgid ""
132112
"Adjust start/end slice indices assuming a sequence of the specified length. "
@@ -143,14 +123,7 @@ msgid "Ellipsis Object"
143123
msgstr ""
144124

145125
msgid ""
146-
"The type of Python :const:`Ellipsis` object. Same as :class:`types."
147-
"EllipsisType` in the Python layer."
148-
msgstr ""
149-
150-
msgid ""
151-
"The Python ``Ellipsis`` object. This object has no methods. Like :c:data:"
152-
"`Py_None`, it is an :term:`immortal` singleton object."
153-
msgstr ""
154-
155-
msgid ":c:data:`Py_Ellipsis` is immortal."
126+
"The Python ``Ellipsis`` object. This object has no methods. It needs to be "
127+
"treated just like any other object with respect to reference counts. Like :"
128+
"c:data:`Py_None` it is a singleton object."
156129
msgstr ""

0 commit comments

Comments
 (0)