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

Skip to content

Commit 23e09a4

Browse files
[po] auto sync
1 parent 29452ff commit 23e09a4

29 files changed

Lines changed: 101 additions & 87 deletions

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "93.09%", "updated_at": "2024-01-26T14:56:02Z"}
1+
{"translation": "93.20%", "updated_at": "2024-01-26T15:55:51Z"}

c-api/init.po

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ msgid ""
2121
msgstr ""
2222
"Project-Id-Version: Python 3.12\n"
2323
"Report-Msgid-Bugs-To: \n"
24-
"POT-Creation-Date: 2024-01-19 14:14+0000\n"
24+
"POT-Creation-Date: 2024-01-26 14:13+0000\n"
2525
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
2626
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
2727
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -1537,12 +1537,16 @@ msgid ""
15371537
"each unique call to :c:func:`PyGILState_Ensure` must save the handle for its"
15381538
" call to :c:func:`PyGILState_Release`."
15391539
msgstr ""
1540+
"返回值是一个当 :c:func:`PyGILState_Ensure` 被调用时的线程状态的不透明“句柄”,并且必须被传递给 "
1541+
":c:func:`PyGILState_Release` 以确保 Python 处于相同状态。 虽然允许递归调用,但这些句柄 *不能* 被共享 —— "
1542+
"每次对 :c:func:`PyGILState_Ensure` 的单独调用都必须保存其对 :c:func:`PyGILState_Release` "
1543+
"的调用的句柄。"
15401544

15411545
#: ../../c-api/init.rst:1130
15421546
msgid ""
15431547
"When the function returns, the current thread will hold the GIL and be able "
15441548
"to call arbitrary Python code. Failure is a fatal error."
1545-
msgstr ""
1549+
msgstr "当该函数返回时,当前线程将持有 GIL 并能够调用任意 Python 代码。 执行失败将导致致命级错误。"
15461550

15471551
#: ../../c-api/init.rst:1142
15481552
msgid ""
@@ -1551,6 +1555,8 @@ msgid ""
15511555
":c:func:`PyGILState_Ensure` call (but generally this state will be unknown "
15521556
"to the caller, hence the use of the GILState API)."
15531557
msgstr ""
1558+
"释放之前获取的任何资源。 在此调用之后,Python 的状态将与其在对相应 :c:func:`PyGILState_Ensure` "
1559+
"调用之前的一样(但是通常此状态对调用方来说将是未知的,对 GILState API 的使用也是如此)。"
15541560

15551561
#: ../../c-api/init.rst:1147
15561562
msgid ""
@@ -2814,11 +2820,8 @@ msgstr "modules (在 sys 模块中)"
28142820
msgid "path (in module sys)"
28152821
msgstr "path (在 sys 模块中)"
28162822

2817-
#: ../../c-api/init.rst:334 ../../c-api/init.rst:334 ../../c-api/init.rst:334
28182823
#: ../../c-api/init.rst:334 ../../c-api/init.rst:589 ../../c-api/init.rst:615
28192824
#: ../../c-api/init.rst:1057 ../../c-api/init.rst:1588
2820-
#: ../../c-api/init.rst:1588 ../../c-api/init.rst:1588
2821-
#: ../../c-api/init.rst:1683 ../../c-api/init.rst:1683
28222825
#: ../../c-api/init.rst:1683
28232826
msgid "module"
28242827
msgstr "module"
@@ -2927,7 +2930,7 @@ msgstr "锁,解释器"
29272930
msgid "setswitchinterval() (in module sys)"
29282931
msgstr "setswitchinterval() (在 sys 模块中)"
29292932

2930-
#: ../../c-api/init.rst:861 ../../c-api/init.rst:861
2933+
#: ../../c-api/init.rst:861
29312934
msgid "PyThreadState"
29322935
msgstr "PyThreadState"
29332936

c-api/memory.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# ppcfish <[email protected]>, 2021
1010
# Sean Chao <[email protected]>, 2021
1111
# Bryan不可思议, 2023
12-
# Freesand Leo <[email protected]>, 2023
12+
# Freesand Leo <[email protected]>, 2024
1313
#
1414
#, fuzzy
1515
msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818
"Report-Msgid-Bugs-To: \n"
1919
"POT-Creation-Date: 2024-01-26 14:13+0000\n"
2020
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
21-
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
21+
"Last-Translator: Freesand Leo <[email protected]>, 2024\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"
@@ -392,6 +392,8 @@ msgid ""
392392
"of memory. Returns a pointer cast to ``TYPE*``. The memory will not have "
393393
"been initialized in any way."
394394
msgstr ""
395+
"与 :c:func:`PyMem_Malloc` 相同,但会分配 ``(n * sizeof(TYPE))`` 字节的内存。 返回一个转换为 "
396+
"``TYPE*`` 的指针。 内存不会以任何方式被初始化。"
395397

