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

Skip to content

Commit e51999b

Browse files
[po] auto sync
1 parent 44febb8 commit e51999b

9 files changed

Lines changed: 45 additions & 29 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "94.71%", "updated_at": "2024-03-15T14:59:27Z"}
1+
{"translation": "94.76%", "updated_at": "2024-03-15T15:56:49Z"}

glossary.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1703,6 +1703,9 @@ msgid ""
17031703
":func:`collections.namedtuple`. The latter techniques also add some extra "
17041704
"methods that may not be found in hand-written or built-in named tuples."
17051705
msgstr ""
1706+
"有些具名元组是内置类型(比如上面的例子)。 此外,具名元组还可通过常规类定义从 :class:`tuple` 继承并定义指定名称的字段的方式来创建。 "
1707+
"这样的类可以手工编号,或者也可以通过继承 :class:`typing.NamedTuple`,或者使用工厂函数 "
1708+
":func:`collections.namedtuple` 来创建。 后一种方式还会添加一些手工编写或内置的具名元组所没有的额外方法。"
17061709

17071710
#: ../../glossary.rst:848
17081711
msgid "namespace"

howto/logging-cookbook.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2189,6 +2189,8 @@ msgid ""
21892189
"earlier versions of Qt. Please refer to the comments in the code snippet for"
21902190
" more detailed information."
21912191
msgstr ""
2192+
"以下代码应当适用于最新版的 ``PySide6``, ``PyQt6``, ``PySide2`` 或 ``PyQt5``。 "
2193+
"你也可以将此方式适配到更早的 Qt 版本。 请参阅代码片段中的注释来获取更详细的信息。"
21922194

21932195
#: ../../howto/logging-cookbook.rst:3658
21942196
msgid "Logging to syslog with RFC5424 support"

library/itertools.po

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ msgstr "start, start+step, start+2*step, ..."
105105

106106
#: ../../library/itertools.rst:44
107107
msgid "``count(10) → 10 11 12 13 14 ...``"
108-
msgstr ""
108+
msgstr "``count(10) → 10 11 12 13 14 ...``"
109109

110110
#: ../../library/itertools.rst:45
111111
msgid ":func:`cycle`"
@@ -121,7 +121,7 @@ msgstr "p0, p1, ... plast, p0, p1, ..."
121121

122122
#: ../../library/itertools.rst:45
123123
msgid "``cycle('ABCD') → A B C D A B C D ...``"
124-
msgstr ""
124+
msgstr "``cycle('ABCD') → A B C D A B C D ...``"
125125

126126
#: ../../library/itertools.rst:46
127127
msgid ":func:`repeat`"
@@ -137,7 +137,7 @@ msgstr "elem, elem, elem, ... 重复无限次或n次"
137137

138138
#: ../../library/itertools.rst:46
139139
msgid "``repeat(10, 3) → 10 10 10``"
140-
msgstr ""
140+
msgstr "``repeat(10, 3) → 10 10 10``"
141141

142142
#: ../../library/itertools.rst:49
143143
msgid "**Iterators terminating on the shortest input sequence:**"
@@ -157,7 +157,7 @@ msgstr "p0, p0+p1, p0+p1+p2, ..."
157157

158158
#: ../../library/itertools.rst:54
159159
msgid "``accumulate([1,2,3,4,5]) → 1 3 6 10 15``"
160-
msgstr ""
160+
msgstr "``accumulate([1,2,3,4,5]) → 1 3 6 10 15``"
161161

162162
#: ../../library/itertools.rst:55
163163
msgid ":func:`batched`"
@@ -173,7 +173,7 @@ msgstr "(p0, p1, ..., p_n-1), ..."
173173

174174
#: ../../library/itertools.rst:55
175175
msgid "``batched('ABCDEFG', n=3) → ABC DEF G``"
176-
msgstr ""
176+
msgstr "``batched('ABCDEFG', n=3) → ABC DEF G``"
177177

178178
#: ../../library/itertools.rst:56
179179
msgid ":func:`chain`"
@@ -189,7 +189,7 @@ msgstr "p0, p1, ... plast, q0, q1, ..."
189189

