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

Skip to content

Commit 97bb533

Browse files
[po] auto sync
1 parent 8e6b489 commit 97bb533

File tree

8 files changed

+29
-15
lines changed

8 files changed

+29
-15
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.01%", "updated_at": "2025-02-28T15:56:18Z"}
1+
{"translation": "81.03%", "updated_at": "2025-03-03T15:55:48Z"}

library/abc.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# wenhui <suwenhui1991@gmail.com>, 2021
1010
# Jarry Shaw <jarryshaw@icloud.com>, 2021
1111
# Alpha Du <alphanow@gmail.com>, 2024
12-
# Freesand Leo <yuqinju@163.com>, 2024
12+
# Freesand Leo <yuqinju@163.com>, 2025
1313
#
1414
#, fuzzy
1515
msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818
"Report-Msgid-Bugs-To: \n"
1919
"POT-Creation-Date: 2025-02-28 14:17+0000\n"
2020
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
21-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
21+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
2222
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2323
"MIME-Version: 1.0\n"
2424
"Content-Type: text/plain; charset=UTF-8\n"
@@ -274,6 +274,9 @@ msgid ""
274274
"is also part of the ``MyIterable`` abstract base class, but it does not have"
275275
" to be overridden in non-abstract derived classes."
276276
msgstr ""
277+
"ABC ``MyIterable`` 将标准的可迭代对象方法 :meth:`~object.__iter__` 定义为一个抽象方法。 "
278+
"这里给出的实现仍可以从子类中调用。 :meth:`!get_iterator` 方法也是 ``MyIterable`` "
279+
"抽象基类的一部分,但它并非必须在非抽象的派生类中被重写。"
277280

278281
#: ../../library/abc.rst:149
279282
msgid ""

library/asyncio-subprocess.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# nick <2330458484@qq.com>, 2021
1111
# MuSheng Chen <sheng.2179@gmail.com>, 2021
1212
# Freesand Leo <yuqinju@163.com>, 2024
13+
# lian Wu (Wulian) <xiguawulian@gmail.com>, 2025
1314
#
1415
#, fuzzy
1516
msgid ""
@@ -18,7 +19,7 @@ msgstr ""
1819
"Report-Msgid-Bugs-To: \n"
1920
"POT-Creation-Date: 2025-02-28 14:17+0000\n"
2021
"PO-Revision-Date: 2021-06-28 00:55+0000\n"
21-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
22+
"Last-Translator: lian Wu (Wulian) <xiguawulian@gmail.com>, 2025\n"
2223
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2324
"MIME-Version: 1.0\n"
2425
"Content-Type: text/plain; charset=UTF-8\n"
@@ -397,7 +398,7 @@ msgstr "注意,数据读取在内存中是带缓冲的,因此如果数据量
397398

398399
#: ../../library/asyncio-subprocess.rst:239
399400
msgid "*stdin* gets closed when ``input=None`` too."
400-
msgstr ""
401+
msgstr "*stdin* 在 `input=None` 时也会被关闭。"
401402

402403
#: ../../library/asyncio-subprocess.rst:243
403404
msgid "Sends the signal *signal* to the child process."

library/collections.abc.po

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ msgid "&quo E864 t;
6363
"remaining mixin methods come from inheritance and can be overridden if "
6464
"desired. Other methods may be added as needed:"
6565
msgstr ""
66+
"新编写的类可以直接继承自某个抽象基类。 该类必须提供所面的抽象方法。 其他混入方法来自于继承并且可在需要时被重写。 其他方法可以被按需添加:"
6667

6768
#: ../../library/collections.abc.rst:35
6869
msgid ""

library/idle.po

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,40 +1306,42 @@ msgstr "启用调试器并打开 shell 窗口。"
13061306

13071307
#: ../../library/idle.rst:685
13081308
msgid "Open an editor window."
1309-
msgstr ""
1309+
msgstr "打开一个 editor 窗口。"
13101310

13111311
#: ../../library/idle.rst:689
13121312
msgid "Print a help message with legal combinations of options and exit."
1313-
msgstr ""
1313+
msgstr "打印一条带有一组合法选项的帮助消息框并退出。"
13141314

13151315
#: ../../library/idle.rst:693
13161316
msgid "Open a shell window."
1317-
msgstr ""
1317+
msgstr "打开一个 shell 窗口。"
13181318

