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

Skip to content

Commit 2374d16

Browse files
[po] auto sync
1 parent 7f9fc52 commit 2374d16

3 files changed

Lines changed: 29 additions & 20 deletions

File tree

faq/programming.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
# eric R <[email protected]>, 2018
99
# Alpha Du <[email protected]>, 2019
1010
# ppcfish <[email protected]>, 2019
11-
# Freesand Leo <[email protected]>, 2021
1211
# Jiuh-star <[email protected]>, 2021
1312
# Dai Xu <[email protected]>, 2021
1413
# WH-2099 <[email protected]>, 2021
14+
# Freesand Leo <[email protected]>, 2022
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2021-05-23 06:25+0000\n"
2222
"PO-Revision-Date: 2017-02-16 17:43+0000\n"
23-
"Last-Translator: WH-2099 <wh2099@outlook.com>, 2021\n"
23+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2022\n"
2424
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -2242,8 +2242,9 @@ msgid ""
22422242
"particular ``python`` binary that created it. (See :pep:`3147` for "
22432243
"details.)"
22442244
msgstr ""
2245-
"当首次导入模块时(或当前已编译文件创建之后源文件发生了改动),在``.py``文件所在目录的``__pycache__``子目录下会创建一个包含已编译代码的``.pyc``文件。该``.pyc``文件的名称开头部分将与``.py``文件名相同,并以``.pyc``为后缀,中间部分则依据创建它的``python``版本而各不相同。(详见"
2246-
" :pep:`3147`。)"
2245+
"当首次导入模块时(或当前已编译文件创建之后源文件发生了改动),在 ``.py`` 文件所在目录的 ``__pycache__`` "
2246+
"子目录下会创建一个包含已编译代码的 ``.pyc`` 文件。该 ``.pyc`` 文件的名称开头部分将与 ``.py`` 文件名相同,并以 "
2247+
"``.pyc`` 为后缀,中间部分则依据创建它的 ``python`` 版本而各不相同。(详见 :pep:`3147`。)"
22472248

22482249
#: ../../faq/programming.rst:1845
22492250
msgid ""

library/inspect.po

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
# ruoyu zhang <[email protected]>, 2019
1111
# Makdon <[email protected]>, 2019
1212
# ppcfish <[email protected]>, 2019
13-
# Freesand Leo <[email protected]>, 2020
1413
# Jiuh-star <[email protected]>, 2021
14+
# ww song <[email protected]>, 2022
15+
# Freesand Leo <[email protected]>, 2022
1516
#
1617
#, fuzzy
1718
msgid ""
@@ -20,7 +21,7 @@ msgstr ""
2021
"Report-Msgid-Bugs-To: \n"
2122
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
2223
"PO-Revision-Date: 2017-02-16 23:15+0000\n"
23-
"Last-Translator: Jiuh-star <jiuh.star@gmail.com>, 2021\n"
24+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2022\n"
2425
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2526
"MIME-Version: 1.0\n"
2627
"Content-Type: text/plain; charset=UTF-8\n"
@@ -199,15 +200,15 @@ msgstr "__kwdefaults__"
199200

200201
#: ../../library/inspect.rst:91
201202
msgid "mapping of any default values for keyword-only parameters"
202-
msgstr ""
203+
msgstr "保存仅关键字参数的所有默认值的映射"
203204

204205
#: ../../library/inspect.rst:95
205206
msgid "__globals__"
206207
msgstr "__globals__"
207208

208209
#: ../../library/inspect.rst:95
209210
msgid "global namespace in which this function was defined"
210-
msgstr ""
211+
msgstr "包含此函数定义的全局命名空间"
211212

212213
#: ../../library/inspect.rst:98
213214
msgid "__annotations__"
@@ -217,11 +218,11 @@ msgstr "__annotations__"
217218
msgid ""
218219
"mapping of parameters names to annotations; ``\"return\"`` key is reserved "
219220
"for return annotations."
220-
msgstr ""
221+
msgstr "参数名称到注解的映射;保留键 ``\"return\"`` 用于返回值注解。"
221222

222223
#: ../../library/inspect.rst:104
223224
msgid "name of module in which this function was defined"
224-
msgstr ""
225+
msgstr "此函数定义所在的模块名称"
225226

226227
#: ../../library/inspect.rst:107
227228
msgid "traceback"
@@ -241,23 +242,23 @@ msgstr "tb_lasti"
241242

242243
#: ../../library/inspect.rst:110 ../../library/inspect.rst:132
243244
msgid "index of last attempted instruction in bytecode"
244-
msgstr ""
245+
msgstr "在字节码中最后尝试的指令的索引"
245246

246247
#: ../../library/inspect.rst:113
247248
msgid "tb_lineno"
248249
msgstr "tb_lineno"
249250

250251
#: ../../library/inspect.rst:113 ../../library/inspect.rst:135
251252
msgid "current line number in Python source code"
252-
msgstr ""
253+
msgstr "当前行在Python源代码中的行号"
253254

254255
#: ../../library/inspect.rst:116
255256
msgid "tb_next"
256257
msgstr "tb_next"
257258