190190
#: ../../library/itertools.rst:56
191191
msgid "``chain('ABC', 'DEF') → A B C D E F``"
192-
msgstr ""
192+
msgstr "``chain('ABC', 'DEF') → A B C D E F``"
193193

194194
#: ../../library/itertools.rst:57
195195
msgid ":func:`chain.from_iterable`"
@@ -201,7 +201,7 @@ msgstr "iterable -- 可迭代对象"
201201

202202
#: ../../library/itertools.rst:57
203203
msgid "``chain.from_iterable(['ABC', 'DEF']) → A B C D E F``"
204-
msgstr ""
204+
msgstr "``chain.from_iterable(['ABC', 'DEF']) → A B C D E F``"
205205

206206
#: ../../library/itertools.rst:58
207207
msgid ":func:`compress`"
@@ -217,7 +217,7 @@ msgstr "(d[0] if s[0]), (d[1] if s[1]), ..."
217217

218218
#: ../../library/itertools.rst:58
219219
msgid "``compress('ABCDEF', [1,0,1,0,1,1]) → A C E F``"
220-
msgstr ""
220+
msgstr "``compress('ABCDEF', [1,0,1,0,1,1]) → A C E F``"
221221

222222
#: ../../library/itertools.rst:59
223223
msgid ":func:`dropwhile`"
@@ -234,7 +234,7 @@ msgstr "seq[n], seq[n+1], 从 predicate 未通过时开始"
234234

235235
#: ../../library/itertools.rst:59
236236
msgid "``dropwhile(lambda x: x<5, [1,4,6,4,1]) → 6 4 1``"
237-
msgstr ""
237+
msgstr "``dropwhile(lambda x: x<5, [1,4,6,4,1]) → 6 4 1``"
238238

239239
#: ../../library/itertools.rst:60
240240
msgid ":func:`filterfalse`"
@@ -246,7 +246,7 @@ msgstr "predicate(elem) 未通过的 seq 元素"
246246

247247
#: ../../library/itertools.rst:60
248248
msgid "``filterfalse(lambda x: x%2, range(10)) → 0 2 4 6 8``"
249-
msgstr ""
249+
msgstr "``filterfalse(lambda x: x%2, range(10)) → 0 2 4 6 8``"
250250

251251
#: ../../library/itertools.rst:61
252252
msgid ":func:`groupby`"
@@ -274,7 +274,7 @@ msgstr "seq[start:stop:step]中的元素"
274274

275275
#: ../../library/itertools.rst:62
276276
msgid "``islice('ABCDEFG', 2, None) → C D E F G``"
277-
msgstr ""
277+
msgstr "``islice('ABCDEFG', 2, None) → C D E F G``"
278278

279279
#: ../../library/itertools.rst:63
280280
msgid ":func:`pairwise`"
@@ -286,7 +286,7 @@ msgstr "(p[0], p[1]), (p[1], p[2])"
286286

287287
#: ../../library/itertools.rst:63
288288
msgid "``pairwise('ABCDEFG') → AB BC CD DE EF FG``"
289-
msgstr ""
289+
msgstr "``pairwise('ABCDEFG') → AB BC CD DE EF FG``"
290290

291291
#: ../../library/itertools.rst:64
292292
msgid ":func:`starmap`"
@@ -302,7 +302,7 @@ msgstr "func(\\*seq[0]), func(\\*seq[1]), ..."
302302

303303
#: ../../library/itertools.rst:64
304304
msgid "``starmap(pow, [(2,5), (3,2), (10,3)]) → 32 9 1000``"
305-
msgstr ""
305+
msgstr "``starmap(pow, [(2,5), (3,2), (10,3)]) → 32 9 1000``"
306306

307307
#: ../../library/itertools.rst:65
308308
msgid ":func:`takewhile`"
@@ -314,7 +314,7 @@ msgstr "seq[0], seq[1], 直到 predicate 未通过"
314314

315315
#: ../../library/itertools.rst:65
316316
msgid "``takewhile(lambda x: x<5, [1,4,6,4,1]) → 1 4``"
317-
msgstr ""
317+
msgstr "``takewhile(lambda x: x<5, [1,4,6,4,1]) → 1 4``"
318318

