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

Skip to content

Commit 0fc8344

Browse files
[po] auto sync
1 parent 2a5ec84 commit 0fc8344

8 files changed

Lines changed: 63 additions & 50 deletions

File tree

c-api/init.po

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,8 @@ msgid ""
438438
"On Windows, changes the console mode from ``O_TEXT`` to ``O_BINARY``, which "
439439
"will also affect non-Python uses of the console using the C Runtime."
440440
msgstr ""
441+
"在 Windows 上,将控制台模式从 ``O_TEXT`` 改为 ``O_BINARY``,这还将影响使用 C 运行时的非 Python "
442+
"的控制台使用。"
441443

442444
#: ../../c-api/init.rst:263
443445
msgid ""
@@ -730,7 +732,7 @@ msgstr ""
730732

731733
#: ../../c-api/init.rst:554
732734
msgid "``'Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam'``"
733-
msgstr ""
735+
msgstr "``'Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam'``"
734736

735737
#: ../../c-api/init.rst:558
736738
msgid ""
@@ -839,7 +841,7 @@ msgstr ""
839841

840842
#: ../../c-api/init.rst:681
841843
msgid "Thread State and the Global Interpreter Lock"
842-
msgstr ""
844+
msgstr "线程状态和全局解释器锁"
843845

844846
#: ../../c-api/init.rst:688
845847
msgid ""
@@ -894,7 +896,7 @@ msgstr ""
894896

895897
#: ../../c-api/init.rst:740
896898
msgid "The block above expands to the following code::"
897-
msgstr ""
899+
msgstr "上面的代码块可扩展为下面的代码::"
898900

899901
#: ../../c-api/init.rst:752
900902
msgid ""
@@ -1041,7 +1043,7 @@ msgstr ""
10411043
#: ../../c-api/init.rst:884
10421044
msgid ""
10431045
"In Python 3.6 and older, this function created the GIL if it didn't exist."
1044-
msgstr ""
1046+
msgstr "在 Python 3.6 及更老的版本中,此函数会在 GIL 不存在时创建它。"
10451047

10461048
#: ../../c-api/init.rst:886
10471049
msgid "The function now does nothing."
@@ -1323,7 +1325,7 @@ msgstr ""
13231325

13241326
#: ../../c-api/init.rst:1146
13251327
msgid "Get the current interpreter."
1326-
msgstr ""
1328+
msgstr "获取当前解释器。"
13271329

13281330
#: ../../c-api/init.rst:1148
13291331
msgid ""
@@ -1366,7 +1368,7 @@ msgstr ""
13661368

13671369
#: ../../c-api/init.rst:1184
13681370
msgid "The function now takes a *tstate* parameter."
1369-
msgstr ""
1371+
msgstr "此函数现在可接受一个 *tstate* 形参。"
13701372

13711373
#: ../../c-api/init.rst:1189
13721374
msgid "Get the frame evaluation function."
@@ -1468,7 +1470,7 @@ msgstr ""
14681470

14691471
#: ../../c-api/init.rst:1297
14701472
msgid "Sub-interpreter support"
1471-
msgstr ""
1473+
msgstr "子解释器支持"
14721474

14731475
#: ../../c-api/init.rst:1299
14741476
msgid ""
@@ -1900,7 +1902,7 @@ msgstr ""
19001902

19011903
#: ../../c-api/init.rst:1651
19021904
msgid "Thread Local Storage Support"
1903-
msgstr ""
1905+
msgstr "线程本地存储支持"
19041906

19051907
#: ../../c-api/init.rst:1655
19061908
msgid ""

distutils/setupscript.po

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
# Translators:
77
# cdarlint <[email protected]>, 2021
88
# Zombie110year <[email protected]>, 2021
9-
# Freesand Leo <[email protected]>, 2021
109
# Alpha Du <[email protected]>, 2021
1110
# 叶浚安 <[email protected]>, 2021
1211
# ppcfish <[email protected]>, 2021
1312
# jaystone776 <[email protected]>, 2021
1413
# ww song <[email protected]>, 2022
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: 2022-06-16 06:28+0000\n"
2222
"PO-Revision-Date: 2021-06-28 00:51+0000\n"
23-
"Last-Translator: ww song <sww4718168@gmail.com>, 2022\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"
@@ -100,7 +100,7 @@ msgstr ""
100100

