8000 [po] auto sync · python/python-docs-zh-cn@6115243 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6115243

Browse files
[po] auto sync
1 parent 10ddeb6 commit 6115243

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": "91.56%", "updated_at": "2024-03-18T15:08:58Z"}
1+
{"translation": "91.59%", "updated_at": "2024-03-19T01:29:48Z"}

whatsnew/2.5.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.8\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2024-01-06 00:05+0000\n"
21+
"POT-Creation-Date: 2024-03-16 00:00+0000\n"
2222
"PO-Revision-Date: 2020-05-30 12:17+0000\n"
2323
"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"
@@ -318,6 +318,8 @@ msgid ""
318318
"``from ... import ...`` statement, making it easier to import many different"
319319
" names."
320320
msgstr ""
321+
":pep:`328` 的较简单部分已在 Python 2.4 中实现:现在可以用圆括号将使用 ``from ... import ...`` "
322+
"语句导入的名称括起来,以便能够更容易地导入大量不同的名称。"
321323

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

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

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

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

403408
#: ../../whatsnew/2.5.rst:331
404409
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
@@ -9,17 +9,17 @@
99
# Shengjing Zhu <zsj950618@gmail.com>, 2020
1010
# Alpha Du <alphanow@gmail.com>, 2020
1111
# ppcfish <ppcfish@gmail.com>, 2020
12-
# Freesand Leo <yuqinju@163.com>, 2024
1312
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
13+
# Freesand Leo <yuqinju@163.com>, 2024
1414
#
1515
#, fuzzy
1616
msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.8\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2024-02-16 23:23+0000\n"
20+
"POT-Creation-Date: 2024-03-16 00:00+0000\n"
2121
"PO-Revision-Date: 2020-05-30 12:18+0000\n"
22-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
22+
"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"
2424
"MIME-Version: 1.0\n"
2525
"Content-Type: text/plain; charset=UTF-8\n"
@@ -918,26 +918,32 @@ msgid ""
918918
"(By Nick Coghlan and Terrence Cole; :issue:`9567`, :issue:`3445`, and "
919919
":issue:`8814`.)"
920920
msgstr ""
921+
"(由 Nick Coghlan 和 Terrence Cole 在 :issue:`9567`, :issue:`3445` 和 "
922+
":issue:`8814` 中贡献。)"
921923

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

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

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

942948
#: ../../whatsnew/3.2.rst:822 ../../whatsnew/3.2.rst:834
943949
#: ../../whatsnew/3.2.rst:878 ../../whatsnew/3.2.rst:899
@@ -952,6 +958,8 @@ msgid ""
952958
"function converts an old-style comparison function to modern :term:`key "
953959
"function`:"
954960
msgstr ""
961+
"为帮助移植 Python 2 程序,:func:`functools.cmp_to_key` 函数可将旧式的比较函数转换为新式的 :term:`key "
962+
"function`:"
955963

956964
#: ../../whatsnew/3.2.rst:831
957965
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)
0