@@ -49,8 +49,9 @@ msgstr ""
4949"Project-Id-Version: Python Packaging User Guide\n"
5050"Report-Msgid-Bugs-To: \n"
5151"POT-Creation-Date: 2026-09-22 14:24+0000\n"
52- "PO-Revision-Date: 2026-09-25 14:54+0000\n"
53- "Last-Translator: Michael <sunote@outlook.com>\n"
52+ "PO-Revision-Date: 2026-09-27 03:51+0000\n"
53+ "Last-Translator: Hosted Weblate user 54392 "
54+ "<hamburger2048@users.noreply.hosted.weblate.org>\n"
5455"Language-Team: Chinese (Simplified Han script) <https://hosted.weblate.org/"
5556"projects/pypa/packaging-python-org/zh_Hans/>\n"
5657"Language: zh_Hans\n"
@@ -807,9 +808,9 @@ msgid ""
807808"by the system package manager of the `Linux distribution <distro_>`_, which "
808809"is a different meaning."
809810msgstr ""
810- "请注意,在 Linux 领域中,“分发软件包”通常缩写为 “distro package” 或简单称为 “ "
811- "package”,指的是由 `Linux 发行版 <distro_>`_ 的系统包管理器提供的内容 ,这与 "
812- "Python 中的含义不同。"
811+ "请注意,在 Linux 领域中,“分发软件包”(英文通常缩写为 “distro package” 或者就 "
812+ "叫 “ package”)由 `Linux 发行版 <distro_>`_ 的系统包管理器所提供 ,这与 Python "
813+ "中的含义不同。"
813814
814815#: ../source/discussions/distribution-package-vs-import-package.rst:31
815816msgid "What's an import package?"
@@ -3104,9 +3105,9 @@ msgid ""
31043105"<setuptools:userguide/development_mode>` is used for development and a "
31053106"regular installation is used for testing)."
31063107msgstr ""
3107- "这意味着 `` src`` 布局在项目的开发工作流程中涉及一个额外的步骤(通常,在开发中 "
3108- "使用 :doc:`可编辑安装 <setuptools:userguide/development_mode>`,在测试中使用 "
3109- "常规安装 )。"
3108+ "这意味着 src 布局在项目的开发工作流程中涉及一个额外的步骤(通常情况下, "
3109+ ":doc:`可编辑安装 <setuptools:userguide/development_mode>` 用于开发,常规安装 "
3110+ "用于测试 )。"
31103111
31113112#: ../source/discussions/src-layout-vs-flat-layout.rst:56
31123113msgid ""
@@ -3143,8 +3144,8 @@ msgid ""
31433144"<setuptools:userguide/development_mode>` is only able to import files that "
31443145"were meant to be importable."
31453146msgstr ""
3146- "`` src`` 布局有助于确保 :doc:`可编辑安装 <setuptools:userguide/"
3147- "development_mode>` 仅能导入那些本应可导入的文件。"
3147+ "src 布局有助于确保 :doc:`可编辑安装 <setuptools:userguide/development_mode>` "
3148+ "仅能导入那些本应可导入的文件。"
31483149
31493150#: ../source/discussions/src-layout-vs-flat-layout.rst:74
31503151msgid ""
@@ -3168,7 +3169,7 @@ msgstr ""
31683169
31693170#: ../source/discussions/src-layout-vs-flat-layout.rst:86
31703171msgid "Running a command-line interface from source with src-layout"
3171- msgstr "使用 `` src`` 布局从源代码运行命令行界面"
3172+ msgstr "使用 src 布局从源代码运行命令行界面"
31723173
31733174#: ../source/discussions/src-layout-vs-flat-layout.rst:88
31743175msgid ""
@@ -3180,11 +3181,11 @@ msgid ""
31803181"the package folder to Python's :py:data:`sys.path` when called via "
31813182"its :file:`__main__.py` file:"
31823183msgstr ""
3183- "由于前述 `` src`` 布局的特点,命令行界面不能直接从 :term:`源码树 <Project "
3184- "Source Tree>` 运行,而需要将包以 :doc:`开发模式 <setuptools:userguide/"
3185- "development_mode>` 安装以便进行测试。由于在某些情况下这可能不太实际,一个解决 "
3186- "方法是在通过其 :file:`__main__.py` 文件调用时,将包文件夹添加到 Python 的 "
3187- ":py:data:`sys.path` 中 :"
3184+ "由于前述 src 布局的特点,命令行界面不能直接从 :term:`源码树 <Project Source "
3185+ "Tree>` 运行,而需要以 :doc:`开发模式 <setuptools:userguide/development_mode> "
3186+ "` 安装包以便进行测试。由于某些情况下这可能不现实,一个变通方法是在通过其 "
3187+ ":file:`__main__.py` 文件调用时,将包文件夹添加到 Python 的 "
3188+ ":py:data:`sys.path` 前面 :"
31883189
31893190#: ../source/discussions/versioning.rst:6
31903191#: ../source/specifications/simple-repository-api.rst:358
@@ -3449,8 +3450,8 @@ msgid ""
34493450"<calver_>`_ (CalVer), is that it is straightforward to tell how old the base "
34503451"feature set of a particular release is given just the version number."
34513452msgstr ""
3452- "基于日期的版本控制( 或称 `calendar versioning <calver_>`_, CalVer)的一个主要 "
3453- "优势是 ,通过版本号就可以直接判断特定版本的基础功能集已经有多旧。"
3453+ "基于日期的版本控制, 或称 `calendar versioning <calver_>`_ ( CalVer),的一个主 "
3454+ "要优势是 ,通过版本号就可以直接判断特定版本的基础功能集已经有多旧。"
34543455
34553456#: ../source/discussions/versioning.rst:135
34563457msgid ""
@@ -3613,10 +3614,10 @@ msgid ""
36133614"stufft_>`_, `by Bernát Gábor <semver-bernat-gabor_>`_, `by Brett Cannon "
36143615"<semver-brett-cannon_>`_. For a humoristic take, read about ZeroVer_."
36153616msgstr ""
3616- "关于这一问题的一些个人观点,请参阅这些博文:` Hynek Schlawak 的文章 <semver-"
3617- "hynek-schlawack_>`_、 `Donald Stufft 的文章 <semver-donald-stufft_>"
3618- "`_、` Bernát Gábor 的文章 <semver-bernat-gabor_>`_、 `Brett Cannon 的文章 "
3619- "<semver-brett- cannon_>`_。至于幽默的解读,可以读一读 ZeroVer_ 。"
3617+ "关于这一问题的一些个人观点,请参阅这些博客文章:` Hynek Schlawak <semver-"
3618+ "hynek-schlawack_> 的文章`_, `Donald Stufft <semver-donald-stufft_> 的文章`_, "
3619+ "`Bernát Gábor <semver-bernat-gabor_> 的文章`_, `Brett Cannon <semver-brett- "
3620+ "cannon_> 的文章`_ 。"
36203621
36213622#: ../source/discussions/versioning.rst:235
36223623msgid ""
@@ -6234,9 +6235,9 @@ msgid ""
62346235"want \"bar\" installed from VCS in editable mode, then you could construct a "
62356236"requirements file like so::"
62366237msgstr ""
6237- "你可能还想以可编辑模式安装某些依赖项 。例如,假设你的项目需要 \"foo\" 和 "
6238- "\"bar\",但你希望 \"bar\" 以可编辑模式从 VCS 安装,那么你可以像这样构造一个 "
6239- "requirements 文件::"
6238+ "你可能也想以可编辑模式安装某些依赖项 。例如,假设你的项目需要 \"foo\" 和 "
6239+ "\"bar\",但你希望 \"bar\" 以可编辑模式从 VCS 安装,那么你可以像这样构造一个像 "
6240+ "这样的 requirements 文件::"
62406241
62416242#: ../source/guides/distributing-packages-using-setuptools.rst:329
62426243msgid ""
@@ -6253,8 +6254,8 @@ msgid ""
62536254"mode, the requirements file should look like this, with the local paths at "
62546255"the top of the file::"
62556256msgstr ""
6256- "但是,如果你希望 \"bar\" 以可编辑模式从本地目录安装,那么 requirements 文件应 "
6257- "该像下面这样 ,把本地路径放在文件顶部::"
6257+ "不过如果你希望 \"bar\" 以可编辑模式从本地目录安装,那么 requirements 文件看上 "
6258+ "去应该像这样 ,把本地路径放在文件顶部::"
62586259
62596260#: ../source/guides/distributing-packages-using-setuptools.rst:338
62606261msgid ""
@@ -11840,8 +11841,8 @@ msgid ""
1184011841"declare which :term:`build backend` you use and which other dependencies are "
1184111842"needed to build your project."
1184211843msgstr ""
11843- "我们 **强烈建议** 使用 ``[build-system]`` 表。它允许你声明自己使用的是哪个 "
11844- ":term:`构建后端 <Build Backend>`,以及构建项目还需要哪些依赖项 。"
11844+ "**强烈建议** 使用 ``[build-system]`` 表。它允许你声明你用哪个 :term:`build "
11845+ "backend` 以及构建项目还需要哪些其他依赖项 。"
1184511846
1184611847#: ../source/guides/writing-pyproject-toml.rst:15
1184711848msgid ""
@@ -12192,9 +12193,8 @@ msgid ""
1219212193"\"headline\" of your project page on PyPI (`example <pypi-pip_>`_), and "
1219312194"other places such as lists of search results (`example <pypi-search-pip_>`_)."
1219412195msgstr ""
12195- "这应该是对你项目的一行描述,会显示为 PyPI 项目页面上的“标题”(`示例 <pypi-"
12196- "pip_>`_),也会显示在其他地方,例如搜索结果列表(`示例 <pypi-search-pip_>`_)"
12197- "。"
12196+ "这应该是对你项目的一行描述,显示为 PyPI 项目页面的“标题”(`example <pypi-pip_>"
12197+ "`_),也会显示在其他地方,例如搜索结果列表 (`example <pypi-search-pip_>`_)。"
1219812198
1219912199#: ../source/guides/writing-pyproject-toml.rst:295
1220012200#: ../source/specifications/pyproject-toml.rst:156
@@ -12217,7 +12217,7 @@ msgstr "README 的格式会根据扩展名自动检测:"
1221712217
1221812218#: ../source/guides/writing-pyproject-toml.rst:308
1221912219msgid "``README.md`` → `GitHub-flavored Markdown <gfm_>`_,"
12220- msgstr "``README.md`` → `GitHub 风格 Markdown <gfm_>`_, "
12220+ msgstr "``README.md`` → `GitHub 风格 Markdown <gfm_>`_, "
1222112221
1222212222#: ../source/guides/writing-pyproject-toml.rst:309
1222312223msgid ""
@@ -12338,8 +12338,8 @@ msgid ""
1233812338"`described in PEP 621 <https://peps.python.org/pep-0621/#license>`__."
1233912339msgstr ""
1234012340"如果你遇到 ``license`` 应为 dict/table 的构建错误,说明你的构建后端还不支持新"
12341- "格式。更多背景请参见 `上一节 <license-and-license-files_>`_。现已弃用的格式"
12342- "在 `PEP 621 <https://peps.python.org/pep-0621/#license>`__ 中有描述 。"
12341+ "格式。更多背景请参见 `上一节 <license-and-license-files_>`_ 。现已弃用的格式"
12342+ "描述见 `PEP 621 <https://peps.python.org/pep-0621/#license>`__ 。"
1234312343
1234412344#: ../source/guides/writing-pyproject-toml.rst:376
1234512345msgid ""
@@ -20199,7 +20199,7 @@ msgid ""
2019920199"represent URLs to python projects and distribution artifacts such as VCS "
2020020200"source trees, local source trees, source distributions and wheels."
2020120201msgstr ""
20202- "本文档规定了一种可序列化为 JSON 的抽象数据结构,用于表示指向 Python 项目和分"
20202+ "本文档规定了一种可序列化为 JSON 的抽象数据结构,用于表示指向 python 项目和分"
2020320203"发制品的 URL,例如 VCS 源码树、本地源码树、源分发和 wheel 包。"
2020420204
2020520205#: ../source/specifications/direct-url-data-structure.rst:13
@@ -21927,8 +21927,8 @@ msgid ""
2192721927"Alphanumeric characters, spaces (`` ``), underscores (``_``), hyphens (``-"
2192821928"``), and dots (``.``) MUST be matched verbatim."
2192921929msgstr ""
21930- "字母数字字符、空格(``U+0020``)、 下划线( ``_``)、 连字符( ``-``)和点号 "
21931- "(``.``)必须按原样匹配 。"
21930+ "字母数字字符,空格 (`` ``), 下划线 ( ``_``), 连字符 ( ``-``), 和点 (``.``) 必须 "
21931+ "逐字匹配 。"
2193221932
2193321933#: ../source/specifications/glob-patterns.rst:21
2193421934msgid ""
@@ -29233,7 +29233,7 @@ msgid ""
2923329233msgstr ""
2923429234"本文档中的关键词 \"MUST\"、\"MUST NOT\"、\"REQUIRED\"、\"SHALL\"、\"SHALL "
2923529235"NOT\"、\"SHOULD\"、\"SHOULD NOT\"、\"RECOMMENDED\"、\"MAY\" 和 \"OPTIONAL\" "
29236- "应按照 :rfc:`2119` 中的描述进行解释 。"
29236+ "将按 :rfc:`2119` 中描述进行理解 。"
2923729237
2923829238#: ../source/specifications/version-specifiers.rst:21
2923929239msgid ""
0 commit comments