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

Skip to content

Commit 8461754

Browse files
[po] auto sync
1 parent 9642bed commit 8461754

3 files changed

Lines changed: 15 additions & 10 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "90.10%", "updated_at": "2023-08-25T08:57:06Z"}
1+
{"translation": "90.12%", "updated_at": "2023-08-25T12:59:47Z"}

c-api/init_config.po

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -585,56 +585,58 @@ msgstr "在完成后,必须使用 :c:func:`PyConfig_Clear` 函数来释放配
585585

586586
#: ../../c-api/init_config.rst:440
587587
msgid "Structure methods:"
588-
msgstr ""
588+
msgstr "结构体方法:"
589589

590590
#: ../../c-api/init_config.rst:444
591591
msgid ""
592592
"Initialize configuration with the :ref:`Python Configuration <init-python-"
593593
"config>`."
594-
msgstr ""
594+
msgstr "通过 :ref:`Python 配置 <init-python-config>` 来初始化配置。"
595595

596596
#: ../../c-api/init_config.rst:449
597597
msgid ""
598598
"Initialize configuration with the :ref:`Isolated Configuration <init-"
599599
"isolated-conf>`."
600-
msgstr ""
600+
msgstr "通过 :ref:`隔离配置 <init-isolated-conf>` 来初始化配置。"
601601

602602
#: ../../c-api/init_config.rst:454
603603
msgid "Copy the wide character string *str* into ``*config_str``."
604-
msgstr ""
604+
msgstr "将宽字符串 *str* 拷贝至 ``*config_str``。"
605605

606606
#: ../../c-api/init_config.rst:456 ../../c-api/init_config.rst:463
607607
#: ../../c-api/init_config.rst:470 ../../c-api/init_config.rst:478
608608
#: ../../c-api/init_config.rst:484 ../../c-api/init_config.rst:501
609609
msgid ":ref:`Preinitialize Python <c-preinit>` if needed."
610-
msgstr ""
610+
msgstr "在必要时 :ref:`预初始化 Python <c-preinit>`。"
611611

612612
#: ../../c-api/init_config.rst:460
613613
msgid ""
614614
"Decode *str* using :c:func:`Py_DecodeLocale` and set the result into "
615615
"``*config_str``."
616-
msgstr ""
616+
msgstr "使用 :c:func:`Py_DecodeLocale` 对 *str* 进行解码并将结果设置到 ``*config_str``。"
617617

618618
#: ../../c-api/init_config.rst:467
619619
msgid ""
620620
"Set command line arguments (:c:member:`~PyConfig.argv` member of *config*) "
621621
"from the *argv* list of wide character strings."
622-
msgstr ""
622+
msgstr "根据宽字符串列表 *argv* 设置命令行参数 (*config* 的 :c:member:`~PyConfig.argv` 成员)。"
623623

624624
#: ../../c-api/init_config.rst:474
625625
msgid ""
626626
"Set command line arguments (:c:member:`~PyConfig.argv` member of *config*) "
627627
"from the *argv* list of bytes strings. Decode bytes using "
628628
":c:func:`Py_DecodeLocale`."
629629
msgstr ""
630+
"根据字节串列表 *argv* 设置命令行参数 (*config* 的 :c:member:`~PyConfig.argv` 成员)。 使用 "
631+
":c:func:`Py_DecodeLocale` 对字节串进行解码。"
630632

631633
#: ../../c-api/init_config.rst:482
632634
msgid "Set the list of wide strings *list* to *length* and *items*."
633-
msgstr ""
635+
msgstr "将宽字符串列表 *list* 设置为 *length* 和 *items*。"
634636

635637
#: ../../c-api/init_config.rst:488
636638
msgid "Read all Python configuration."
637-
msgstr ""
639+
msgstr "读取所有 Python 配置。"
638640

639641
#: ../../c-api/init_config.rst:490
640642
msgid "Fields which are already initialized are left unchanged."

library/ctypes.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,6 +1613,9 @@ msgid ""
16131613
"and :func:`ctypes.set_last_error` are used to request and change the ctypes "
16141614
"private copy of the windows error code."
16151615
msgstr ""
1616+
"当 *use_last_error* 形参设为真值时,为 Windows 错误代码也启用与由 :func:`GetLastError` 和 "
1617+
":func:`!SetLastError` Windows API 函数管理相同的机制;:func:`ctypes.get_last_error` 和 "
1618+
":func:`ctypes.set_last_error` 会被用于请求和更改 Windows 错误代码的 ctypes 私有副本。"
16161619

16171620
#: ../../library/ctypes.rst:1469
16181621
msgid ""

0 commit comments

Comments
 (0)