From 1d46a4d079db18acaf9fdd32c99cc85b4ea39439 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Sun, 15 Dec 2024 11:01:06 +0000 Subject: [PATCH] Translated using Weblate (Chinese (Simplified Han script)) Currently translated at 26.2% (961 of 3661 strings) Co-authored-by: Xianpeng Shen Translate-URL: https://hosted.weblate.org/projects/pypa/packaging-python-org/zh_Hans/ Translation: pypa/packaging.python.org --- locales/zh_Hans/LC_MESSAGES/messages.po | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/locales/zh_Hans/LC_MESSAGES/messages.po b/locales/zh_Hans/LC_MESSAGES/messages.po index ef2699fcc..fe4a5b031 100644 --- a/locales/zh_Hans/LC_MESSAGES/messages.po +++ b/locales/zh_Hans/LC_MESSAGES/messages.po @@ -27,13 +27,14 @@ # 大王叫我来巡山 , 2024. # Peter Shen , 2024. # hello_wac , 2024. +# Xianpeng Shen , 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 \n" +"PO-Revision-Date: 2024-12-15 11:00+0000\n" +"Last-Translator: Xianpeng Shen \n" "Language-Team: Chinese (Simplified Han script) \n" "Language: zh_Hans\n" @@ -41,7 +42,7 @@ msgstr "" "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 `__ by Paul Ganssle" -msgstr "https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html" +msgstr "" +"`为什么你不应该再直接使用 setup.py `__ 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,19 +2626,25 @@ msgid "" "obtained at runtime using the standard library's :func:`importlib.metadata." "version` function::" msgstr "" +"可以在运行时使用标准库的 :func:`importlib.metadata.version` 函数 :: " +"获取当前环境中本地可用的所有 :term:`distribution packages ` 的版本信息:" #: ../source/discussions/versioning.rst:186 msgid "" "Many projects also choose to version their top level :term:`import packages " "` by providing a package level ``__version__`` attribute::" msgstr "" +"许多项目还选择通过提供包级别 ``__version__`` 属性来对其顶级 :term:`import " +"packages ` 进行版本控制::" #: ../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 "" @@ -2645,6 +2652,8 @@ msgid "" "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 ""