66# Translators:
77# Rafael Fontenelle <[email protected] >, 2024889+ # Freesand Leo <[email protected] >, 2024910#
1011#, fuzzy
1112msgid ""
1213msgstr ""
1314"Project-Id-Version : Python 3.12\n "
1415"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2024-06-28 14:50 +0000\n "
16+ "POT-Creation-Date : 2024-07-05 14:49 +0000\n "
1617"PO-Revision-Date : 2024-05-11 00:34+0000\n "
17- "Last-Translator : 钟旭尧 <python_zhong@qq .com>, 2024\n "
18+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2024\n "
1819"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1920"MIME-Version : 1.0\n "
2021"Content-Type : text/plain; charset=UTF-8\n "
@@ -150,6 +151,9 @@ msgid ""
150151":data:`sys.py3kwarning`, and to C extension code as "
151152":c:data:`Py_Py3kWarningFlag`."
152153msgstr ""
154+ "一个新的命令行开关 :option:`!-3` 可以对 Python 3.0 将移除的特性发出警告。 您可以使用该开关运行代码,以了解将代码移植到 "
155+ "3.0 所需的工作量。 Python 代码可以使用 :data:`sys.py3kwarning` 访问该开关的值,C 扩展代码可以使用 "
156+ ":c:data:`Py_Py3kWarningFlag` 访问该开关的值。"
153157
154158#: ../../whatsnew/2.6.rst:126
155159msgid ""
@@ -266,6 +270,9 @@ msgid ""
266270"provided attractive printed output while remaining straightforward to write "
267271"once the basic rules of the markup were learned."
268272msgstr ""
273+ "自 1989 年左右项目启动以来,Python 文档一直使用 LaTeX 编写。在 20 世纪 80 年代和 90 "
274+ "年代早期,大多数文档都是打印出来供日后学习的,而不是在网上查看。LaTeX "
275+ "被广泛使用,因为它既能提供美观的打印输出,又能在掌握了标记的基本规则后直接进行编写。"
269276
270277#: ../../whatsnew/2.6.rst:204
271278msgid ""
@@ -279,13 +286,19 @@ msgid ""
279286"into SGML and later XML, but performing a good conversion is a major task "
280287"and no one ever committed the time required to finish the job."
281288msgstr ""
289+ "如今,LaTeX 仍被用于编写印刷出版物,但编程工具的格局已经发生了变化。我们不再打印成堆的文档,取而代之的是在线浏览,HTML "
290+ "已成为最重要的支持格式。不幸的是,将 LaTeX 转换为 HTML 相当复杂,长期担任 Python 文档编辑的小弗雷德-L-德雷克(Fred L. "
291+ "Drake Jr.)花了许多时间在维护转换过程上。偶尔有人会建议将文档转换成 SGML,之后再转换成 "
292+ "XML,但进行良好的转换是一项艰巨的任务,从来没有人投入所需的时间来完成这项工作。"
282293
283294#: ../../whatsnew/2.6.rst:215
284295msgid ""
285296"During the 2.6 development cycle, Georg Brandl put a lot of effort into "
286297"building a new toolchain for processing the documentation. The resulting "
287298"package is called Sphinx, and is available from https://www.sphinx-doc.org/."
288299msgstr ""
300+ "在 2.6 开发周期中,Georg Brandl 投入了大量精力来构建一个新的工具链,用于处理文档。由此产生的软件包名为 Sphinx,可从 "
301+ "https://www.sphinx-doc.org/ 获取。"
289302
290303#: ../../whatsnew/2.6.rst:220
291304msgid ""
@@ -294,6 +307,8 @@ msgid ""
294307"input format is reStructuredText, a markup syntax supporting custom "
295308"extensions and directives that is commonly used in the Python community."
296309msgstr ""
310+ "Sphinx 专注于 HTML 输出,可生成吸引人风格的现代 HTML;通过转换为 LaTeX,仍可支持打印输出。输入格式是 "
311+ "reStructuredText,这是一种支持自定义扩展和指令的标记语法,在 Python 社区很常用。"
297312
298313#: ../../whatsnew/2.6.rst:226
299314msgid ""
@@ -302,6 +317,8 @@ msgid ""
302317"doc.org/en/master/examples.html>`__) have adopted Sphinx as their "
303318"documentation tool."
304319msgstr ""
320+ "Sphinx 是一个可用于写文档的独立软件包,将近二十多个其他项目 (`列在 Sphinx 网站 <https://www.sphinx-"
321+ "doc.org/en/master/examples.html>`__ 上) 已采用 Sphinx 作为其文档工具。"
305322
306323#: ../../whatsnew/2.6.rst:233
307324msgid "`Documenting Python <https://devguide.python.org/documenting/>`__"
@@ -341,6 +358,10 @@ msgid ""
341358"\" What's New in Python 2.5\" document; if you're familiar with the "
342359"':keyword:`!with`' statement from Python 2.5, you can skip this section."
343360msgstr ""
361+ "在 Python 2.5 之前的版本中,\" :keyword:`with`\" 语句是一个可选功能,可以通过 ``from __future__ "
362+ "import with_statement`` 指令启用。 在 2.6 中,该语句不再需要特别启用;这意味着 :keyword:`!with` "
363+ "现在总是一个关键字。 本节的其余部分是“Python 2.5 新特性”文档中相应部分的复制;如果您熟悉 Python 2.5 中的 "
364+ "':keyword:`!with`' 语句,可以跳过本节。"
344365
345366#: ../../whatsnew/2.6.rst:257
346367msgid ""
@@ -355,7 +376,7 @@ msgstr ""
355376msgid ""
356377"The ':keyword:`with`' statement is a control-flow structure whose basic "
357378"structure is::"
358- msgstr "The ':keyword:`with`' 语是一种基本结构如下所示的流程控制结构 ::"
379+ msgstr "The ':keyword:`with`' 语句是一种基本结构如下所示的流程控制结构 ::"
359380
360381#: ../../whatsnew/2.6.rst:269
361382msgid ""
0 commit comments