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

Skip to content

Commit 2fe7b09

Browse files
committed
[po] auto sync bot
1 parent eb6e46e commit 2fe7b09

17 files changed

Lines changed: 249 additions & 226 deletions

File tree

library/argparse.po

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,30 +566,36 @@ msgid ""
566566
"``-f/--foo`` action is retained as the ``-f`` action, because only the "
567567
"``--foo`` option string was overridden."
568568
msgstr ""
569+
"注意 :class:`ArgumentParser` 对象只能移除一个行为如果它所有的选项字符串都被重写。所以,在上面的例子中,旧的 "
570+
"``-f/--foo`` 行为 回合 ``-f`` 行为保持一样, 因为只有 ``--foo`` 选项字符串被重写。"
569571

570572
#: ../../library/argparse.rst:597
571573
msgid "add_help"
572-
msgstr ""
574+
msgstr "add_help"
573575

574576
#: ../../library/argparse.rst:599
575577
msgid ""
576578
"By default, ArgumentParser objects add an option which simply displays the "
577579
"parser's help message. For example, consider a file named ``myprogram.py`` "
578580
"containing the following code::"
579581
msgstr ""
582+
"默认情况下,ArgumentParser 对象添加一个简单的显示解析器帮助信息的选项。举个栗子,考虑一个名为 ``myprogram.py`` "
583+
"的文件包含如下代码::"
580584

581585
#: ../../library/argparse.rst:608
582586
msgid ""
583587
"If ``-h`` or ``--help`` is supplied at the command line, the ArgumentParser "
584588
"help will be printed:"
585-
msgstr ""
589+
msgstr "如果 ``-h`` or ``--help`` 在命令行中被提供, 参数解析器帮助信息会打印::"
586590

587591
#: ../../library/argparse.rst:620
588592
msgid ""
589593
"Occasionally, it may be useful to disable the addition of this help option. "
590594
"This can be achieved by passing ``False`` as the ``add_help=`` argument to "
591595
":class:`ArgumentParser`::"
592596
msgstr ""
597+
"有时候,关闭额外的帮助信息会有用。这能够通过在 :class:`ArgumentParser` 中设置 ``add_help=`` 参数为 "
598+
"``False`` 来实现。"
593599

594600
#: ../../library/argparse.rst:632
595601
msgid ""

library/codecs.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# 操旭 <[email protected]>, 2017
88
# Freesand Leo <[email protected]>, 2019
99
# Meng Du <[email protected]>, 2019
10+
# ppcfish <[email protected]>, 2019
1011
#
1112
#, fuzzy
1213
msgid ""
@@ -15,7 +16,7 @@ msgstr ""
1516
"Report-Msgid-Bugs-To: \n"
1617
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1718
"PO-Revision-Date: 2017-02-16 23:02+0000\n"
18-
"Last-Translator: Meng Du <alphanow@gmail.com>, 2019\n"
19+
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\n"
1920
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2021
"MIME-Version: 1.0\n"
2122
"Content-Type: text/plain; charset=UTF-8\n"
@@ -2429,7 +2430,7 @@ msgstr ""
24292430

24302431
#: ../../library/codecs.rst:1356
24312432
msgid "bz2"
2432-
msgstr ""
2433+
msgstr "bz2"
24332434

24342435
#: ../../library/codecs.rst:1356
24352436
msgid "Compress the operand using bz2"

library/inspect.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# 操旭 <[email protected]>, 2017
88
# Shengjing Zhu <[email protected]>, 2018
99
# Freesand Leo <[email protected]>, 2018
10+
# ppcfish <[email protected]>, 2019
1011
#
1112
#, fuzzy
1213
msgid ""
@@ -15,7 +16,7 @@ msgstr ""
1516
"Report-Msgid-Bugs-To: \n"
1617
"POT-Creation-Date: 2019-03-11 10:48+0900\n"
1718
"PO-Revision-Date: 2017-02-16 23:15+0000\n"
18-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2018\n"
19+
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\n"
1920
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2021
"MIME-Version: 1.0\n"
2122
"Content-Type: text/plain; charset=UTF-8\n"
@@ -207,7 +208,7 @@ msgstr ""
207208