396398
#: ../../c-api/memory.rst:276
397399
msgid ""

library/argparse.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1963,7 +1963,7 @@ msgstr ""
19631963

19641964
#: ../../library/argparse.rst:1939
19651965
msgid "Added the *encodings* and *errors* parameters."
1966-
msgstr ""
1966+
msgstr "增加了 *encodings* 和 *errors* 形参。"
19671967

19681968
#: ../../library/argparse.rst:1944
19691969
msgid "Argument groups"

library/array.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# ppcfish <[email protected]>, 2021
1111
# jaystone776 <[email protected]>, 2021
1212
# 高乐喆 <[email protected]>, 2023
13-
# Freesand Leo <[email protected]>, 2023
1413
# 乐成 王, 2023
14+
# Freesand Leo <[email protected]>, 2024
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2024-01-26 14:13+0000\n"
2222
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
23-
"Last-Translator: 乐成 王, 2023\n"
23+
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
2424
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -248,6 +248,8 @@ msgid ""
248248
":class:`bytearray` object, a Unicode string, or iterable over elements of "
249249
"the appropriate type."
250250
msgstr ""
251+
"一个由 *typecode* 限定其条目的新数组,并能根据可选的 *initializer* 值来初始化。 该值必须是一个 :class:`bytes`"
252+
" 或 :class:`bytearray` 对象、Unicode 字符串或迭代适当类型的元素的可迭代对象。"
251253

252254
#: ../../library/array.rst:83
253255
msgid ""

library/bdb.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ msgstr ""
206206

207207
#: ../../library/bdb.rst:135
208208
msgid "Added the *skip* parameter."
209-
msgstr ""
209+
msgstr "增加了 *skip* 形参。"
210210

211211
#: ../../library/bdb.rst:138
212212
msgid ""

library/configparser.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ msgstr ""
991991
msgid ""
992992
"Added the *encoding* parameter. Previously, all files were read using the "
993993
"default encoding for :func:`open`."
994-
msgstr ""
994+
msgstr "增加了 *encoding* 形参。 在之前版本中,所有文件都将使用 :func:`open` 的默认编码格式来读取。"
995995

996996
#: ../../library/configparser.rst:1052
997997
msgid "The *filenames* parameter accepts a :term:`path-like object`."
@@ -1306,7 +1306,7 @@ msgstr ""
13061306
msgid ""
13071307
"Added the optional *source* and *lineno* attributes and parameters to "
13081308
":meth:`!__init__`."
1309-
msgstr ""
1309+
msgstr "向 :meth:`!__init__` 添加了可选的 *source* 和 *lineno* 属性和形参。"
13101310

13111311
#: ../../library/configparser.rst:1301
13121312
msgid ""

library/datetime.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ msgstr "``fold in [0, 1]``."
12201220
#: ../../library/datetime.rst:859 ../../library/datetime.rst:1255
12211221
#: ../../library/datetime.rst:1833
12221222
msgid "Added the *fold* parameter."
1223-
msgstr ""
1223+
msgstr "增加了 *fold* 形参。"
12241224

12251225
#: ../../library/datetime.rst:866
12261226
msgid "Return the current local datetime, with :attr:`.tzinfo` ``None``."
@@ -2073,7 +2073,7 @@ msgstr "对于无效的 *timespec* 参数将引发 :exc:`ValueError`::"
20732073

20742074
#: ../../library/datetime.rst:1499 ../../library/datetime.rst:1877
20752075
msgid "Added the *timespec* parameter."
2076-
msgstr ""
2076+
msgstr "增加了 *timespec* 形参。"
20772077

20782078
#: ../../library/datetime.rst:1505
20792079
msgid ""

library/dbm.po

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Zombie110year <[email protected]>, 2021
99
# walkinrain <[email protected]>, 2021
1010
# ppcfish <[email protected]>, 2021
11-
# Freesand Leo <[email protected]>, 2023
11+
# Freesand Leo <[email protected]>, 2024
1212
#
1313
#, fuzzy
1414
msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717
"Report-Msgid-Bugs-To: \n"
1818
"POT-Creation-Date: 2024-01-26 14:13+0000\n"
1919
"PO-Revision-Date: 2021-06-28 01:04+0000\n"
20-
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
20+
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
2121
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2222
"MIME-Version: 1.0\n"
2323
"Content-Type: text/plain; charset=UTF-8\n"
@@ -65,27 +65,27 @@ msgstr ""
6565

6666
#: ../../library/dbm.rst:31
6767
msgid "Return one of the following values:"
68-
msgstr ""
68+
msgstr "返回下列值中的一个:"
6969

7070
#: ../../library/dbm.rst:33
7171
msgid ""
7272
"``None`` if the file can't be opened because it's unreadable or doesn't "
7373
"exist"
74-
msgstr ""
74+
msgstr "如果文件因其不可读或不存在而无法打开则返回 ``None``"
7575

