Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8ccf31

Browse files
[po] auto sync
1 parent 6e7efb3 commit e8ccf31

File tree

13 files changed

+49
-49
lines changed

13 files changed

+49
-49
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "94.27%", "updated_at": "2024-10-13T16:31:27Z"}
1+
{"translation": "94.28%", "updated_at": "2024-11-26T13:21:07Z"}

c-api/sys.po

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.10\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-04-26 19:05+0000\n"
15+
"POT-Creation-Date: 2024-11-12 10:23+0000\n"
1616
"PO-Revision-Date: 2022-11-05 17:21+0000\n"
1717
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -534,12 +534,6 @@ msgstr ""
534534
"请参阅 :pep:`578` 了解有关审计的详细描述。 在运行时和标准库中会引发审计事件的函数清单见 :ref:`审计事件表 <audit-"
535535
"events>`。 更多细节见每个函数的文档。"
536536

537-
#: ../../c-api/sys.rst:366
538-
msgid ""
539-
"Raises an :ref:`auditing event <auditing>` ``sys.addaudithook`` with no "
540-
"arguments."
541-
msgstr " "
542-
543537
#: ../../c-api/sys.rst:368
544538
msgid ""
545539
"If the interpreter is initialized, this function raises a auditing event "

extending/extending.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.10\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-04-26 19:05+0000\n"
15+
"POT-Creation-Date: 2024-11-15 16:02+0000\n"
1616
"PO-Revision-Date: 2022-11-05 17:21+0000\n"
1717
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -66,7 +66,7 @@ msgid ""
6666
msgstr ""
6767
"C扩展接口特指CPython,扩展模块无法在其他Python实现上工作。在大多数情况下,应该避免写C扩展,来保持可移植性。举个例子,如果你的用例调用了C库或系统调用,你应该考虑使用"
6868
" :mod:`ctypes` 模块或 `cffi <https://cffi.readthedocs.io/>`_ "
69-
"库,而不是自己写C代码。这些模块允许你写Python代码来接口C代码,而且可移植性更好。不知为何编译失败了。"
69+
"库,而不是自己写C代码。这些模块允许你写Python代码来接口C代码,并且相较于编写和编译C扩展模块,该方法在不同Python实现之间具有更高的可移植性。"
7070

7171
#: ../../extending/extending.rst:40
7272
msgid "A Simple Example"

faq/design.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.10\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-05-10 15:18+0000\n"
15+
"POT-Creation-Date: 2024-11-12 10:23+0000\n"
1616
"PO-Revision-Date: 2022-11-05 17:21+0000\n"
1717
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -471,8 +471,8 @@ msgid ""
471471
"(which is exactly the same type of object that a lambda expression yields) "
472472
"is assigned!"
473473
msgstr ""
474-
"函数已经是 Python 中的第一等对象,最可在局部作用域中声明。 因此使用 lambda 而非局部定义函数的唯一优点是你不需要为函数指定名称 -- "
475-
"但那只是一个被赋值为函数对象(它的类型与 lambda 表达式所产生的对象完全相同)的局部变量!"
474+
"函数已经是 Python 中的第一等对象,并且可以在局部作用域中声明。 因此使用 lambda 而非局部定义函数的唯一优点是你不需要为函数指定名称 --"
475+
" 但那只是一个被赋值为函数对象(它的类型与 lambda 表达式所产生的对象完全相同)的局部变量!"
476476

477477
#: ../../faq/design.rst:322
478478
msgid "Can Python be compiled to machine code, C or some other language?"

library/idle.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2023
7+
# Rafael Fontenelle <[email protected]>, 2024
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-07-29 03:05+0000\n"
14+
"POT-Creation-Date: 2024-11-08 00:47+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:22+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1571,7 +1571,7 @@ msgid ""
15711571
"text cursor through such output with arrow keys may exhibit some surprising "
15721572
"spacing behavior.) ::"
15731573
msgstr ""
1574-
" IDLE 的 Shell 所使用的 Tk Text 部件可显示的字符 (码位) 为 Unicode 的 BMP (基本多语言平面) 子集。 "
1574+
"IDLE 的 Shell 所使用的 Tk Text 部件可显示的字符 (码位) 为 Unicode 的 BMP (基本多语言平面) 子集。 "
15751575
"具体哪些字符会显示为正确的字形而哪些会以方框代替取决于操作系统和所安装的字体。 制表符会使之后的文本从下一个制表位开始。 (每 8 个 '字符' "
15761576
"对应一个制表位)。 换行符会使之后的文本开始新的一行。 其他控制符会被忽略或是显示为空格、方框或其他形式,具体取决于操作系统和字体。 "
15771577
"(使用方向键在这样的输出中移动文本光标有可能让显示间距发生怪异的变化。) ::"

