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

Skip to content

Commit 01996a4

Browse files
[po] auto sync
1 parent f117a90 commit 01996a4

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "90.02%", "updated_at": "2023-08-28T01:19:35Z"}
1+
{"translation": "90.02%", "updated_at": "2023-08-28T03:56:32Z"}

howto/enum.po

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
# Alpha Du <[email protected]>, 2021
1111
# WH-2099 <[email protected]>, 2022
1212
# Bryan不可思议, 2023
13-
# 乐成 王, 2023
1413
# Freesand Leo <[email protected]>, 2023
14+
# 乐成 王, 2023
1515
#
1616
#, fuzzy
1717
msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.12\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
21+
"POT-Creation-Date: 2023-08-25 22:29+0000\n"
2222
"PO-Revision-Date: 2021-06-28 00:53+0000\n"
23-
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
23+
"Last-Translator: 乐成 王, 2023\n"
2424
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -325,8 +325,8 @@ msgid ""
325325
"doesn't care what the actual value of an enumeration is. But if the value "
326326
"*is* important, enumerations can have arbitrary values."
327327
msgstr ""
328-
"以上大多数示例都用了整数作枚举值。使用整数确实简短方便(并且由 `Functional API`_ "
329-
"默认提供),但并非必须如此。绝大多数情况下,人们并不关心枚举的实际值是什么。但如果确实有用,枚举可以是任意的值。"
328+
"以上大多数示例都用了整数作为枚举值。使用整数确实简短方便(并且是 `Functional API`_ "
329+
"默认提供的值),但并非强制要求。绝大多数情况下,人们并不关心枚举的实际值是什么。但如果值确实重要,可以使用任何值。"
330330

331331
#: ../../howto/enum.rst:393
332332
msgid ""
@@ -456,13 +456,13 @@ msgstr "不建议为旗标使用基于名称的方式,因为未命名的别名
456456

457457
#: ../../howto/enum.rst:533
458458
msgid "Functional API"
459-
msgstr "功能性 API"
459+
msgstr "函数式 API"
460460

461461
#: ../../howto/enum.rst:535
462462
msgid ""
463463
"The :class:`Enum` class is callable, providing the following functional "
464464
"API::"
465-
msgstr ":class:`Enum` 类属于可调用对象,提供了以下功能性 API::"
465+
msgstr ":class:`Enum` 类可调用并提供了以下函数式 API"
466466

467467
#: ../../howto/enum.rst:545
468468
msgid ""
@@ -502,9 +502,9 @@ msgid ""
502502
"function in a separate module, and also may not work on IronPython or "
503503
"Jython). The solution is to specify the module name explicitly as follows::"
504504
msgstr ""
505-
"对使用功能性 API "
506-
"创建的枚举执行封存可能会很麻烦,因为要使用帧栈的实现细节来尝试会找出枚举是在哪个模块中创建的(例如当你使用了另一个模块中的工具函数就可能失败,在 "
507-
"IronPython 或 Jython 上也可能无效)。 解决办法是像下面这样显式地指定模块名称::"
505+
"对使用函数式 API "
506+
"创建的枚举进行封存,可能会很棘手,因为要使用栈帧的实现细节来尝试找出枚举是在哪个模块中创建的(例如当你使用了另一个模块中的实用函数时它就可能失败,在 "
507+
"IronPython 或 Jython 上也可能无效)。解决办法是像下面这样显式地指定模块名称"
508508

509509
#: ../../howto/enum.rst:578
510510
msgid ""
@@ -941,8 +941,8 @@ msgid ""
941941
":class:`auto` to get an appropriate value for an enum member; may be "
942942
"overridden"
943943
msgstr ""
944-
"``_generate_next_value_`` -- 用于 `Functional API`_ 并通过 :class:`auto` "
945-
"为枚举成员获取适当的值;可被重载"
944+
"``_generate_next_value_`` -- `Functional API`_ :class:`auto` "
945+
"用它为枚举成员获取适当的值;可被重写"
946946

947947
#: ../../howto/enum.rst:964
948948
msgid ""

0 commit comments

Comments
 (0)