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

Skip to content

Commit a0677d8

Browse files
[po] auto sync
1 parent 474fd3a commit a0677d8

8 files changed

Lines changed: 26 additions & 15 deletions

File tree

c-api/buffer.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Jiuh-star <[email protected]>, 2021
1919
# Dankinder <[email protected]>, 2021
2020
# helloworldSB <[email protected]>, 2021
21-
# jing li <[email protected]>, 2021
21+
# Jing Li <[email protected]>, 2021
2222
# Dai Xu <[email protected]>, 2021
2323
# Freesand Leo <[email protected]>, 2021
2424
#

c-api/init.po

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
# Trim21 <[email protected]>, 2020
1010
# ppcfish <[email protected]>, 2020
1111
# Edward Ji <[email protected]>, 2021
12-
# Freesand Leo <[email protected]>, 2021
12+
# Jing Li <[email protected]>, 2022
13+
# Freesand Leo <[email protected]>, 2022
1314
#
1415
#, fuzzy
1516
msgid ""
@@ -18,7 +19,7 @@ msgstr ""
1819
"Report-Msgid-Bugs-To: \n"
1920
"POT-Creation-Date: 2021-01-01 16:06+0000\n"
2021
"PO-Revision-Date: 2020-05-30 11:49+0000\n"
21-
"Last-Translator: Freesand Leo <[email protected]>, 2021\n"
22+
"Last-Translator: Freesand Leo <[email protected]>, 2022\n"
2223
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2324
"MIME-Version: 1.0\n"
2425
"Content-Type: text/plain; charset=UTF-8\n"
@@ -224,25 +225,25 @@ msgstr "由 :option:`-b` 选项设置。"
224225
msgid ""
225226
"Turn on parser debugging output (for expert only, depending on compilation "
226227
"options)."
227-
msgstr ""
228+
msgstr "开启解析器调试输出(限专家使用,依赖于编译选项)。"
228229

229230
#: ../../c-api/init.rst:97
230231
msgid ""
231232
"Set by the :option:`-d` option and the :envvar:`PYTHONDEBUG` environment "
232233
"variable."
233-
msgstr ""
234+
msgstr "由 :option:`-d` 选项和 :envvar:`PYTHONDEBUG` 环境变量设置。"
234235

235236
#: ../../c-api/init.rst:102
236237
msgid ""
237238
"If set to non-zero, Python won't try to write ``.pyc`` files on the import "
238239
"of source modules."
239-
msgstr ""
240+
msgstr "如果设置为非零, Python 不会在导入源代码时尝试写入 ``.pyc`` 文件"
240241

241242
#: ../../c-api/init.rst:105
242243
msgid ""
243244
"Set by the :option:`-B` option and the :envvar:`PYTHONDONTWRITEBYTECODE` "
244245
"environment variable."
245-
msgstr ""
246+
msgstr "由 :option:`-B` 选项和 :envvar:`PYTHONDONTWRITEBYTECODE` 环境变量设置。"
246247

247248
#: ../../c-api/init.rst:110
248249
msgid ""

library/ossaudiodev.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Translators:
77
# Zombie110year <[email protected]>, 2020
88
# ppcfish <[email protected]>, 2020
9-
# jing li <[email protected]>, 2021
9+
# Jing Li <[email protected]>, 2021
1010
# Freesand Leo <[email protected]>, 2022
1111
#
1212
#, fuzzy

library/tkinter.tix.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# jing li <[email protected]>, 2021
7+
# Jing Li <[email protected]>, 2021
88
# Freesand Leo <[email protected]>, 2022
99
#
1010
#, fuzzy

library/unittest.po

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3321,12 +3321,14 @@ msgid ""
33213321
" to :func:`tearDownModule` then you can call :func:`doModuleCleanups` "
33223322
"yourself."
33233323
msgstr ""
3324+
"它将负责调用由 :func:`addCleanupModule` 添加的所有清理函数。 如果你需要在 :func:`tearDownModule` "
3325+
"*之前* 调用清理函数则可以自行调用 :func:`doModuleCleanups`。"
33243326

