Skip to content

Commit e37d563

Browse files
[po] auto sync
1 parent 57a48de commit e37d563

File tree

5 files changed

+34
-9
lines changed

5 files changed

+34
-9
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.15%", "updated_at": "2024-03-18T15:22:07Z"}
1+
{"translation": "92.18%", "updated_at": "2024-03-19T01:36:24Z"}

whatsnew/2.5.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.9\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2024-01-05 21:52+0000\n"
20+
"POT-Creation-Date: 2024-03-15 21:43+0000\n"
2121
"PO-Revision-Date: 2017-02-16 23:43+0000\n"
2222
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
2323
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -317,6 +317,8 @@ msgid ""
317317
"``from ... import ...`` statement, making it easier to import many different"
318318
" names."
319319
msgstr ""
320+
":pep:`328` 的较简单部分已在 Python 2.4 中实现:现在可以用圆括号将使用 ``from ... import ...`` "
321+
"语句导入的名称括起来,以便能够更容易地导入大量不同的名称。"
320322

321323
#: ../../whatsnew/2.5.rst:263
322324
msgid ""
@@ -325,16 +327,18 @@ msgid ""
325327
"plan is to move toward making absolute imports the default in future "
326328
"versions of Python."
327329
msgstr ""
330+
"更复杂的部分已在 Python 2.5 中实现:可以指定使用绝对的或相对于包的导入方式来导入模块。 计划在未来的 Python "
331+
"版本中将绝对导入方式设为默认。"
328332

329333
#: ../../whatsnew/2.5.rst:267
330334
msgid "Let's say you have a package directory like this::"
331-
msgstr ""
335+
msgstr "比如说你有这样一个包目录::"
332336

333337
#: ../../whatsnew/2.5.rst:274
334338
msgid ""
335339
"This defines a package named :mod:`pkg` containing the :mod:`pkg.main` and "
336340
":mod:`pkg.string` submodules."
337-
msgstr ""
341+
msgstr "这定义了一个名为 :mod:`pkg` 的包,其中包含 :mod:`pkg.main` 和 :mod:`pkg.string` 子模块。"
338342

339343
#: ../../whatsnew/2.5.rst:277
340344
msgid ""
@@ -398,6 +402,7 @@ msgid ""
398402
"Leading periods cannot be used with the ``import modname`` form of the "
399403
"import statement, only the ``from ... import`` form."
400404
msgstr ""
405+
"开头的句点不可用于 import 语句的 ``import modname`` 形式,只能用于 ``from ... import`` 形式。"
401406

402407
#: ../../whatsnew/2.5.rst:331
403408
msgid ":pep:`328` - Imports: Multi-Line and Absolute/Relative"

whatsnew/2.7.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3278,6 +3278,8 @@ msgid ""
32783278
"simple directions on how to install them on that platform (usually using the"
32793279
" system package manager)."
32803280
msgstr ""
3281+
"正如 `在 PEP "
3282+
"中已讨论的`__,平台打包者可以选择默认不安装这些命令,只需要在它们被发起调用时,能够提供有关如何在该平台上安装它们的简单清晰的指引(通常是使用系统包管理器)。"
32813283

32823284
#: ../../whatsnew/2.7.rst:2688
32833285
msgid "Documentation Changes"

whatsnew/3.2.po

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
# ww song <sww4718168@gmail.com>, 2018
1111
# Alpha Du <alphanow@gmail.com>, 2019
1212
# ppcfish <ppcfish@gmail.com>, 2019
13-
# Freesand Leo <yuqinju@163.com>, 2024
1413
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
14+
# Freesand Leo <yuqinju@163.com>, 2024
1515
#
1616
#, fuzzy
1717
msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.9\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2024-02-16 21:12+0000\n"
21+
"POT-Creation-Date: 2024-03-15 21:43+0000\n"
2222
"PO-Revision-Date: 2017-02-16 23:44+0000\n"
23-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
23+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
2424
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -919,26 +919,32 @@ msgid ""
919919
"(By Nick Coghlan and Terrence Cole; :issue:`9567`, :issue:`3445`, and "
920920
":issue:`8814`.)"
921921
msgstr ""
922+
"(由 Nick Coghlan 和 Terrence Cole 在 :issue:`9567`, :issue:`3445` 和 "
923+
":issue:`8814` 中贡献。)"
922924

