@@ -19,7 +19,7 @@ msgid ""
1919msgstr ""
2020"Project-Id-Version : Python 3.9\n "
2121"Report-Msgid-Bugs-To : \n "
22- "POT-Creation-Date : 2024-01-12 22:01 +0000\n "
22+ "POT-Creation-Date : 2024-01-19 21:29 +0000\n "
2323"PO-Revision-Date : 2017-02-16 17:36+0000\n "
2424"
Last-Translator :
Freesand Leo <[email protected] >, 2024\n "
2525"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -699,6 +699,9 @@ msgid ""
699699"dependent delimiter character, which is ``':'`` on Unix and macOS, ``';'`` "
700700"on Windows."
701701msgstr ""
702+ "设置默认的模块搜索路径。 如果此函数在 :c:func:`Py_Initialize` 之前被调用,则 :c:func:`Py_GetPath` "
703+ "将不会尝试计算默认的搜索路径而是改用已提供的路径。 这适用于由一个完全知晓所有模块的位置的应用程序来嵌入 Python 的情况。 "
704+ "路径组件应当由平台专属的分隔符来分隔,在 Unix 和 macOS 上是 ``':'`` 而在 Windows 上则是 ``';'``。"
702705
703706#: ../../c-api/init.rst:475
704707msgid ""
@@ -707,18 +710,21 @@ msgid ""
707710":data:`sys.exec_prefix` to be empty. It is up to the caller to modify these"
708711" if required after calling :c:func:`Py_Initialize`."
709712msgstr ""
713+ "这也将导致 :data:`sys.executable` 被设为程序的完整路径 (参见 :c:func:`Py_GetProgramFullPath`)"
714+ " 而 :data:`sys.prefix` 和 :data:`sys.exec_prefix` 变为空值。 如果在调用 "
715+ ":c:func:`Py_Initialize` 之后有需要则应由调用方来修改它们。"
710716
711717#: ../../c-api/init.rst:483
712718msgid ""
713719"The path argument is copied internally, so the caller may free it after the "
714720"call completes."
715- msgstr ""
721+ msgstr "路径参数会在内部被复制,使调用方可以在调用结束后释放它。 "
716722
717723#: ../../c-api/init.rst:486
718724msgid ""
719725"The program full path is now used for :data:`sys.executable`, instead of the"
720726" program name."
721- msgstr ""
727+ msgstr "现在 :data:`sys.executable` 将使用程序的完整路径,而不是程序文件名。 "
722728
723729#: ../../c-api/init.rst:493
724730msgid ""
0 commit comments