-
Notifications
You must be signed in to change notification settings - Fork 954
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 26.2% (961 of 3661 strings) Co-authored-by: Xianpeng Shen <[email protected]> Translate-URL: https://hosted.weblate.org/projects/pypa/packaging-python-org/zh_Hans/ Translation: pypa/packaging.python.org
1 parent
f44e409
commit 1d46a4d
Showing
1 changed file
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,21 +27,22 @@ | |
# 大王叫我来巡山 <[email protected]>, 2024. | ||
# Peter Shen <[email protected]>, 2024. | ||
# hello_wac <[email protected]>, 2024. | ||
# Xianpeng Shen <[email protected]>, 2024. | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Python Packaging User Guide\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-12-08 04:42+0000\n" | ||
"PO-Revision-Date: 2024-11-12 08:00+0000\n" | ||
"Last-Translator: hello_wac <hellowxchao@gmail.com>\n" | ||
"PO-Revision-Date: 2024-12-15 11:00+0000\n" | ||
"Last-Translator: Xianpeng Shen <xianpeng.shen@gmail.com>\n" | ||
"Language-Team: Chinese (Simplified Han script) <https://hosted.weblate.org/" | ||
"projects/pypa/packaging-python-org/zh_Hans/>\n" | ||
"Language: zh_Hans\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=1; plural=0;\n" | ||
"X-Generator: Weblate 5.8.2\n" | ||
"X-Generator: Weblate 5.9-rc\n" | ||
|
||
#: ../source/contribute.rst:5 | ||
msgid "Contribute to this guide" | ||
|
@@ -2004,12 +2005,12 @@ msgid "Where to read more about this?" | |
msgstr "从哪里可以了解更多相关信息?" | ||
|
||
#: ../source/discussions/setup-py-deprecated.rst:213 | ||
#, fuzzy | ||
#| msgid "https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html" | ||
msgid "" | ||
"`Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/" | ||
"articles/2021/10/setup-py-deprecated.html>`__ by Paul Ganssle" | ||
msgstr "https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html" | ||
msgstr "" | ||
"`为什么你不应该再直接使用 setup.py <https://blog.ganssle.io/articles/2021/10/" | ||
"setup-py-deprecated.html>`__ by Paul Ganssle" | ||
|
||
#: ../source/discussions/setup-py-deprecated.rst:215 | ||
msgid ":doc:`setuptools:deprecated/commands`" | ||
|
@@ -2616,7 +2617,7 @@ msgstr "" | |
|
||
#: ../source/discussions/versioning.rst:177 | ||
msgid "Accessing version information at runtime" | ||
msgstr "" | ||
msgstr "在运行时访问版本信息" | ||
|
||
#: ../source/discussions/versioning.rst:179 | ||
msgid "" | ||
|
@@ -2625,26 +2626,34 @@ msgid "" | |
"obtained at runtime using the standard library's :func:`importlib.metadata." | ||
"version` function::" | ||
msgstr "" | ||
"可以在运行时使用标准库的 :func:`importlib.metadata.version` 函数 :: " | ||
"获取当前环境中本地可用的所有 :term:`distribution packages <Distribution " | ||
"Package>` 的版本信息:" | ||
|
||
#: ../source/discussions/versioning.rst:186 | ||
msgid "" | ||
"Many projects also choose to version their top level :term:`import packages " | ||
"<Import Package>` by providing a package level ``__version__`` attribute::" | ||
msgstr "" | ||
"许多项目还选择通过提供包级别 ``__version__`` 属性来对其顶级 :term:`import " | ||
"packages <Import Package>` 进行版本控制::" | ||
|
||
#: ../source/discussions/versioning.rst:194 | ||
msgid "" | ||
"This technique can be particularly valuable for CLI applications which want " | ||
"to ensure that version query invocations (such as ``pip -V``) run as quickly " | ||
"as possible." | ||
msgstr "" | ||
msgstr "对于希望确保版本查询调用(例如``pip -V``)尽快运行的 CLI " | ||
"应用程序来说,此技术特别有价值。" | ||
|
||
#: ../source/discussions/versioning.rst:198 | ||
msgid "" | ||
"Package publishers wishing to ensure their reported distribution package and " | ||
"import package versions are consistent with each other can review the :ref:" | ||
"`single-source-version` discussion for potential approaches to doing so." | ||
msgstr "" | ||
"希望确保其报告的分发包和导入包版本彼此一致的包发布者可以查看 :ref:`single-" | ||
"source-version` 讨论,了解可能的实现方法。" | ||
|
||
#: ../source/discussions/versioning.rst:202 | ||
msgid "" | ||
|