208209
#: ../../library/inspect.rst:101
209210
msgid "traceback"
210-
msgstr ""
211+
msgstr "traceback"
211212

212213
#: ../../library/inspect.rst:101
213214
msgid "tb_frame"
@@ -305,7 +306,7 @@ msgstr ""
305306
#: ../../library/inspect.rst:138 ../../library/inspect.rst:199
306307
#: ../../library/inspect.rst:216
307308
msgid "code"
308-
msgstr ""
309+
msgstr "code"
309310

310311
#: ../../library/inspect.rst:138
311312
msgid "co_argcount"

library/logging.config.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Freesand Leo <[email protected]>, 2018
88
# 叶浚安 <[email protected]>, 2019
99
# Meng Du <[email protected]>, 2019
10+
# ppcfish <[email protected]>, 2019
1011
#
1112
#, fuzzy
1213
msgid ""
@@ -15,7 +16,7 @@ msgstr ""
1516
"Report-Msgid-Bugs-To: \n"
1617
"POT-Creation-Date: 2019-01-24 10:27+0900\n"
1718
"PO-Revision-Date: 2017-02-16 23:16+0000\n"
18-
"Last-Translator: Meng Du <alphanow@gmail.com>, 2019\n"
19+
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\n"
1920
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2021
"MIME-Version: 1.0\n"
2122
"Content-Type: text/plain; charset=UTF-8\n"
@@ -565,7 +566,7 @@ msgstr ""
565566

566567
#: ../../library/logging.config.rst:453
567568
msgid "and::"
568-
msgstr ""
569+
msgstr "和::"
569570

570571
#: ../../library/logging.config.rst:460
571572
msgid ""

library/stdtypes.po

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# Meng Du <[email protected]>, 2019
1818
# Zombie110year <[email protected]>, 2019
1919
# stonejing <[email protected]>, 2019
20+
# ppcfish <[email protected]>, 2019
2021
# Freesand Leo <[email protected]>, 2019
2122
#
2223
#, fuzzy
@@ -2086,21 +2087,21 @@ msgstr ""
20862087

20872088
#: ../../library/stdtypes.rst:1396
20882089
msgid "Single quotes: ``'allows embedded \"double\" quotes'``"
2089-
msgstr ""
2090+
msgstr "单引号: ``'允许包含有 \"\" 引号'``"
20902091

20912092
#: ../../library/stdtypes.rst:1397
20922093
msgid "Double quotes: ``\"allows embedded 'single' quotes\"``."
2093-
msgstr ""
2094+
msgstr "双引号: ``\"允许包含有 '单' 引号\"``。"
20942095

20952096
#: ../../library/stdtypes.rst:1398
20962097
msgid "Triple quoted: ``'''Three single quotes'''``, ``\"\"\"Three double quotes\"\"\"``"
2097-
msgstr ""
2098+
msgstr "三重引号: ``'''三重单引号'''``, ``\"\"\"三重双引号\"\"\"``"
20982099

20992100
#: ../../library/stdtypes.rst:1400
21002101
msgid ""
21012102
"Triple quoted strings may span multiple lines - all associated whitespace "
21022103
"will be included in the string literal."
2103-
msgstr ""
2104+
msgstr "使用三重引号的字符串可以跨越多行 —— 其中所有的空白字符都将包含在该字符串字面值中。"
21042105

21052106
#: ../../library/stdtypes.rst:1403
21062107
msgid ""
@@ -3466,7 +3467,7 @@ msgstr ""
34663467

34673468
#: ../../library/stdtypes.rst:2495
34683469
msgid "and::"
3469-
msgstr ""
3470+
msgstr "和::"
34703471

34713472
#: ../../library/stdtypes.rst:2500
34723473
msgid ""