319319
#: ../../library/itertools.rst:66
320320
msgid ":func:`tee`"
@@ -338,7 +338,7 @@ msgstr "(p[0], q[0]), (p[1], q[1]), ..."
338338

339339
#: ../../library/itertools.rst:67
340340
msgid "``zip_longest('ABCD', 'xy', fillvalue='-') → Ax By C- D-``"
341-
msgstr ""
341+
msgstr "``zip_longest('ABCD', 'xy', fillvalue='-') → Ax By C- D-``"
342342

343343
#: ../../library/itertools.rst:70
344344
msgid "**Combinatoric iterators:**"

library/logging.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# Bryan不可思议, 2023
1414
# Rafael Fontenelle <[email protected]>, 2023
1515
# Yan Gao <[email protected]>, 2023
16-
# Freesand Leo <[email protected]>, 2024
1716
# Alpha Du <[email protected]>, 2024
17+
# Freesand Leo <[email protected]>, 2024
1818
#
1919
#, fuzzy
2020
msgid ""
@@ -23,7 +23,7 @@ msgstr ""
2323
"Report-Msgid-Bugs-To: \n"
2424
"POT-Creation-Date: 2024-03-15 14:13+0000\n"
2525
"PO-Revision-Date: 2021-06-28 01:09+0000\n"
26-
"Last-Translator: Alpha Du <alphanow@gmail.com>, 2024\n"
26+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
2727
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2828
"MIME-Version: 1.0\n"
2929
"Content-Type: text/plain; charset=UTF-8\n"
@@ -74,7 +74,7 @@ msgstr ""
7474

7575
#: ../../library/logging.rst:33
7676
msgid "Here's a simple example of idiomatic usage: ::"
77-
msgstr ""
77+
msgstr "这是一个惯例用法的简单示例: ::"
7878

7979
#: ../../library/logging.rst:58
8080
msgid "If you run *myapp.py*, you should see this in *myapp.log*:"
@@ -1930,7 +1930,7 @@ msgstr ""
19301930
msgid ""
19311931
"Logs a message with level *level* on the root logger. The arguments and "
19321932
"behavior are otherwise the same as for :func:`debug`."
1933-
msgstr ""
1933+
msgstr "在根日志记录器上记录一条 *level* 级别的消息。 其他参数与行为均与 :func:`debug` 相同。"
19341934

19351935
#: ../../library/logging.rst:1237
19361936
msgid ""

library/math.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# zc Jin <[email protected]>, 2021
1111
# ppcfish <[email protected]>, 2021
1212
# Alpha Du <[email protected]>, 2022
13-
# Freesand Leo <[email protected]>, 2023
13+
# Freesand Leo <[email protected]>, 2024
1414
#
1515
#, fuzzy
1616
msgid ""
@@ -19,7 +19,7 @@ msgstr ""
1919
"Report-Msgid-Bugs-To: \n"
2020
"POT-Creation-Date: 2024-03-15 14:13+0000\n"
2121
"PO-Revision-Date: 2021-06-28 01:09+0000\n"
22-
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
22+
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
2323
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2424
"MIME-Version: 1.0\n"
2525
"Content-Type: text/plain; charset=UTF-8\n"
@@ -762,6 +762,8 @@ msgid ""
762762
"functions such as the `cumulative standard normal distribution "
763763
"<https://en.wikipedia.org/wiki/Cumulative_distribution_function>`_::"
764764
msgstr ""
765+
"可以使用 :func:`erf` 函数来计算传统的统计函数如 `累积标准正态分布 "
766+
"<https://en.wikipedia.org/wiki/Cumulative_distribution_function>`_::"
765767

766768
#: ../../library/math.rst:606
767769
msgid ""

library/venv.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# ww song <[email protected]>, 2021
99
# Alpha Du <[email protected]>, 2021
1010
# Trim21 <[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-03-15 14:13+0000\n"
1919
"PO-Revision-Date: 2021-06-28 01:17+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"
@@ -103,6 +103,9 @@ msgid ""
103103
"<https://packaging.python.org/guides/installing-using-pip-and-virtual-"
104104
"environments/#create-and-use-virtual-environments>`__"
105105
msgstr ""
106+
"`Python Packaging User Guide: Creating and using virtual environments "
107+
"<https://packaging.python.org/guides/installing-using-pip-and-virtual-"
108+
"environments/#create-and-use-virtual-environments>`__"
106109