33253327
#: ../../library/unittest.rst:2423
33263328
msgid ""
33273329
":func:`doModuleCleanups` pops methods off the stack of cleanup functions one"
33283330
" at a time, so it can be called at any time."
3329-
msgstr ""
3331+
msgstr ":func:`doModuleCleanups` 每次会弹出清理函数栈中的一个方法,因此它可以在任何时候被调用。"
33303332

33313333
#: ../../library/unittest.rst:2429
33323334
msgid "Signal Handling"
@@ -3341,6 +3343,10 @@ msgid ""
33413343
"complete, and the test run will then end and report all the results so far. "
33423344
"A second control-c will raise a :exc:`KeyboardInterrupt` in the usual way."
33433345
msgstr ""
3346+
"unittest 的 :option:`-c/--catch <unittest -c>` 命令行选项,加上 "
3347+
":func:`unittest.main()` 的 ``catchbreak`` 形参,提供了在测试运行期间处理 control-C 的更友好方式。 "
3348+
"在捕获中断行为被启用时 control-C 将允许当前运行的测试能够完成,而测试运行将随后结束并报告已有的全部结果。 第二个 control-C "
3349+
"将会正常地引发 :exc:`KeyboardInterrupt`。"
33443350

33453351
#: ../../library/unittest.rst:2440
33463352
msgid ""
@@ -3353,12 +3359,16 @@ msgid ""
33533359
" and delegates to it. For individual tests that need ``unittest`` control-c "
33543360
"handling disabled the :func:`removeHandler` decorator can be used."
33553361
msgstr ""
3362+
"处理 control-C 信号的句柄会尝试与安装了自定义 :const:`signal.SIGINT` 处理句柄的测试代码保持兼容。 如果是 "
3363+
"``unittest`` 处理句柄而 *不是* 已安装的 :const:`signal.SIGINT` "
3364+
"处理句柄被调用,即它被系统在测试的下层替换并委托处理,则它会调用默认的处理句柄。 这通常会是替换了已安装处理句柄并委托处理的代码所预期的行为。 "
3365+
"对于需要禁用 ``unittest`` control-C 处理的单个测试则可以使用 :func:`removeHandler` 装饰器。"
33563366

33573367
#: ../../library/unittest.rst:2449
33583368
msgid ""
33593369
"There are a few utility functions for framework authors to enable control-c "
33603370
"handling functionality within test frameworks."
3361-
msgstr ""
3371+
msgstr "还有一些工具函数让框架开发者可以在测试框架内部启用 control-C 处理功能。"
33623372

33633373
#: ../../library/unittest.rst:2454
33643374
msgid ""

reference/datamodel.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# WH-2099 <[email protected]>, 2020
1616
# Woko <[email protected]>, 2020
1717
# Freesand Leo <[email protected]>, 2021
18-
# jing li <[email protected]>, 2021
18+
# Jing Li <[email protected]>, 2021
1919
#
2020
#, fuzzy
2121
msgid ""
@@ -24,7 +24,7 @@ msgstr ""
2424
"Report-Msgid-Bugs-To: \n"
2525
"POT-Creation-Date: 2021-05-03 17:16+0000\n"
2626
"PO-Revision-Date: 2020-05-30 12:15+0000\n"
27-
"Last-Translator: jing li <[email protected]>, 2021\n"
27+
"Last-Translator: Jing Li <[email protected]>, 2021\n"
2828
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2929
"MIME-Version: 1.0\n"
3030
"Content-Type: text/plain; charset=UTF-8\n"

using/windows.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Shengjing Zhu <[email protected]>, 2020
99
# Alpha Du <[email protected]>, 2020
1010
# ppcfish <[email protected]>, 2020
11-
# jing li <[email protected]>, 2021
11+
# Jing Li <[email protected]>, 2021
1212
# Freesand Leo <[email protected]>, 2022
1313
#
1414
#, fuzzy

whatsnew/changelog.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Claude Manchester <[email protected]>, 2021
2020
# Jiuh-star <[email protected]>, 2021
2121
# Dai Xu <[email protected]>, 2021
22-
# jing li <[email protected]>, 2021
22+
# Jing Li <[email protected]>, 2021
2323
# isaced <[email protected]>, 2021
2424
# Freesand Leo <[email protected]>, 2021
2525
# ppcfish <[email protected]>, 2021

0 commit comments

Comments
 (0)