library/math.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2023
7+
# Rafael Fontenelle <[email protected]>, 2024
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-07-29 03:05+0000\n"
14+
"POT-Creation-Date: 2024-11-12 10:23+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:22+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"
@@ -43,7 +43,7 @@ msgid ""
4343
" can determine how and why it was generated in the first place."
4444
msgstr ""
4545
"这些函数不适用于复数;如果你需要计算复数,请使用 :mod:`cmath` "
46-
"模块中的同名函数。将支持计算复数的函数区分开的目的,来自于大多数开发者并不愿意像数学家一样需要学习复数的概念。得到一个异常而不是一个复数结果使得开发者能够更早地监测到传递给这些函数的参数中包含复数,进而调查其产生的原因。"
46+
"模块中的同名函数。将支持计算复数的函数区分开的目的,在于大多数用户并不愿意为了理解复数而去学习太多数学知识。得到一个异常而不是一个复数结果能让复数当作参数的情况更早被监测到,进而程序员可以第一时间调查其产生的原因。"
4747

4848
#: ../../library/math.rst:25
4949
msgid ""
@@ -734,8 +734,8 @@ msgid ""
734734
"from one would cause a `loss of significance "
735735
"<https://en.wikipedia.org/wiki/Loss_of_significance>`_\\."
736736
msgstr ""
737-
"返回 *x* 处的互补误差函数。 `互补错误函数 <https://en.wikipedia.org/wiki/Error_function>`_ "
738-
"定义为 ``1.0 - erf(x)``。 它用于 *x* 的大值,从其中减去一个会导致 `有效位数损失 "
737+
"返回 *x* 处的互补误差函数。 `互补误差函数 <https://en.wikipedia.org/wiki/Error_function>`_ "
738+
"定义为 ``1.0 - erf(x)``。 它用于大的 *x* 取值,以避免直接用 1 减其误差函数值导致的 `有效位数损失 "
739739
"<https://en.wikipedia.org/wiki/Loss_of_significance>`_\\。"
740740

741741
#: ../../library/math.rst:584

library/symtable.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2022
7+
# Rafael Fontenelle <[email protected]>, 2024
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-07-14 15:16+0000\n"
14+
"POT-Creation-Date: 2024-05-17 15:56+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:22+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2022\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"

library/sys.po

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-08-23 16:12+0000\n"
14+
"POT-Creation-Date: 2024-11-12 10:23+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:22+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -80,12 +80,6 @@ msgstr ""
8080
":c:func:`PySys_AddAuditHook` 来添加任何安全敏感的钩子,并且应当完全删除或密切监视任何允许任意修改内存的模块 (如 "
8181
":mod:`ctypes`)。"
8282

83-
#: ../../library/sys.rst:47
84-
msgid ""
85-
"Raises an :ref:`auditing event <auditing>` ``sys.addaudithook`` with no "
86-
"arguments."
87-
msgstr " "
88-
8983
#: ../../library/sys.rst:49
9084
msgid ""
9185
"Calling :func:`sys.addaudithook` will itself raise an auditing event named "

library/tracemalloc.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2023
7+
# Rafael Fontenelle <[email protected]>, 2024
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-07-29 03:05+0000\n"
14+
"POT-Creation-Date: 2024-11-15 16:02+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:22+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"
@@ -33,7 +33,7 @@ msgstr "**源代码:** :source:`Lib/tracemalloc.py`"
3333
msgid ""
3434
"The tracemalloc module is a debug tool to trace memory blocks allocated by "
3535
"Python. It provides the following information:"
36-
msgstr "tracemalloc 模块是一个用于对 python 已申请的内存块进行debug的工具。它能提供以下信息:"
36+
msgstr "tracemalloc 模块是一个用于对 Python 已申请的内存块进行调试的工具。它能提供以下信息:"
3737

3838
#: ../../library/tracemalloc.rst:16
3939
msgid "Traceback where an object was allocated"
@@ -59,7 +59,7 @@ msgid ""
5959
msgstr ""
6060
"要追踪 Python 所分配的大部分内存块,模块应当通过将 :envvar:`PYTHONTRACEMALLOC` 环境变量设置为 "
6161
"``1``,或是通过使用 :option:`-X` ``tracemalloc`` 命令行选项来尽可能早地启动。 可以在运行时调用 "
62-
":func:`tracemalloc.start` 函数来启动追踪 Python 内存分配。memory allocations."
62+
":func:`tracemalloc.start` 函数来启动追踪 Python 内存分配。"
6363

6464
#: ../../library/tracemalloc.rst:27
6565
msgid ""
@@ -140,7 +140,7 @@ msgstr "获取一个内存块的溯源"
140140

141141
#: ../../library/tracemalloc.rst:123
142142
msgid "Code to display the traceback of the biggest memory block::"
143-
msgstr "一段找出程序中最大内存块溯源的代码::"
143+
msgstr "找出程序中最大内存块的溯源的代码::"
144144

145145
#: ../../library/tracemalloc.rst:141
146146
msgid ""

