Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9589abc

Browse files
[po] auto sync
1 parent 63cd1d1 commit 9589abc

24 files changed

Lines changed: 1391 additions & 1452 deletions

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "94.35%", "updated_at": "2024-03-01T04:11:23Z"}
1+
{"translation": "94.22%", "updated_at": "2024-03-01T14:56:01Z"}

library/abc.po

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.12\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2024-01-05 14:14+0000\n"
19+
"POT-Creation-Date: 2024-03-01 14:13+0000\n"
2020
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
2121
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
2222
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -148,15 +148,13 @@ msgstr ""
148148

149149
#: ../../library/abc.rst:104
150150
msgid ""
151-
"This method should return ``True``, ``False`` or ``NotImplemented``. If it "
152-
"returns ``True``, the *subclass* is considered a subclass of this ABC. If it"
153-
" returns ``False``, the *subclass* is not considered a subclass of this ABC,"
154-
" even if it would normally be one. If it returns ``NotImplemented``, the "
155-
"subclass check is continued with the usual mechanism."
151+
"This method should return ``True``, ``False`` or :data:`NotImplemented`. If"
152+
" it returns ``True``, the *subclass* is considered a subclass of this ABC. "
153+
"If it returns ``False``, the *subclass* is not considered a subclass of this"
154+
" ABC, even if it would normally be one. If it returns "
155+
":data:`!NotImplemented`, the subclass check is continued with the usual "
156+
"mechanism."
156157
msgstr ""
157-
"该方法必须返回 ``True``, ``False`` 或是 ``NotImplemented``。如果返回 ``True``,*subclass* "
158-
"就会被认为是这个抽象基类的子类。如果返回 ``False``,无论正常情况是否应该认为是其子类,统一视为不是。如果返回 "
159-
"``NotImplemented``,子类检查会按照正常机制继续执行。"
160158

161159
#: ../../library/abc.rst:114
162160
msgid ""

library/ast.po

Lines changed: 76 additions & 76 deletions
Large diffs are not rendered by default.

library/constants.po

Lines changed: 15 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# SOME DESCRIPTIVE TITLE.
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
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
77
# Alpha Du <[email protected]>, 2021
8-
# Bryan不可思议, 2023
98
# sunsol s <[email protected]>, 2023
109
# Freesand Leo <[email protected]>, 2023
1110
#
@@ -14,7 +13,7 @@ msgid ""
1413
msgstr ""
1514
"Project-Id-Version: Python 3.12\n"
1615
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2023-07-29 02:08+0000\n"
16+
"POT-Creation-Date: 2024-03-01 14:13+0000\n"
1817
"PO-Revision-Date: 2021-06-28 00:57+0000\n"
1918
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2019
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -62,49 +61,38 @@ msgid ""
6261
"implemented with respect to the other type; may be returned by the in-place "
6362
"binary special methods (e.g. :meth:`~object.__imul__`, "
6463
":meth:`~object.__iand__`, etc.) for the same purpose. It should not be "
65-
"evaluated in a boolean context. ``NotImplemented`` is the sole instance of "
66-
"the :data:`types.NotImplementedType` type."
64+
"evaluated in a boolean context. :data:`!NotImplemented` is the sole instance"
65+
" of the :data:`types.NotImplementedType` type."
6766
msgstr ""
68-
"一个应当由双目运算特殊方法(如 :meth:`~object.__eq__`, :meth:`~object.__lt__`, "
69-
":meth:`~object.__add__`, :meth:`~object.__rsub__` "
70-
"等)返回的特殊值,以表明该运算没有针对其他类型的实现;也可由原地双目运算特殊方法(如 :meth:`~object.__imul__`, "
71-
":meth:`~object.__iand__` 等)出于同样的目的而返回。 ``NotImplemented`` 是 "
72-
":data:`types.NotImplementedType` 类型的唯一实例。"
7367

7468
#: ../../library/constants.rst:40
7569
msgid ""
76-
"When a binary (or in-place) method returns ``NotImplemented`` the "
70+
"When a binary (or in-place) method returns :data:`!NotImplemented` the "
7771
"interpreter will try the reflected operation on the other type (or some "
7872
"other fallback, depending on the operator). If all attempts return "
79-
"``NotImplemented``, the interpreter will raise an appropriate exception. "
80-
"Incorrectly returning ``NotImplemented`` will result in a misleading error "
81-
"message or the ``NotImplemented`` value being returned to Python code."
73+
":data:`!NotImplemented`, the interpreter will raise an appropriate "
74+
"exception. Incorrectly returning :data:`!NotImplemented` will result in a "
75+
"misleading error message or the :data:`!NotImplemented` value being returned"
76+
" to Python code."
8277
msgstr ""
83-
"当二进制(或就地)方法返回 ``NotImplemented`` 时,解释器将尝试对另一种类型(或其他一些回滚操作,取决于运算符)的反射操作。 "
84-
"如果所有尝试都返回 ``NotImplemented`` ,则解释器将引发适当的异常。 错误返回的 ``NotImplemented`` "
85-
"将导致误导性错误消息或返回到Python代码中的 ``NotImplemented`` 值。"
8678

8779
#: ../../library/constants.rst:47
8880
msgid "See :ref:`implementing-the-arithmetic-operations` for examples."
8981
msgstr "参见 :ref:`implementing-the-arithmetic-operations` 为例。"
9082

9183
#: ../../library/constants.rst:51
9284
msgid ""
93-
"``NotImplementedError`` and ``NotImplemented`` are not interchangeable, even"
94-
" though they have similar names and purposes. See :exc:`NotImplementedError`"
95-
" for details on when to use it."
85+
"``NotImplementedError`` and :data:`!NotImplemented` are not interchangeable,"
86+
" even though they have similar names and purposes. See "
87+
":exc:`NotImplementedError` for details on when to use it."
9688
msgstr ""
97-
"``NotImplementedError`` 和 ``NotImplemented`` 不可互换,即使它们有相似的名称和用途。 "
98-
"有关何时使用它的详细信息,请参阅 :exc:`NotImplementedError`。"
9989

10090
#: ../../library/constants.rst:55
10191
msgid ""
102-
"Evaluating ``NotImplemented`` in a boolean context is deprecated. While it "
103-
"currently evaluates as true, it will emit a :exc:`DeprecationWarning`. It "
104-
"will raise a :exc:`TypeError` in a future version of Python."
92+
"Evaluating :data:`!NotImplemented` in a boolean context is deprecated. While"
93+
" it currently evaluates as true, it will emit a :exc:`DeprecationWarning`. "
94+
"It will raise a :exc:`TypeError` in a future version of Python."
10595
msgstr ""
106-
"作为布尔值来解读 ``NotImplemented`` 已被弃用。 虽然它目前会被解读为真值,但将同时发出 "
107-
":exc:`DeprecationWarning`。 它将在未来的 Python 版本中引发 :exc:`TypeError`。"
10896

10997
#: ../../library/constants.rst:64
11098
msgid ""

0 commit comments

Comments
 (0)