13191319
#: ../../library/idle.rst:697
13201320
msgid "Run the specified file in the shell window."
1321-
msgstr ""
1321+
msgstr "在 shell 窗口中运行指定的文件。"
13221322

13231323
#: ../../library/idle.rst:701
13241324
msgid ""
13251325
"Run the startup file (as defined by the environment variables "
13261326
":envvar:`IDLESTARTUP` or :envvar:`PYTHONSTARTUP`) before opening the shell "
13271327
"window."
13281328
msgstr ""
1329+
"在打开 shell 窗口之前运行启动文件(由环境变量 :envvar:`IDLESTARTUP` 或 :envvar:`PYTHONSTARTUP` "
1330+
"定义)。"
13291331

13301332
#: ../../library/idle.rst:705
13311333
msgid "Set the title of the shell window."
1332-
msgstr ""
1334+
msgstr "设置 shell 窗口的标题。"
13331335

13341336
#: ../../library/idle.rst:709
13351337
msgid ""
13361338
"Read and execute standard input in the shell window. This option must be the"
13371339
" last one before any arguments."
1338-
msgstr ""
1340+
msgstr "读取并执行 shell 窗口中的标准输入。 此选项必须是位于其他参数之前的最后一项。"
13391341

13401342
#: ../../library/idle.rst:711
13411343
msgid "If arguments are provided:"
1342-
msgstr ""
1344+
msgstr "如果提供了参数:"
13431345

13441346
#: ../../library/idle.rst:713
13451347
msgid ""
@@ -1348,12 +1350,15 @@ msgid ""
13481350
"``'-r'`` respectively. No editor window is opened, even if that is the "
13491351
"default set in the *Options* dialog."
13501352
msgstr ""
1353+
"如果使用了 ``-``, ``-c`` 或 ``-r``,则所有参数将放在 ``sys.argv[1:]`` 中,而 ``sys.argv[0]`` "
1354+
"将分别被设为 ``''``,, ``'-c'`` 或 ``'-r'``。 不会打开任何 editor 窗口,即使这是在 *Options* "
1355+
"对象框中的默认设置。"
13511356

13521357
#: ../../library/idle.rst:716
13531358
msgid ""
13541359
"Otherwise, arguments are treated as files to be opened for editing, and "
13551360
"``sys.argv`` reflects the arguments passed to IDLE itself."
1356-
msgstr ""
1361+
msgstr "在其他情况下,参数将作为要被打开编辑的文件来处理,而 ``sys.argv`` 反映的则是传给 IDLE 本身的参数。"
13571362

13581363
#: ../../library/idle.rst:720
13591364
msgid "Startup failure"

library/logging.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ msgstr "*level* 形参现在接受像 'INFO' 这样的字符串形式的级别
894894
msgid ""
895895
"Sets the formatter for this handler to *fmt*. The *fmt* argument must be a "
896896
":class:`Formatter` instance or ``None``."
897-
msgstr ""
897+
msgstr "将处理器的格式设为 *fmt*。 *fmt* 参数必须为 :class:`Formatter` 实例或 ``None``。"
898898

899899
#: ../../library/logging.rst:571
900900
msgid "Adds the specified filter *filter* to this handler."

library/stdtypes.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,6 +1546,10 @@ msgid ""
15461546
"information about generators can be found in :ref:`the documentation for the"
15471547
" yield expression <yieldexpr>`."
15481548
msgstr ""
1549+
"Python 的 :term:`generator` 提供了一种实现迭代器协议的便捷方式。 如果一个容器对象的 "
1550+
":meth:`~object.__iter__` 方法以生成器的形式实现,它将自动返回一个提供 :meth:`~iterator.__iter__` 和"
1551+
" :meth:`~generator.__next__` 方法的迭代器对象(从技术上说,是一个生成器对象)。 有关生成器的更多信息可参阅 "
1552+
":ref:`yield 表达式的文档 <yieldexpr>`。"
15491553

15501554
#: ../../library/stdtypes.rst:921
15511555
msgid "Sequence Types --- :class:`list`, :class:`tuple`, :class:`range`"

library/wsgiref.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ msgstr ""
521521
msgid ""
522522
"The *start_response* callable should follow the :class:`.StartResponse` "
523523
"protocol."
524-
msgstr ""
524+
msgstr "*start_response* 可调用对象必须遵循 :class:`.StartResponse` 协议。"
525525

526526
#: ../../library/wsgiref.rst:321
527527
msgid ""

0 commit comments

Comments
 (0)
0