library/struct.po

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# Freesand Leo <[email protected]>, 2018
1313
# 叶浚安 <[email protected]>, 2019
1414
# Meng Du <[email protected]>, 2019
15+
# ppcfish <[email protected]>, 2019
1516
#
1617
#, fuzzy
1718
msgid ""
@@ -20,7 +21,7 @@ msgstr ""
2021
"Report-Msgid-Bugs-To: \n"
2122
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
2223
"PO-Revision-Date: 2017-02-16 23:28+0000\n"
23-
"Last-Translator: Meng Du <alphanow@gmail.com>, 2019\n"
24+
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\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"
@@ -327,7 +328,7 @@ msgstr "注释"
327328

328329
#: ../../library/struct.rst:196
329330
msgid "``x``"
330-
msgstr ""
331+
msgstr "``x``"
331332

332333
#: ../../library/struct.rst:196
333334
msgid "pad byte"
@@ -339,7 +340,7 @@ msgstr ""
339340

340341
#: ../../library/struct.rst:198
341342
msgid "``c``"
342-
msgstr ""
343+
msgstr "``c``"
343344

344345
#: ../../library/struct.rst:198
345346
msgid ":c:type:`char`"
@@ -356,7 +357,7 @@ msgstr "1"
356357

357358
#: ../../library/struct.rst:200
358359
msgid "``b``"
359-
msgstr ""
360+
msgstr "``b``"
360361

361362
#: ../../library/struct.rst:200
362363
msgid ":c:type:`signed char`"
@@ -493,7 +494,7 @@ msgstr ""
493494

494495
#: ../../library/struct.rst:223
495496
msgid "``n``"
496-
msgstr ""
497+
msgstr "``n``"
497498

498499
#: ../../library/struct.rst:223
499500
msgid ":c:type:`ssize_t`"
@@ -513,7 +514,7 @@ msgstr ":c:type:`size_t`"
513514

514515
#: ../../library/struct.rst:227
515516
msgid "``e``"
516-
msgstr ""
517+
msgstr "``e``"
517518

518519
#: ../../library/struct.rst:227
519520
msgid "\\(7)"
@@ -539,7 +540,7 @@ msgstr ":c:type:`float`"
539540

540541
#: ../../library/struct.rst:231
541542
msgid "``d``"
542-
msgstr ""
543+
msgstr "``d``"
543544

544545
#: ../../library/struct.rst:231
545546
msgid ":c:type:`double`"

library/tracemalloc.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# Freesand Leo <[email protected]>, 2018
99
# Pan Felix <[email protected]>, 2019
1010
# Meng Du <[email protected]>, 2019
11+
# ppcfish <[email protected]>, 2019
1112
#
1213
#, fuzzy
1314
msgid ""
@@ -16,7 +17,7 @@ msgstr ""
1617
"Report-Msgid-Bugs-To: \n"
1718
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1819
"PO-Revision-Date: 2017-02-16 23:32+0000\n"
19-
"Last-Translator: Meng Du <alphanow@gmail.com>, 2019\n"
20+
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\n"
2021
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2122
"MIME-Version: 1.0\n"
2223
"Content-Type: text/plain; charset=UTF-8\n"
@@ -542,7 +543,7 @@ msgstr ""
542543

543544
#: ../../library/tracemalloc.rst:527
544545
msgid "traceback"
545-
msgstr ""
546+
msgstr "traceback"
546547

547548
#: ../../library/tracemalloc.rst:530
548549
msgid ""

license.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Fei Yin <[email protected]>, 2018
88
# keelii <[email protected]>, 2018
99
# Shengjing Zhu <[email protected]>, 2019
10-
# tom smith, 2019
10+
# ppcfish <[email protected]>, 2019
1111
#
1212
#, fuzzy
1313
msgid ""
@@ -16,7 +16,7 @@ msgstr ""
1616
"Report-Msgid-Bugs-To: \n"
1717
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1818
"PO-Revision-Date: 2017-02-16 17:32+0000\n"
19-
"Last-Translator: tom smith, 2019\n"
19+
"Last-Translator: ppcfish <[email protected]>, 2019\n"
2020
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2121
"MIME-Version: 1.0\n"
2222
"Content-Type: text/plain; charset=UTF-8\n"
@@ -404,7 +404,7 @@ msgstr ""
404404

405405
#: ../../license.rst:815
406406
msgid "zlib"
407-
msgstr ""
407+
msgstr "zlib"
408408