258259
#: ../../library/inspect.rst:116
259260
msgid "next inner traceback object (called by this level)"
260-
msgstr ""
261+
msgstr "下一个内部回溯对象(由本层调用)"
261262

262263
#: ../../library/inspect.rst:120 ../../library/inspect.rst:204
263264
#: ../../library/inspect.rst:221
@@ -270,31 +271,31 @@ msgstr "f_back"
270271

271272
#: ../../library/inspect.rst:120
272273
msgid "next outer frame object (this frame's caller)"
273-
msgstr ""
274+
msgstr "下一个外部帧对象(此帧的调用者)"
274275

275276
#: ../../library/inspect.rst:123
276277
msgid "f_builtins"
277278
msgstr "f_builtins"
278279

279280
#: ../../library/inspect.rst:123
280281
msgid "builtins namespace seen by this frame"
281-
msgstr ""
282+
msgstr "此帧所看到的buildins命名空间"
282283

283284
#: ../../library/inspect.rst:126
284285
msgid "f_code"
285286
msgstr "f_code"
286287

287288
#: ../../library/inspect.rst:126
288289
msgid "code object being executed in this frame"
289-
msgstr ""
290+
msgstr "在此帧中执行的代码对象"
290291

291292
#: ../../library/inspect.rst:129
292293
msgid "f_globals"
293294
msgstr "f_globals"
294295

295296
#: ../../library/inspect.rst:129
296297
msgid "global namespace seen by this frame"
297-
msgstr ""
298+
msgstr "此帧所看到的全局命名空间"
298299

299300
#: ../../library/inspect.rst:132
300301
msgid "f_lasti"
@@ -310,7 +311,7 @@ msgstr "f_locals"
310311

311312
#: ../../library/inspect.rst:138
312313
msgid "local namespace seen by this frame"
313-
msgstr ""
314+
msgstr "此帧所看到的局部命名空间"
314315

315316
#: ../../library/inspect.rst:141
316317
msgid "f_trace"
@@ -333,7 +334,7 @@ msgstr "co_argcount"
333334
msgid ""
334335
"number of arguments (not including keyword only arguments, \\* or \\*\\* "
335336
"args)"
336-
msgstr ""
337+
msgstr "参数数量(不包括仅关键字参数、\\* 或 \\*\\* 参数)"
337338

338339
#: ../../library/inspect.rst:149
339340
msgid "co_code"
@@ -373,7 +374,7 @@ msgstr "co_firstlineno"
373374

374375
#: ../../library/inspect.rst:163
375376
msgid "number of first line in Python source code"
376-
msgstr ""
377+
msgstr "第一行在Python源码的行号"
377378

378379
#: ../../library/inspect.rst:166
379380
msgid "co_flags"

library/unittest.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3019,32 +3019,39 @@ msgid ""
30193019
" first element being the program name. If not specified or ``None``, the "
30203020
"values of :data:`sys.argv` are used."
30213021
msgstr ""
3022+
"*argv* 参数可以是传给程序的选项列表,其中第一个元素是程序名。 如未指定或为 ``None``,则会使用 :data:`sys.argv` 的值。"
30223023

30233024
#: ../../library/unittest.rst:2213
30243025
msgid ""
30253026
"The *testRunner* argument can either be a test runner class or an already "
30263027
"created instance of it. By default ``main`` calls :func:`sys.exit` with an "
30273028
"exit code indicating success or failure of the tests run."
30283029
msgstr ""
3030+
"*testRunner* 参数可以是测试运行器类或是其已创建的实例。 在默认情况下 ``main`` 会调用 :func:`sys.exit` "
3031+
"并附带一个退出码来指明测试运行是成功还是失败。"
30293032

30303033
#: ../../library/unittest.rst:2217
30313034
msgid ""
30323035
"The *testLoader* argument has to be a :class:`TestLoader` instance, and "
30333036
"defaults to :data:`defaultTestLoader`."
30343037
msgstr ""
3038+
"*testLoader* 参数必须是一个 :class:`TestLoader` 实例,其默认值为 :data:`defaultTestLoader`。"
30353039

30363040
#: ../../library/unittest.rst:2220
30373041
msgid ""
30383042
"``main`` supports being used from the interactive interpreter by passing in "
30393043
"the argument ``exit=False``. This displays the result on standard output "
30403044
"without calling :func:`sys.exit`::"
30413045
msgstr ""
3046+
"``main`` 支持通过传入 ``exit=False`` 参数以便在交互式解释器中使用。 这将在标准输出中显示结果而不调用 "
3047+
":func:`sys.exit`::"
30423048

30433049
#: ../../library/unittest.rst:2227
30443050
msgid ""
30453051
"The *failfast*, *catchbreak* and *buffer* parameters have the same effect as"
30463052
" the same-name `command-line options`_."
30473053
msgstr ""
3054+
"*failfast*, *catchbreak* 和 *buffer* 形参的效果与同名的 `command-line options`_ 一致。"
30483055

30493056
#: ../../library/unittest.rst:2230
30503057
msgid ""

0 commit comments

Comments
 (0)