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

Skip to content

Commit 4ff0134

Browse files
[po] auto sync
1 parent 1a41e5e commit 4ff0134

1 file changed

Lines changed: 22 additions & 16 deletions

File tree

library/enum.po

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -474,13 +474,17 @@ msgid ""
474474
"function in separate module, and also may not work on IronPython or Jython)."
475475
" The solution is to specify the module name explicitly as follows::"
476476
msgstr ""
477+
"封存通过功能性 API "
478+
"创建的枚举可能会有点麻烦,因为要使用帧堆栈的实现细节来尝试并找出枚举是在哪个模块中创建的(例如,当你使用不同模块的工具函数时可能会失败,在 "
479+
"IronPython 或 Jython 上也可能会没有效果)。 解决办法是显式地指定模块名称,如下所示::"
477480

478481
#: ../../library/enum.rst:498
479482
msgid ""
480483
"If ``module`` is not supplied, and Enum cannot determine what it is, the new"
481484
" Enum members will not be unpicklable; to keep errors closer to the source, "
482485
"pickling will be disabled."
483486
msgstr ""
487+
"如果未提供 ``module``,且 Enum 无法确定是哪个模块,新的 Enum 成员将不可被解封;为了让错误尽量靠近源头,封存将被禁用。"
484488

485489
#: ../../library/enum.rst:502
486490
msgid ""
@@ -489,84 +493,86 @@ msgid ""
489493
" be able to find the class. For example, if the class was made available in"
490494
" class SomeData in the global scope::"
491495
msgstr ""
496+
"新的 pickle 协议版本 4 在某些情况下同样依赖于 :attr:`~definition.__qualname__` 被设为特定位置以便 "
497+
"pickle 能够找到相应的类。 例如,类是否存在于全局作用域的 SomeData 类中::"
492498

493499
#: ../../library/enum.rst:509
494500
msgid "The complete signature is::"
495-
msgstr ""
501+
msgstr "完整的签名为::"
496502

497503
#: ../../library/enum.rst:0
498504
msgid "value"
499505
msgstr "值"
500506

501507
#: ../../library/enum.rst:513
502508
msgid "What the new Enum class will record as its name."
503-
msgstr ""
509+
msgstr "将被新 Enum 类将记录为其名称的数据。"
504510

505511
#: ../../library/enum.rst:0
506512
msgid "names"
507-
msgstr ""
513+
msgstr "名称"
508514

509515
#: ../../library/enum.rst:515
510516
msgid ""
511517
"The Enum members. This can be a whitespace or comma separated string "
512518
"(values will start at 1 unless otherwise specified)::"
513-
msgstr ""
519+
msgstr "Enum 的成员。 这可以是一个空格或逗号分隔的字符串 (起始值将为 1,除非另行指定)::"
514520

515521
#: ../../library/enum.rst:520
516522
msgid "or an iterator of names::"
517-
msgstr ""
523+
msgstr "或是一个名称的迭代器::"
518524

519525
#: ../../library/enum.rst:524
520526
msgid "or an iterator of (name, value) pairs::"
521-
msgstr ""
527+
msgstr "或是一个 (名称, 值) 对的迭代器::"
522528

523529
#: ../../library/enum.rst:528
524530
msgid "or a mapping::"
525-
msgstr ""
531+
msgstr "或是一个映射::"
526532

527533
#: ../../library/enum.rst:0
528534
msgid "module"
529535
msgstr "模块"
530536

531537
#: ../../library/enum.rst:532
532538
msgid "name of module where new Enum class can be found."
533-
msgstr ""
539+
msgstr "新 Enum 类所在模块的名称。"
534540

535541
#: ../../library/enum.rst:0
536542
msgid "qualname"
537-
msgstr ""
543+
msgstr "qualname"
538544

539545
#: ../../library/enum.rst:534
540546
msgid "where in module new Enum class can be found."
541-
msgstr ""
547+
msgstr "新 Enum 类在模块中的具体位置。"
542548

543549
#: ../../library/enum.rst:0
544550
msgid "type"
545551
msgstr "类型"
546552

547553
#: ../../library/enum.rst:536
548554
msgid "type to mix in to new Enum class."
549-
msgstr ""
555+
msgstr "要加入新 Enum 类的类型。"
550556

551557
#: ../../library/enum.rst:0
552558
msgid "start"
553-
msgstr ""
559+
msgstr "start"
554560

555561
#: ../../library/enum.rst:538
556562
msgid "number to start counting at if only names are passed in."
557-
msgstr ""
563+
msgstr "当只传入名称时要使用的起始数值。"
558564

559565
#: ../../library/enum.rst:540
560566
msgid "The *start* parameter was added."
561-
msgstr ""
567+
msgstr "增加了 *start* 形参。"
562568

563569
#: ../../library/enum.rst:545
564570
msgid "Derived Enumerations"
565-
msgstr ""
571+
msgstr "派生的枚举"
566572

567573
#: ../../library/enum.rst:548
568574
msgid "IntEnum"
569-
msgstr ""
575+
msgstr "IntEnum"
570576

571577
#: ../../library/enum.rst:550
572578
msgid ""

0 commit comments

Comments
 (0)