107110
#: ../../includes/wasm-notavail.rst:3
108111
msgid ":ref:`Availability <availability>`: not Emscripten, not WASI."

using/cmdline.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ msgstr ""
375375

376376
#: ../../using/cmdline.rst:250
377377
msgid "Affects also comparisons of :class:`bytes` with :class:`int`."
378-
msgstr ""
378+
msgstr "也会影响 :class:`bytes` 与 :class:`int` 的比较。"
379379

380380
#: ../../using/cmdline.rst:255
381381
msgid ""
@@ -566,7 +566,7 @@ msgstr ""
566566

567567
#: ../../using/cmdline.rst:390
568568
msgid "See also :envvar:`PYTHONNOUSERSITE`."
569-
msgstr ""
569+
msgstr "另请参阅 :envvar:`PYTHONNOUSERSITE`。"
570570

571571
#: ../../using/cmdline.rst:394 ../../using/cmdline.rst:802
572572
#: ../../using/cmdline.rst:814
@@ -780,6 +780,8 @@ msgid ""
780780
"additional runtime checks that are too expensive to be enabled by default. "
781781
"See also :envvar:`PYTHONDEVMODE`."
782782
msgstr ""
783+
"``-X dev``: 启用 :ref:`Python 开发模式 <devmode>`,引入在默认情况下启用会导致过大开销的运行时检查。 另请参阅 "
784+
":envvar:`PYTHONDEVMODE`。"
783785

784786
#: ../../using/cmdline.rst:524
785787
msgid ""

whatsnew/2.7.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.12\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2024-03-08 21:29+0000\n"
19+
"POT-Creation-Date: 2024-03-15 14:13+0000\n"
2020
"PO-Revision-Date: 2021-06-28 01:51+0000\n"
2121
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
2222
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -751,6 +751,8 @@ msgid ""
751751
"PEP written by Guido van Rossum. Implemented by Travis Oliphant, Antoine "
752752
"Pitrou and others. Backported to 2.7 by Antoine Pitrou; :issue:`2396`."
753753
msgstr ""
754+
"PEP 由 Guido van Rossum 撰写。 由 Travis Oliphant, Antoine Pitrou 等人实现。 由 Antoine"
755+
" Pitrou 向下移植到 2.7; :issue:`2396`。"
754756

755757
#: ../../whatsnew/2.7.rst:672
756758
msgid "Other Language Changes"
@@ -768,17 +770,19 @@ msgid ""
768770
"values. ``{}`` continues to represent an empty dictionary; use ``set()`` for"
769771
" an empty set."
770772
msgstr ""
773+
"已从 Python 3.x 向下移植了集合字面值语法。 使用花括号来标记可变集合的内容;集合与字典的区别在于它不包含冒号及映射的值。 ``{}`` "
774+
"仍然表示空字典;请使用 ``set()`` 来表示空集合。"
771775

772776
#: ../../whatsnew/2.7.rst:693
773777
msgid "Backported by Alexandre Vassalotti; :issue:`2335`."
774-
msgstr ""
778+
msgstr "由 Alexandre Vassalotti 向下移植; :issue:`2335`。"
775779

776780
#: ../../whatsnew/2.7.rst:695
777781
msgid ""
778782
"Dictionary and set comprehensions are another feature backported from 3.x, "
779783
"generalizing list/generator comprehensions to use the literal syntax for "
780784
"sets and dictionaries."
781-
msgstr ""
785+
msgstr "字典与集合推导式是另一个从 3.x 向下移植的特性,对列表/生成器推导式进行一般化以针对集合与字典使用字面值语法。"
782786

783787
#: ../../whatsnew/2.7.rst:707
784788
msgid "Backported by Alexandre Vassalotti; :issue:`2333`."

0 commit comments

Comments
 (0)