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

Skip to content

Commit fa119c2

Browse files
[po] auto sync
1 parent 7dace8d commit fa119c2

6 files changed

Lines changed: 23 additions & 3 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.03%", "updated_at": "2024-04-20T23:57:21Z"}
1+
{"translation": "95.05%", "updated_at": "2024-04-21T06:56:33Z"}

library/os.path.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ msgid ""
3535
"**Source code:** :source:`Lib/genericpath.py`, :source:`Lib/posixpath.py` "
3636
"(for POSIX) and :source:`Lib/ntpath.py` (for Windows)."
3737
msgstr ""
38+
"**源代码:** :source:`Lib/genericpath.py`, :source:`Lib/posixpath.py` (用于 POSIX)"
39+
" 和 :source:`Lib/ntpath.py` (用于 Windows)。"
3840

3941
#: ../../library/os.path.rst:14
4042
msgid ""
@@ -355,7 +357,7 @@ msgstr ""
355357

356358
#: ../../library/os.path.rst:298
357359
msgid "Added support for detecting non-root mount points on Windows."
358-
msgstr ""
360+
msgstr "增加了在 Windows 上检测非根挂载点的支持。"
359361

360362
#: ../../library/os.path.rst:307
361363
msgid ""

library/statistics.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,8 @@ msgid ""
617617
"around a point that is not the mean. If it is missing or ``None`` (the "
618618
"default), the arithmetic mean is automatically calculated."
619619
msgstr ""
620+
"如果给出了可选的第二个参数 *mu*,它应为 *data* 的 *众数* 均值。 它也可以被用来计算一个非均值点的二阶距。 如果该参数被省略或为 "
621+
"``None`` (默认值),则会自动进行算术均值计算。"
620622

621623
#: ../../library/statistics.rst:457
622624
msgid ""
@@ -686,6 +688,8 @@ msgid ""
686688
"mean of *data*. If it is missing or ``None`` (the default), the mean is "
687689
"automatically calculated."
688690
msgstr ""
691+
"如果给出了可选的第二个参数 *xbar*,它应为 *data* 的 *样本* 均值。 如果该参数省略或为 ``None`` "
692+
"(默认值),则会自动进行均值计算。"
689693

690694
#: ../../library/statistics.rst:528
691695
msgid ""

library/typing.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ msgid ""
8484
":pypi:`typing_extensions` package provides backports of these new features "
8585
"to older versions of Python."
8686
msgstr ""
87+
"新特性被频繁添加到 ``typing`` 模块中。 :pypi:`typing_extensions` 包提供了这些新特性针对较旧版本 Python "
88+
"的向下移植。"
8789

8890
#: ../../library/typing.rst:48
8991
msgid ""
@@ -2852,6 +2854,9 @@ msgid ""
28522854
"params>` namespaces. For a class ``C``, return a dictionary constructed by "
28532855
"merging all the ``__annotations__`` along ``C.__mro__`` in reverse order."
28542856
msgstr ""
2857+
"这往往与 ``obj.__annotations__`` 相同。 此外,编码为字符串字面值的前向引用是通过在 ``globals``, "
2858+
"``locals`` 和 (如果可用) :ref:`类型形参 <type-params>` 命名空间中执行求值来处理的。 对于一个类 "
2859+
"``C``,将返回一个由所有 ``__annotations__`` 与 ``C.__mro__`` 逆序合并构建而成的字典。"
28552860

28562861
#: ../../library/typing.rst:2896
28572862
msgid ""

library/xml.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ msgstr ""
303303
msgid ""
304304
"The documentation for :pypi:`defusedxml` on PyPI has further information "
305305
"about all known attack vectors with examples and references."
306-
msgstr ""
306+
msgstr "PyPI 上 :pypi:`defusedxml` 的文档包含关于所有已知攻击向量的更多信息并附带示例和参考资料。"
307307

308308
#: ../../library/xml.rst:135
309309
msgid "The :mod:`!defusedxml` Package"
@@ -317,3 +317,5 @@ msgid ""
317317
"data. The package also ships with example exploits and extended "
318318
"documentation on more XML exploits such as XPath injection."
319319
msgstr ""
320+
":pypi:`defusedxml` 是一个纯 Python 软件包,它修改了所有 stdlib XML 解析器的子类,可以防止任何潜在的恶意操作。 "
321+
"对于解析不受信任的 XML 数据的任何服务器代码推荐使用此软件包。 该软件包还附带了关于其他 XML 漏洞(如 XPath 注入)的利用示例和扩展文档。"

library/zoneinfo.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ msgid ""
3838
"if no system time zone data is available, the library will fall back to "
3939
"using the first-party :pypi:`tzdata` package available on PyPI."
4040
msgstr ""
41+
":mod:`zoneinfo` 模块根据 :pep:`615` 中的原始规范说明提供了一个具体的时区实现来支持 IANA 时区数据库。 "
42+
"在默认情况下,:mod:`zoneinfo` 会在可能的情况下使用系统的时区数据;如果系统时区数据不可用,该库将回退为使用 PyPI 上提供的 "
43+
":pypi:`tzdata` 第一方包。"
4144

4245
#: ../../library/zoneinfo.rst:26
4346
msgid "Module: :mod:`datetime`"
@@ -130,6 +133,10 @@ msgid ""
130133
"system data nor tzdata are available, all calls to :class:`ZoneInfo` will "
131134
"raise :exc:`ZoneInfoNotFoundError`."
132135
msgstr ""
136+
"``zoneinfo`` 模块不直接提供时区数据,而是在可能的情况下从系统时区数据库或使用 PyPI 上的第一方包 :pypi:`tzdata` "
137+
"来获取时区信息。 某些系统,特别是 Windows 系统也包括在内,并没有可用的 IANA "
138+
"数据库,因此对于要保证获取时区信息的跨平台兼容性的项目,推荐针对 tzdata 声明依赖。 如果系统数据和 tzdata 均不可用,则所有对 "
139+
":class:`ZoneInfo` 的调用都将引发 :exc:`ZoneInfoNotFoundError`。"
133140

134141
#: ../../library/zoneinfo.rst:106
135142
msgid "Configuring the data sources"

0 commit comments

Comments
 (0)