409409
#: ../../license.rst:817
410410
msgid ""

using/windows.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,6 +1654,11 @@ msgid ""
16541654
"will cause each path to be added to :data:`sys.path`. (Note that all known "
16551655
"installers only use HKLM, so HKCU is typically empty.)"
16561656
msgstr ""
1657+
"附加的 \"application paths\" 可以同时添加到注册表` `HKEY_CURRENT_USER`` 和 "
1658+
"``HKEY_LOCAL_MACHINE`` "
1659+
"分支下的:samp:`\\\\SOFTWARE\\\\Python\\\\PythonCore\\\\{version}\\\\PythonPath`"
1660+
" 中作为子键。以分号分隔的路径字符串作为默认值的子键将导致每个路径添加到 :data:`sys.path` "
1661+
"。(请注意,所有已知的安装程序都只使用HKLM,因此HKCU通常为空。)"
16571662

16581663
#: ../../using/windows.rst:942
16591664
msgid ""
@@ -1666,7 +1671,7 @@ msgid ""
16661671
"PythonPath stored in the registry."
16671672
msgstr ""
16681673
"如果设置了环境变量 :envvar:`PYTHONHOME` ,则将其假定为 “Python 主目录” 。否则,主Python可执行文件的路径用于定位"
1669-
" “地标文件” ( ``Lib\\os.py`` 或 ``pythonXY.zip`` )以推断 ”Python 主目录“ "
1674+
" “landmark 文件” ( ``Lib\\os.py`` 或 ``pythonXY.zip`` )以推断 ”Python 主目录“ "
16701675
"。如果找到了Python主目录,则基于该文件夹将相关的子目录添加到 :data:`sys.path` (``Lib`` , ``plat-win`` "
16711676
"等)。否则,核心Python路径是从存储在注册表中的PythonPath构造的。"
16721677

@@ -1767,7 +1772,8 @@ msgid ""
17671772
"directory. (Note that it will not be detected inside a ZIP file, but a "
17681773
"correctly named ZIP file will be detected instead.)"
17691774
msgstr ""
1770-
"如果您不能使用前面的建议(例如,您是一个允许人们直接运行:file:`python.exe`的分发版),请确保安装目录中存在地标文件(:file:`Lib\\\\os.py`)。(请注意,在zip文件中不会检测到该文件,但会检测到正确命名的zip文件。)"
1775+
"如果您不能使用前面的建议(例如,您是一个允许人们直接运行:file:`python.exe`的分发版),请确保安装目录中存在landmark "
1776+
"文件(:file:`Lib\\\\os.py`)。(请注意,在zip文件中不会检测到该文件,但会检测到正确命名的zip文件。)"
17711777

17721778
#: ../../using/windows.rst:997
17731779
msgid ""
@@ -1790,7 +1796,7 @@ msgstr "添加 ``._pth`` 文件支持并从 ``pyvenv.cfg`` 中删除 ``applocal`
17901796
msgid ""
17911797
"Adds ``pythonXX.zip`` as a potential landmark when directly adjacent to the "
17921798
"executable."
1793-
msgstr "当直接与可执行文件相邻时,添加 ``pythonXX.zip`` 作为潜在的地标。"
1799+
msgstr "当直接与可执行文件相邻时,添加 ``pythonXX.zip`` 作为潜在的 landmark 。"
17941800

17951801
#: ../../using/windows.rst:1014
17961802
msgid ""

whatsnew/2.4.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# Fei Yin <[email protected]>, 2018
88
# Freesand Leo <[email protected]>, 2019
9+
# ppcfish <[email protected]>, 2019
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1617
"PO-Revision-Date: 2017-02-16 23:43+0000\n"
17-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
18+
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\n"
1819
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1576,7 +1577,7 @@ msgstr ""
15761577

15771578
#: ../../whatsnew/2.4.rst:1347
15781579
msgid "doctest"
1579-
msgstr ""
1580+
msgstr "doctest"
15801581

15811582
#: ../../whatsnew/2.4.rst:1349
15821583
msgid ""

0 commit comments

Comments
 (0)