101101
#: ../../distutils/setupscript.rst:65
102102
msgid "Listing whole packages"
103-
msgstr ""
103+
msgstr "列出全部的包"
104104

105105
#: ../../distutils/setupscript.rst:67
106106
msgid ""
@@ -158,7 +158,7 @@ msgstr ""
158158

159159
#: ../../distutils/setupscript.rst:112
160160
msgid "Listing individual modules"
161-
msgstr ""
161+
msgstr "列出单独的模块"
162162

163163
#: ../../distutils/setupscript.rst:114
164164
msgid ""
@@ -181,7 +181,7 @@ msgstr ""
181181

182182
#: ../../distutils/setupscript.rst:131
183183
msgid "Describing extension modules"
184-
msgstr ""
184+
msgstr "描述扩展模块"
185185

186186
#: ../../distutils/setupscript.rst:133
187187
msgid ""
@@ -257,7 +257,7 @@ msgstr ""
257257

258258
#: ../../distutils/setupscript.rst:200
259259
msgid "Extension source files"
260-
msgstr ""
260+
msgstr "扩展资源文件"
261261

262262
#: ../../distutils/setupscript.rst:202
263263
msgid ""
@@ -298,7 +298,7 @@ msgstr ""
298298

299299
#: ../../distutils/setupscript.rst:237
300300
msgid "Preprocessor options"
301-
msgstr ""
301+
msgstr "预处理器选项"
302302

303303
#: ../../distutils/setupscript.rst:239
304304
msgid ""
@@ -374,7 +374,7 @@ msgstr ""
374374

375375
#: ../../distutils/setupscript.rst:309
376376
msgid "Library options"
377-
msgstr ""
377+
msgstr "库选项"
378378

379379
#: ../../distutils/setupscript.rst:311
380380
msgid ""
@@ -461,11 +461,11 @@ msgstr ""
461461

462462
#: ../../distutils/setupscript.rst:368
463463
msgid "It can require packages or modules."
464-
msgstr ""
464+
msgstr "它可以要求包或模块。"
465465

466466
#: ../../distutils/setupscript.rst:370
467467
msgid "It can provide packages or modules."
468-
msgstr ""
468+
msgstr "它可以提供包或模块。"
469469

470470
#: ../../distutils/setupscript.rst:372
471471
msgid "It can obsolete packages or modules."

extending/newtypes_tutorial.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Freesand Leo <[email protected]>, 2021
87
# 刘士 <[email protected]>, 2021
98
# Harry Liu. <[email protected]>, 2021
109
# meowmeowcat <[email protected]>, 2021
1110
# ppcfish <[email protected]>, 2022
11+
# Freesand Leo <[email protected]>, 2022
1212
#
1313
#, fuzzy
1414
msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717
"Report-Msgid-Bugs-To: \n"
1818
"POT-Creation-Date: 2022-06-16 06:28+0000\n"
1919
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
20-
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2022\n"
20+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2022\n"
2121
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2222
"MIME-Version: 1.0\n"
2323
"Content-Type: text/plain; charset=UTF-8\n"
@@ -214,7 +214,7 @@ msgstr ""
214214

215215
#: ../../extending/newtypes_tutorial.rst:154
216216
msgid "We set the class flags to :const:`Py_TPFLAGS_DEFAULT`. ::"
217-
msgstr ""
217+
msgstr "我们将类旗标设为 :const:`Py_TPFLAGS_DEFAULT`。 ::"
218218

219219
#: ../../extending/newtypes_tutorial.rst:158
220220
msgid ""