7676
#: ../../library/dbm.rst:34
7777
msgid "the empty string (``''``) if the file's format can't be guessed"
78-
msgstr ""
78+
msgstr "如果文件格式无法猜测则返回空字符串 (``''``)"
7979

8080
#: ../../library/dbm.rst:35
8181
msgid ""
8282
"a string containing the required module name, such as ``'dbm.ndbm'`` or "
8383
"``'dbm.gnu'``"
84-
msgstr ""
84+
msgstr "包含所需模块名称的字符串,如 ``'dbm.ndbm'`` 或 ``'dbm.gnu'``"
8585

8686
#: ../../library/dbm.rst:37
8787
msgid "*filename* accepts a :term:`path-like object`."
88-
msgstr ""
88+
msgstr "*filename* 接受一个 :term:`path-like object`。"
8989

9090
#: ../../library/dbm.rst:61
9191
msgid "Open the database file *file* and return a corresponding object."
@@ -114,27 +114,27 @@ msgstr "含意"
114114

115115
#: ../../library/dbm.rst:1
116116
msgid "``'r'`` (default)"
117-
msgstr ""
117+
msgstr "``'r'`` (默认)"
118118

119119
#: ../../library/dbm.rst:1
120120
msgid "|flag_r|"
121-
msgstr ""
121+
msgstr "|flag_r|"
122122

123123
#: ../../library/dbm.rst:1
124124
msgid "``'w'``"
125125
msgstr "``'w'``"
126126

127127
#: ../../library/dbm.rst:1
128128
msgid "|flag_w|"
129-
msgstr ""
129+
msgstr "|flag_w|"
130130

131131
#: ../../library/dbm.rst:1
132132
msgid "``'c'``"
133133
msgstr "``'c'``"
134134

135135
#: ../../library/dbm.rst:1
136136
msgid "|flag_c|"
137-
msgstr ""
137+
msgstr "|flag_c|"
138138

139139
#: ../../library/dbm.rst:1
140140
msgid "``'n'``"
@@ -156,7 +156,7 @@ msgstr ""
156156

157157
#: ../../library/dbm.rst:81
158158
msgid "*file* accepts a :term:`path-like object`."
159-
msgstr ""
159+
msgstr "*file* 接受一个 :term:`path-like object`。"
160160

161161
#: ../../library/dbm.rst:85
162162
msgid ""
@@ -165,12 +165,15 @@ msgid ""
165165
"retrieved, and deleted, and the :keyword:`in` operator and the :meth:`!keys`"
166166
" method are available, as well as :meth:`!get` and :meth:`!setdefault`."
167167
msgstr ""
168+
"The object returned by :func:`open` 所返回的对象支持与 :class:`dict` "
169+
"相同的基本功能;可以存储、获取和删除键及其对应的值,并可使用 :keyword:`in` 运算符和 :meth:`!keys` 方法,以及 "
170+
":meth:`!get` 和 :meth:`!setdefault`。"
168171

169172
#: ../../library/dbm.rst:90
170173
msgid ""
171174
":meth:`!get` and :meth:`!setdefault` are now available in all database "
172175
"modules."
173-
msgstr ""
176+
msgstr "现在 :meth:`!get` 和 :meth:`!setdefault` 在所有数据库模块中均可用。"
174177

175178
#: ../../library/dbm.rst:93
176179
msgid ""
@@ -183,7 +186,7 @@ msgid ""
183186
"Key and values are always stored as :class:`bytes`. This means that when "
184187
"strings are used they are implicitly converted to the default encoding "
185188
"before being stored."
186-
msgstr ""
189+
msgstr "键和值总是被存储为 :class:`bytes`。 这意味着当使用字符串时它们会在被存储之前隐式地转换至默认编码格式。"
187190

188191
#: ../../library/dbm.rst:101
189192
msgid ""

library/difflib.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# shiyu Peng <[email protected]>, 2021
99
# ppcfish <[email protected]>, 2021
1010
# jaystone776 <[email protected]>, 2021
11-
# Freesand Leo <[email protected]>, 2023
11+
# Freesand Leo <[email protected]>, 2024
1212
#
1313
#, fuzzy
1414
msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717
"Report-Msgid-Bugs-To: \n"
1818
"POT-Creation-Date: 2024-01-26 14:13+0000\n"
1919
"PO-Revision-Date: 2021-06-28 01:04+0000\n"
20-
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
20+
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
2121
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2222
"MIME-Version: 1.0\n"
2323
"Content-Type: text/plain; charset=UTF-8\n"
@@ -95,7 +95,7 @@ msgstr ""
9595

9696
#: ../../library/difflib.rst:55 ../../library/difflib.rst:386
9797
msgid "Added the *autojunk* parameter."
98-
msgstr ""
98+
msgstr "增加了 *autojunk* 形参。"
9999

100100
#: ../../library/difflib.rst:61
101101
msgid ""

0 commit comments

Comments
 (0)