@@ -1928,23 +1928,26 @@ msgid ""
19281928"paths that are unspecified. Ensure :c:member:`PyConfig.home` is specified to"
19291929" avoid computing the default path configuration."
19301930msgstr ""
1931+ "该配置仍然会使用配置文件来确定未被指明的路径。 请确保指定了 :c:member:`PyConfig.home` 以避免计算默认的路径配置。"
19311932
19321933#: ../../c-api/init_config.rst:1425
19331934msgid "Python Configuration"
1934- msgstr ""
1935+ msgstr "Python 配置 "
19351936
19361937#: ../../c-api/init_config.rst:1427
19371938msgid ""
19381939":c:func:`PyPreConfig_InitPythonConfig` and "
19391940":c:func:`PyConfig_InitPythonConfig` functions create a configuration to "
19401941"build a customized Python which behaves as the regular Python."
19411942msgstr ""
1943+ ":c:func:`PyPreConfig_InitPythonConfig` 和 :c:func:`PyConfig_InitPythonConfig`"
1944+ " 函数会创建一个配置来构建一个行为与常规 Python 相同的自定义 Python。"
19421945
19431946#: ../../c-api/init_config.rst:1431
19441947msgid ""
19451948"Environments variables and command line arguments are used to configure "
19461949"Python, whereas global configuration variables are ignored."
1947- msgstr ""
1950+ msgstr "环境变量和命令行参数将被用于配置 Python,而全局配置变量将被忽略。 "
19481951
19491952#: ../../c-api/init_config.rst:1434
19501953msgid ""
@@ -1953,15 +1956,18 @@ msgid ""
19531956":envvar:`PYTHONUTF8` and :envvar:`PYTHONCOERCECLOCALE` environment "
19541957"variables."
19551958msgstr ""
1959+ "此函数将根据 LC_CTYPE 语言区域、:envvar:`PYTHONUTF8` 和 :envvar:`PYTHONCOERCECLOCALE` "
1960+ "环境变量启用 C 语言区域强制转换 (:pep:`538`) 和 :ref:`Python UTF-8 模式 <utf8-mode>` "
1961+ "(:pep:`540`)。"
19561962
19571963#: ../../c-api/init_config.rst:1443
19581964msgid "Python Path Configuration"
1959- msgstr ""
1965+ msgstr "Python 路径配置 "
19601966
19611967#: ../../c-api/init_config.rst:1445
19621968msgid ""
19631969":c:type:`PyConfig` contains multiple fields for the path configuration:"
1964- msgstr ""
1970+ msgstr ":c:type:`PyConfig` 包含多个用于路径配置的字段: "
19651971
19661972#: ../../c-api/init_config.rst:1447
19671973msgid "Path configuration inputs:"
@@ -1973,7 +1979,7 @@ msgstr ":c:member:`PyConfig.home`"
19731979
19741980#: ../../c-api/init_config.rst:1450
19751981msgid ":c:member:`PyConfig.platlibdir`"
1976- msgstr ""
1982+ msgstr ":c:member:`PyConfig.platlibdir` "
19771983
19781984#: ../../c-api/init_config.rst:1451
19791985msgid ":c:member:`PyConfig.pathconfig_warnings`"
@@ -1989,13 +1995,13 @@ msgstr ":c:member:`PyConfig.pythonpath_env`"
19891995
19901996#: ../../c-api/init_config.rst:1454
19911997msgid "current working directory: to get absolute paths"
1992- msgstr ""
1998+ msgstr "当前工作目录:用于获取绝对路径 "
19931999
19942000#: ../../c-api/init_config.rst:1455
19952001msgid ""
19962002"``PATH`` environment variable to get the program full path (from "
19972003":c:member:`PyConfig.program_name`)"
1998- msgstr ""
2004+ msgstr "``PATH`` 环境变量用于获取程序的完整路径 (来自 :c:member:`PyConfig.program_name`) "
19992005
20002006#: ../../c-api/init_config.rst:1457
20012007msgid "``__PYVENV_LAUNCHER__`` environment variable"
0 commit comments