install/index.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
# Alpha Du <[email protected]>, 2021
1414
# 叶浚安 <[email protected]>, 2021
1515
# ppcfish <[email protected]>, 2021
16-
# Freesand Leo <[email protected]>, 2021
1716
# Trim21 <[email protected]>, 2021
1817
# Yifan Sun, 2022
18+
# Freesand Leo <[email protected]>, 2022
1919
#
2020
#, fuzzy
2121
msgid ""
@@ -24,7 +24,7 @@ msgstr ""
2424
"Report-Msgid-Bugs-To: \n"
2525
"POT-Creation-Date: 2022-06-16 06:28+0000\n"
2626
"PO-Revision-Date: 2021-06-28 00:53+0000\n"
27-
"Last-Translator: Yifan Sun, 2022\n"
27+
"Last-Translator: Freesand Leo <[email protected]>, 2022\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"
@@ -199,7 +199,7 @@ msgstr ""
199199

200200
#: ../../install/index.rst:129
201201
msgid "Splitting the job up"
202-
msgstr ""
202+
msgstr "拆分任务"
203203

204204
#: ../../install/index.rst:131
205205
msgid ""
@@ -613,7 +613,7 @@ msgstr ":file:`{home}/include/python/{distname}`"
613613

614614
#: ../../install/index.rst:388
615615
msgid "(Mentally replace slashes with backslashes if you're on Windows.)"
616-
msgstr ""
616+
msgstr "(如果你是使用 Windows 请将斜杠替换为反斜杠。)"
617617

618618
#: ../../install/index.rst:394
619619
msgid "Alternate installation: Unix (the prefix scheme)"
@@ -926,7 +926,7 @@ msgstr ""
926926

927927
#: ../../install/index.rst:643
928928
msgid "Modifying Python's Search Path"
929-
msgstr ""
929+
msgstr "修改 Python 的搜索路径"
930930

931931
#: ../../install/index.rst:645
932932
msgid ""
@@ -1017,7 +1017,7 @@ msgstr ""
10171017

10181018
#: ../../install/index.rst:720
10191019
msgid "Distutils Configuration Files"
1020-
msgstr ""
1020+
msgstr "Distutils 配置文件Configuration Files"
10211021

10221022
#: ../../install/index.rst:722
10231023
msgid ""
@@ -1048,7 +1048,7 @@ msgstr "位置和文件名"
10481048

10491049
#: ../../install/index.rst:744 ../../install/index.rst:756
10501050
msgid "system"
1051-
msgstr ""
1051+
msgstr "system"
10521052

10531053
#: ../../install/index.rst:744
10541054
msgid ":file:`{prefix}/lib/python{ver}/distutils/distutils.cfg`"

library/pkgutil.po

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,13 +235,17 @@ msgid ""
235235
"Yields :class:`ModuleInfo` for all modules recursively on *path*, or, if "
236236
"*path* is ``None``, all accessible modules."
237237
msgstr ""
238+
"在 *path* 上递归地为所有模块产生 :class:`ModuleInfo`,或者如果 *path* 为 "
239+
"``None``,则为所有可访问的模块产生。"
238240

239241
#: ../../library/pkgutil.rst:175
240242
msgid ""
241243
"Note that this function must import all *packages* (*not* all modules!) on "
242244
"the given *path*, in order to access the ``__path__`` attribute to find "
243245
"submodules."
244246
msgstr ""
247+
"请注意此函数必须导入给定 *path* 上所有的 *packages* (*而不是* 所有的模块!),以便能访问 ``__path__`` "
248+
"属性来查找子模块。"
245249

246250
#: ../../library/pkgutil.rst:179
247251
msgid ""
@@ -251,6 +255,8 @@ msgid ""
251255
":exc:`ImportError`\\s are caught and ignored, while all other exceptions are"
252256
" propagated, terminating the search."
253257
msgstr ""
258+
"*onerror* 是在当试图导入包如果发生任何异常则将附带一个参数(被导入的包的名称)被调用的函数。 如果没有提供 *onerror* 函数,则 "
259+
":exc:`ImportError` 会被捕获并被忽略,而其他异常则会被传播,导致模块搜索的终结。"
254260

