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

Skip to content

Commit 1177855

Browse files
[po] auto sync
1 parent e11c299 commit 1177855

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "96.11%", "updated_at": "2024-08-30T02:08:12Z"}
1+
{"translation": "96.11%", "updated_at": "2024-08-30T09:47:03Z"}

library/array.po

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# lit, 2024
88
# Rafael Fontenelle <[email protected]>, 2024
9+
# AlexLin625, 2024
910
# Freesand Leo <[email protected]>, 2024
1011
#
1112
#, fuzzy
@@ -382,6 +383,8 @@ msgid ""
382383
"``array.frombytes(unicodestring.encode(enc))`` to append Unicode data to an "
383384
"array of some other type."
384385
msgstr ""
386+
"用给定的 Unicode 字符串中的数据扩展数组。 数组的类型代码必须是 ``'u'``,否则会引发 :exc:`ValueError` 异常。 使用 "
387+
"``array.frombytes(unicodestring.encode(enc))`` 可将 Unicode 数据附加到其他类型的数组中。"
385388

386389
#: ../../library/array.rst:188
387390
msgid ""
@@ -443,6 +446,8 @@ msgid ""
443446
"otherwise a :exc:`ValueError` is raised. Use ``array.tobytes().decode(enc)``"
444447
" to obtain a Unicode string from an array of some other type."
445448
msgstr ""
449+
"将数组转换为 Unicode 字符串。 数组的类型必须是 ``'u'``;否则会引发 :exc:`ValueError` 异常。 使用 "
450+
"``array.tobytes().decode(enc)`` 可从其他类型的数组中获取 Unicode字符串。"
446451

447452
#: ../../library/array.rst:247
448453
msgid ""
@@ -455,6 +460,11 @@ msgid ""
455460
"using ``from array import array``. Variables ``inf`` and ``nan`` must also "
456461
"be defined if it contains corresponding floating-point values. Examples::"
457462
msgstr ""
463+
"数组对象的字符串表示具有 ``array(typecode, initializer)`` 的形式。 当数组为空时,其中的 *initializer* "
464+
"字段被省略;若 array 的类型代码是 ``'u'``,则 *initializer* 是一个 Unicode 字符串;其次则是一个数字列表。 "
465+
"可以保证,用 :func:`eval` 能够将一个数组对象的字符串表示转换回一个具有相同类型和值的数组对象。 这需要用 ``from array "
466+
"import array`` 语句引入 :class:`~array.array` 类。 若数组对象包括 Inf 或 NaN 浮点值,则相对应的 "
467+
"``inf`` 和 ``nan`` 变量必须被定义。 举例如下::"
458468

459469
#: ../../library/array.rst:267
460470
msgid "Module :mod:`struct`"
@@ -472,7 +482,7 @@ msgstr ":mod:`xdrlib` 模块"
472482
msgid ""
473483
"Packing and unpacking of External Data Representation (XDR) data as used in "
474484
"some remote procedure call systems."
475-
msgstr ""
485+
msgstr "对某些远程过程调用系统中使用的外部数据表示(XDR)数据进行打包和解包 。"
476486

477487
#: ../../library/array.rst:274
478488
msgid "`NumPy <https://numpy.org/>`_"

tutorial/interpreter.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <[email protected]>, 2024
8+
# Freesand Leo <[email protected]>, 2024
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.12\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-11 19:07+0000\n"
15+
"POT-Creation-Date: 2024-08-23 14:51+0000\n"
1516
"PO-Revision-Date: 2024-05-11 00:34+0000\n"
16-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
1718
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -55,6 +56,9 @@ msgid ""
5556
" :file:`py` command. See :ref:`setting-envvars` for other ways to launch "
5657
"Python."
5758
msgstr ""
59+
"在 Windows 机器上如果你从 :ref:`Microsoft Store <windows-store>` 安装了 Python,那就可以用 "
60+
":file:`python3.12` 命令。 如果你还安装了 :ref:`py.exe launcher <launcher>`,那将可以用 "
61+
":file:`py` 命令。 请参阅 :ref:`setting-envvars` 了解其他启动 Python 的方式。"
5862

5963
#: ../../tutorial/interpreter.rst:31
6064
msgid ""

0 commit comments

Comments
 (0)