reference/expressions.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-07-20 02:29+0000\n"
14+
"POT-Creation-Date: 2024-11-15 16:02+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:23+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -2225,7 +2225,7 @@ msgstr "条件表达式"
22252225
msgid ""
22262226
"Conditional expressions (sometimes called a \"ternary operator\") have the "
22272227
"lowest priority of all Python operations."
2228-
msgstr "条件表达式(有时称为“三元运算符”)在所有 Python 运算中具有最低的优先级。"
2228+
msgstr "条件表达式(有时称为“三目运算符”)在所有 Python 运算中具有最低的优先级。"
22292229

22302230
#: ../../reference/expressions.rst:1789
22312231
msgid ""

reference/lexical_analysis.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-24 15:56+0000\n"
14+
"POT-Creation-Date: 2024-11-12 10:23+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:23+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"

whatsnew/2.3.po

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-08-30 16:14+0000\n"
14+
"POT-Creation-Date: 2024-11-22 16:07+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:23+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -196,6 +196,13 @@ msgid ""
196196
" full explanation of the interaction between :keyword:`!yield` and "
197197
"exceptions.)"
198198
msgstr ""
199+
"当您调用生成器函数时,它不会返回一个单独的值;相反,它会返回一个支持迭代器协议的生成器对象。在执行 :keyword:`yield` "
200+
"语句时,生成器会输出 ``i`` 的值 ,类似于 :keyword:`return` 语句。 :keyword:`!yield` 与 "
201+
":keyword:`!return` 语句之间的最大区别在于,在到达 :keyword:`!yield` 时,生成器的执行状态会暂停,并保留本地变量。 "
202+
"在下一次调用生成器 的 ``.next()`` 方法时,函数将在 :keyword:`!yield` 语句之后立即恢复执行。 "
203+
"(由于复杂的原因,:keyword:`!yield` 语句不允许在 :keyword:`try`...\\ :keyword:`!finally` "
204+
"语句的 :keyword:`!try` 代码块内出现;有关 :keyword:`!yield` 和异常之间交互的完整解释,请阅读 "
205+
":pep:`255`。)"
199206

200207
#: ../../whatsnew/2.3.rst:169
201208
msgid "Here's a sample usage of the :func:`generate_ints` generator::"
@@ -280,6 +287,7 @@ msgid ""
280287
"as a concrete object (the iterator) that can be passed around to other "
281288
"functions or stored in a data structure."
282289
msgstr ""
290+
"Python并不像Icon那样将生成器作为核心概念来采用。生成器被视为Python核心语言的一部分,但学习或使用它们并不是强制的;如果它们不能解决你遇到的问题,可以完全忽略它们。与Icon相比,Python接口的一个新颖特性是生成器的状态表示为一个具体的对象(迭代器),可以传递给其他函数或存储在数据结构中。"
283291

284292
#: ../../whatsnew/2.3.rst:248
285293
msgid ":pep:`255` - Simple Generators"
@@ -305,6 +313,7 @@ msgid ""
305313
"comment in the first or second line of the source file. For example, a "
306314
"UTF-8 file can be declared with::"
307315
msgstr ""
316+
"现在可以声明Python源文件使用不同的字符集编码。通过在源文件的第一行或第二行包含特定格式的注释来声明编码。例如,一个UTF-8文件可以这样声明:"
308317

309318
#: ../../whatsnew/2.3.rst:267
310319
msgid ""
@@ -314,6 +323,8 @@ msgid ""
314323
":exc:`DeprecationWarning` being signalled by Python 2.3; in 2.4 this will be"
315324
" a syntax error."
316325
msgstr ""
326+
"如果没有这样的编码声明,默认使用7位ASCII编码。执行或导入包含8位字符的字符串字面量且没有编码声明的模块时,在Python 2.3中会触发 "
327+
":exc:`DeprecationWarning` 警告;而在Python 2.4中,这将成为语法错误"
317328

318329
#: ../../whatsnew/2.3.rst:273
319330
msgid ""
@@ -322,6 +333,7 @@ msgid ""
322333
"identifiers are still restricted to ASCII characters, so you can't have "
323334
"variable names that use characters outside of the usual alphanumerics."
324335
msgstr ""
336+
"编码声明只影响Unicode字符串字面量,这些字面量将使用指定的编码转换为Unicode。请注意,Python的标识符仍然限制为ASCII字符,因此变量名不能使用超出常规字母数字字符范围的字符。"
325337

326338
#: ../../whatsnew/2.3.rst:282
327339
msgid ":pep:`263` - Defining Python Source Code Encodings"

whatsnew/3.4.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.10\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-09-27 16:06+0000\n"
15+
"POT-Creation-Date: 2024-11-01 18:14+0000\n"
1616
"PO-Revision-Date: 2022-11-05 17:23+0000\n"
1717
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -3283,7 +3283,7 @@ msgstr ""
32833283

32843284
#: ../../whatsnew/3.4.rst:1973
32853285
msgid "``python -m`` now works with namespace packages."
3286-
msgstr ""
3286+
msgstr "现在 ``python -m`` 将可用于命名空间包。"
32873287

32883288
#: ../../whatsnew/3.4.rst:1975
32893289
msgid ""

0 commit comments

Comments
 (0)