255261
#: ../../library/pkgutil.rst:185
256262
msgid "Examples::"
@@ -269,6 +275,10 @@ msgid ""
269275
"``/`` as the path separator. The parent directory name ``..`` is not "
270276
"allowed, and nor is a rooted name (starting with a ``/``)."
271277
msgstr ""
278+
"这是一个针对 :term:`loader` :meth:`get_data "
279+
"<importlib.abc.ResourceLoader.get_data>` API 的包装器。 *package* 参数应为一个标准模块格式 "
280+
"(``foo.bar``) 的包名称。 *resource* 参数应为相对路径文件名的形式,使用 ``/`` 作为路径分隔符。 父目录名 "
281+
"``..``,以及根目录名 (以 ``/`` 打头) 均不允许使用。"
272282

273283
#: ../../library/pkgutil.rst:216
274284
msgid ""

library/tracemalloc.po

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Freesand Leo <[email protected]>, 2021
87
# Alpha Du <[email protected]>, 2021
98
# Pan Felix <[email protected]>, 2021
109
# nick <[email protected]>, 2021
1110
# ppcfish <[email protected]>, 2021
1211
# zeroswan <[email protected]>, 2022
12+
# Freesand Leo <[email protected]>, 2022
1313
#
1414
#, fuzzy
1515
msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818
"Report-Msgid-Bugs-To: \n"
1919
"POT-Creation-Date: 2022-06-16 06:28+0000\n"
2020
"PO-Revision-Date: 2021-06-28 01:16+0000\n"
21-
"Last-Translator: zeroswan <zeroswan@outlook.com>, 2022\n"
21+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2022\n"
2222
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2323
"MIME-Version: 1.0\n"
2424
"Content-Type: text/plain; charset=UTF-8\n"
@@ -199,7 +199,7 @@ msgstr "函数"
199199

200200
#: ../../library/tracemalloc.rst:302
201201
msgid "Clear traces of memory blocks allocated by Python."
202-
msgstr ""
202+
msgstr "清空 Python 所分配的内存块的追踪数据。"
203203

204204
#: ../../library/tracemalloc.rst:304
205205
msgid "See also :func:`stop`."
@@ -412,25 +412,26 @@ msgstr "示例:"
412412
msgid ""
413413
"``Filter(True, subprocess.__file__)`` only includes traces of the "
414414
":mod:`subprocess` module"
415-
msgstr ""
415+
msgstr "``Filter(True, subprocess.__file__)`` 只包括 :mod:`subprocess` 模块的追踪数据"
416416

417417
#: ../../library/tracemalloc.rst:459
418418
msgid ""
419419
"``Filter(False, tracemalloc.__file__)`` excludes traces of the "
420420
":mod:`tracemalloc` module"
421421
msgstr ""
422+
"``Filter(False, tracemalloc.__file__)`` 排除了 :mod:`tracemalloc` 模块的追踪数据"
422423

423424
#: ../../library/tracemalloc.rst:461
424425
msgid "``Filter(False, \"<unknown>\")`` excludes empty tracebacks"
425-
msgstr ""
426+
msgstr "``Filter(False, \"<unknown>\")`` 排除了空的回溯信息"
426427

427428
#: ../../library/tracemalloc.rst:464
428429
msgid "The ``'.pyo'`` file extension is no longer replaced with ``'.py'``."
429-
msgstr ""
430+
msgstr "``'.pyo'`` 文件扩展名不会再被替换为 ``'.py'``。"
430431

431432
#: ../../library/tracemalloc.rst:467 ../../library/tracemalloc.rst:688
432433
msgid "Added the :attr:`domain` attribute."
433-
msgstr ""
434+
msgstr "增加了 :attr:`domain` 属性。"
434435

435436
#: ../../library/tracemalloc.rst:473
436437
msgid "Address space of a memory block (``int`` or ``None``)."

0 commit comments

Comments
 (0)