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

Skip to content

Commit bcc8dec

Browse files
[po] auto sync
1 parent cd497d1 commit bcc8dec

3 files changed

Lines changed: 16 additions & 8 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.68%", "updated_at": "2023-12-07T02:08:15Z"}
1+
{"translation": "92.69%", "updated_at": "2023-12-07T22:56:03Z"}

c-api/typeobj.po

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
# Shan Su, 2023
1717
# Bryan不可思议, 2023
1818
# ppcfish <[email protected]>, 2023
19-
# Freesand Leo <[email protected]>, 2023
2019
# Nyuan Zhang, 2023
20+
# Freesand Leo <[email protected]>, 2023
2121
#
2222
#, fuzzy
2323
msgid ""
@@ -26,7 +26,7 @@ msgstr ""
2626
"Report-Msgid-Bugs-To: \n"
2727
"POT-Creation-Date: 2023-12-01 14:14+0000\n"
2828
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
29-
"Last-Translator: Nyuan Zhang, 2023\n"
29+
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
3030
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
3131
"MIME-Version: 1.0\n"
3232
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1885,6 +1885,8 @@ msgid ""
18851885
"Group: :c:member:`~PyTypeObject.tp_hash`, "
18861886
":c:member:`~PyTypeObject.tp_richcompare`"
18871887
msgstr ""
1888+
"分组: :c:member:`~PyTypeObject.tp_hash`, "
1889+
":c:member:`~PyTypeObject.tp_richcompare`"
18881890

18891891
#: ../../c-api/typeobj.rst:903
18901892
msgid ""
@@ -2251,11 +2253,11 @@ msgstr "如果继承了 :c:member:`~PyTypeObject.tp_call` 则也会继承这个
22512253
msgid ""
22522254
"This flag is now removed from a class when the class's "
22532255
":py:meth:`~object.__call__` method is reassigned."
2254-
msgstr ""
2256+
msgstr "现在当类的 :py:meth:`~object.__call__` 方法被重新赋值时该旗标将从类中移除。"
22552257

22562258
#: ../../c-api/typeobj.rst:1249
22572259
msgid "This flag can now be inherited by mutable classes."
2258-
msgstr ""
2260+
msgstr "现在该旗标能被可变类所继承。"
22592261

22602262
#: ../../c-api/typeobj.rst:1253
22612263
msgid ""

c-api/unicode.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,18 +1863,20 @@ msgid ""
18631863
"and return the resulting Unicode object. *maxcount* == ``-1`` means replace "
18641864
"all occurrences."
18651865
msgstr ""
1866+
"将 *str* 中 *substr* 在替换为 *replstr* 至多 *maxcount* 次并返回结果 Unicode 对象。 "
1867+
"*maxcount* == ``-1`` 表示全部替换。"
18661868

18671869
#: ../../c-api/unicode.rst:1399
18681870
msgid ""
18691871
"Compare two strings and return ``-1``, ``0``, ``1`` for less than, equal, "
18701872
"and greater than, respectively."
1871-
msgstr ""
1873+
msgstr "比较两个字符串并返回 ``-1``, ``0``, ``1`` 分别表示小于、等于和大于。"
18721874

18731875
#: ../../c-api/unicode.rst:1402
18741876
msgid ""
18751877
"This function returns ``-1`` upon failure, so one should call "
18761878
":c:func:`PyErr_Occurred` to check for errors."
1877-
msgstr ""
1879+
msgstr "此函数执行失败时返回 ``-1``,因此应当调用 :c:func:`PyErr_Occurred` 来检查错误。"
18781880

18791881
#: ../../c-api/unicode.rst:1408
18801882
msgid ""
@@ -1883,6 +1885,8 @@ msgid ""
18831885
"pass only ASCII-encoded strings, but the function interprets the input "
18841886
"string as ISO-8859-1 if it contains non-ASCII characters."
18851887
msgstr ""
1888+
"将 Unicode 对象 *uni* 与 *string* 进行比较并返回 ``-1``, ``0``, ``1`` 分别表示小于、等于和大于。 "
1889+
"最好只传入 ASCII 编码的字符串,但如果输入字符串包含非 ASCII 字符则此函数会将其按 ISO-8859-1 编码来解读。"
18861890

18871891
#: ../../c-api/unicode.rst:1413
18881892
msgid "This function does not raise exceptions."
@@ -1902,13 +1906,15 @@ msgstr ":c:data:`Py_True` 或 :c:data:`Py_False` 用于成功完成比较的情
19021906

19031907
#: ../../c-api/unicode.rst:1422
19041908
msgid ":c:data:`Py_NotImplemented` in case the type combination is unknown"
1905-
msgstr ""
1909+
msgstr ":c:data:`Py_NotImplemented` 用于类型组合未知的情况"
19061910

19071911
#: ../../c-api/unicode.rst:1424
19081912
msgid ""
19091913
"Possible values for *op* are :c:macro:`Py_GT`, :c:macro:`Py_GE`, "
19101914
":c:macro:`Py_EQ`, :c:macro:`Py_NE`, :c:macro:`Py_LT`, and :c:macro:`Py_LE`."
19111915
msgstr ""
1916+
"可能的 *op* 值有 :c:macro:`Py_GT`, :c:macro:`Py_GE`, :c:macro:`Py_EQ`, "
1917+
":c:macro:`Py_NE`, :c:macro:`Py_LT`, 和 :c:macro:`Py_LE`。"
19121918

19131919
#: ../../c-api/unicode.rst:1430
19141920
msgid ""

0 commit comments

Comments
 (0)