923925
#: ../../whatsnew/3.2.rst:803
924926
msgid ""
925927
"To help write classes with rich comparison methods, a new decorator "
926928
":func:`functools.total_ordering` will use existing equality and inequality "
927929
"methods to fill in the remaining methods."
928930
msgstr ""
931+
"为帮助编写具有丰富比较方法的类,新增的装饰器 :func:`functools.total_ordering` "
932+
"将使用现有的相等和不相等方法来填充其余的方法。"
929933

930934
#: ../../whatsnew/3.2.rst:807
931935
msgid ""
932936
"For example, supplying *__eq__* and *__lt__* will enable "
933937
":func:`~functools.total_ordering` to fill-in *__le__*, *__gt__* and "
934938
"*__ge__*::"
935939
msgstr ""
940+
"例如,提供 *__eq__* and *__lt__* 将启用 :func:`~functools.total_ordering` 来填充 "
941+
"*__le__*, *__gt__* 和 *__ge__*::"
936942

937943
#: ../../whatsnew/3.2.rst:820
938944
msgid ""
939945
"With the *total_ordering* decorator, the remaining comparison methods are "
940946
"filled in automatically."
941-
msgstr ""
947+
msgstr "使用 *total_ordering* 装饰器时,将会自动填充其余的比较方法。"
942948

943949
#: ../../whatsnew/3.2.rst:823 ../../whatsnew/3.2.rst:835
944950
#: ../../whatsnew/3.2.rst:879 ../../whatsnew/3.2.rst:900
@@ -953,6 +959,8 @@ msgid ""
953959
"function converts an old-style comparison function to modern :term:`key "
954960
"function`:"
955961
msgstr ""
962+
"为帮助移植 Python 2 程序,:func:`functools.cmp_to_key` 函数可将旧式的比较函数转换为新式的 :term:`key "
963+
"function`:"
956964

957965
#: ../../whatsnew/3.2.rst:832
958966
msgid ""

whatsnew/3.4.po

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,8 @@ msgid ""
402402
"simple directions on how to install them on that platform (usually using the"
403403
" system package manager)."
404404
msgstr ""
405+
"正如 `在 PEP "
406+
"中已讨论的`__,平台打包者可以选择默认不安装这些命令,只需要在它们被发起调用时,能够提供有关如何在该平台上安装它们的简单清晰的指引(通常是使用系统包管理器)。"
405407

406408
#: ../../whatsnew/3.4.rst:227
407409
msgid ""
@@ -414,6 +416,10 @@ msgid ""
414416
"the ``-m`` switch rather than directly to avoid ambiguity on systems with "
415417
"multiple Python installations."
416418
msgstr ""
419+
"为了避免同时存在的 Python 2 和 Python 3 安装版之前的冲突,当 ``ensurepip`` 被直接发起调用时默认只会初始设置带版本号的"
420+
" ``pip3`` 和 ``pip3.4`` 命令 —— 需要添加 ``--default-pip`` 选项来请求设置不带版本号的 ``pip`` "
421+
"命令。 ``pyvenv`` 和 Windows 安装程序会确保未限定版本的 ``pip`` 命令在环境中可用,并且 ``pip`` 始终可以通过 "
422+
"``-m`` 选项开关而不是直接发起调用以避免在具有多个 Python 安装版的系统中造成歧义。"
417423

418424
#: ../../whatsnew/3.4.rst:238
419425
msgid "Documentation Changes"
@@ -428,6 +434,10 @@ msgid ""
428434
"Packaging User Guide <https://packaging.python.org>`__ and the documentation"
429435
" of the individual projects."
430436
msgstr ""
437+
"作为此项更改的一部分,文档的 :ref:`installing-index` 和 :ref:`distributing-index` "
438+
"章节已经完全重新设计,快速入门和 FAQ 文档也是如此。 大部分打包指南文档现在都已被移至由 Python Packaging Authority "
439+
"维护的 `Python Packaging User Guide <https://packaging.python.org>`__ "
440+
"以及相应的独立项目文档。"
431441

432442
#: ../../whatsnew/3.4.rst:248
433443
msgid ""
@@ -450,7 +460,7 @@ msgstr ""
450460

451461
#: ../../whatsnew/3.4.rst:262
452462
msgid "PEP 446: Newly Created File Descriptors Are Non-Inheritable"
453-
msgstr ""
463+
msgstr "PEP 446: 新创建的文件描述符将设为不可继承"
454464

455465
#: ../../whatsnew/3.4.rst:264
456466
msgid ""

0 commit comments

Comments
 (0)