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

Skip to content

Commit ab3cbe9

Browse files
committed
[po] auto sync bot
1 parent 66430f2 commit ab3cbe9

6 files changed

Lines changed: 26 additions & 9 deletions

File tree

howto/logging-cookbook.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -741,23 +741,23 @@ msgstr "模块 :mod:`logging`"
741741

742742
#: ../../howto/logging-cookbook.rst:1320
743743
msgid "API reference for the logging module."
744-
msgstr ""
744+
msgstr "日志记录模块的 API 参考。"
745745

746746
#: ../../howto/logging-cookbook.rst:1323
747747
msgid "Module :mod:`logging.config`"
748748
msgstr "模块 :mod:`logging.config`"
749749

750750
#: ../../howto/logging-cookbook.rst:1323
751751
msgid "Configuration API for the logging module."
752-
msgstr ""
752+
msgstr "日志记录模块的配置 API 。"
753753

754754
#: ../../howto/logging-cookbook.rst:1326
755755
msgid "Module :mod:`logging.handlers`"
756756
msgstr "模块 :mod:`logging.handlers`"
757757

758758
#: ../../howto/logging-cookbook.rst:1326
759759
msgid "Useful handlers included with the logging module."
760-
msgstr ""
760+
msgstr "日志记录模块附带的有用处理程序。"
761761

762762
#: ../../howto/logging-cookbook.rst:1328
763763
msgid ":ref:`A basic logging tutorial <logging-basic-tutorial>`"

howto/logging.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,8 @@ msgid ""
12091209
" class. When a logger decides to actually log an event, a "
12101210
":class:`~logging.LogRecord` instance is created from the logging message."
12111211
msgstr ""
1212+
"记录消息被编码为 :class:`~logging.LogRecord` 类的实例。当记录器决定实际记录事件时,从记录消息创建 "
1213+
":class:`~logging.LogRecord` 实例。"
12121214

12131215
#: ../../howto/logging.rst:872
12141216
msgid ""

library/logging.handlers.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,12 +1491,12 @@ msgstr "模块 :mod:`logging`"
14911491

14921492
#: ../../library/logging.handlers.rst:1081
14931493
msgid "API reference for the logging module."
1494-
msgstr ""
1494+
msgstr "日志记录模块的 API 参考。"
14951495

14961496
#: ../../library/logging.handlers.rst:1083
14971497
msgid "Module :mod:`logging.config`"
14981498
msgstr "模块 :mod:`logging.config`"
14991499

15001500
#: ../../library/logging.handlers.rst:1084
15011501
msgid "Configuration API for the logging module."
1502-
msgstr ""
1502+
msgstr "日志记录模块的配置 API 。"

library/logging.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,8 @@ msgid ""
450450
"define a level with the same numeric value, it overwrites the predefined "
451451
"value; the predefined name is lost."
452452
msgstr ""
453+
"日志记录级别的数值在下表中给出。如果你想要定义自己的级别,并且需要它们具有相对于预定义级别的特定值,那么这些内容可能是你感兴趣的。如果你定义具有相同数值的级别,它将覆盖预定义的值;"
454+
" 预定义的名称丢失。"
453455

454456
#: ../../library/logging.rst:349
455457
msgid "Level"
@@ -1817,15 +1819,15 @@ msgstr "模块 :mod:`logging.config`"
18171819

18181820
#: ../../library/logging.rst:1265
18191821
msgid "Configuration API for the logging module."
1820-
msgstr ""
1822+
msgstr "日志记录模块的配置 API 。"
18211823

18221824
#: ../../library/logging.rst:1268
18231825
msgid "Module :mod:`logging.handlers`"
18241826
msgstr "模块 :mod:`logging.handlers`"
18251827

18261828
#: ../../library/logging.rst:1268
18271829
msgid "Useful handlers included with the logging module."
1828-
msgstr ""
1830+
msgstr "日志记录模块附带的有用处理程序。"
18291831

18301832
#: ../../library/logging.rst:1272
18311833
msgid ":pep:`282` - A Logging System"

tutorial/introduction.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# Junkai Shao <[email protected]>, 2018
1313
# Fred <[email protected]>, 2018
1414
# Zephyr Waitzman <[email protected]>, 2018
15+
# Meng Du <[email protected]>, 2018
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:41+0000\n"
23-
"Last-Translator: Zephyr Waitzman <[email protected]>, 2018\n"
24+
"Last-Translator: Meng Du <[email protected]>, 2018\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"
@@ -466,7 +467,7 @@ msgid ""
466467
"than), ``>`` (greater than), ``==`` (equal to), ``<=`` (less than or equal "
467468
"to), ``>=`` (greater than or equal to) and ``!=`` (not equal to)."
468469
msgstr ""
469-
":keyword:`while` 循环只要它的条件 (这里指: ``b < 10``) 保持为真就会一直执行。 在 Python 中,就和 C "
470+
":keyword:`while` 循环只要它的条件 (这里指: ``a < 10``) 保持为真就会一直执行。 在 Python 中,就和 C "
470471
"一样,任何非零整数都为真;零为假。 这个条件的值也可以是字符串或是列表,事实上任何*序列*都可以;长度非零就为真,,空序列就为假。 "
471472
"在这个例子里,检测条件是一个简单的比较.。标准的比较操作符和 C 语言里是一样的写法: ``<`` (小于), ``>`` (大于), ``==`` "
472473
"(等于),``<=`` (小于或等于),``>=`` (大于或等于) ,``!=`` (不等于)。"

whatsnew/3.7.po

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3976,13 +3976,17 @@ msgid ""
39763976
" locale to the value of ``LC_NUMERIC`` in some cases. (Contributed by Victor"
39773977
" Stinner in :issue:`31900`.)"
39783978
msgstr ""
3979+
"某些情况下 :func:`locale.localeconv` 函数现在会临时将 ``LC_CTYPE`` 区域设置为 ``LC_NUMERIC`` "
3980+
"的值。 (由 Victor Stinner 在 :issue:`31900` 中贡献。)"
39793981

39803982
#: ../../whatsnew/3.7.rst:2272
39813983
msgid ""
39823984
":meth:`pkgutil.walk_packages` now raises a :exc:`ValueError` if *path* is a "
39833985
"string. Previously an empty list was returned. (Contributed by Sanyam "
39843986
"Khurana in :issue:`24744`.)"
39853987
msgstr ""
3988+
"如果 *path* 为字符串 :meth:`pkgutil.walk_packages` 现在会引发 :exc:`ValueError`。 "
3989+
"之前则是返回一个空列表。 (由 Sanyam Khurana 在 :issue:`24744` 中贡献。)"
39863990

39873991
#: ../../whatsnew/3.7.rst:2276
39883992
msgid ""
@@ -3991,6 +3995,9 @@ msgid ""
39913995
"argument was deprecated in Python 3.5. (Contributed by Serhiy Storchaka in "
39923996
":issue:`29193`.)"
39933997
msgstr ""
3998+
":meth:`string.Formatter.format` 的格式字符串参数现在为 :ref:`仅限位置 <positional-"
3999+
"only_parameter>` 参数。 将其作为关键字参数传入的方式自 Python 3.5 起已弃用。 (由 Serhiy Storchaka 在 "
4000+
":issue:`29193` 中贡献。)"
39944001

39954002
#: ../../whatsnew/3.7.rst:2281
39964003
msgid ""
@@ -4001,6 +4008,11 @@ msgid ""
40014008
"deprecated in Python 3.5. Use the :meth:`~http.cookies.Morsel.set` method "
40024009
"for setting them. (Contributed by Serhiy Storchaka in :issue:`29192`.)"
40034010
msgstr ""
4011+
"类 :class:`http.cookies.Morsel` 的属性 :attr:`~http.cookies.Morsel.key`, "
4012+
":attr:`~http.cookies.Morsel.value` 和 "
4013+
":attr:`~http.cookies.Morsel.coded_value` 现在均为只读。 对其赋值的操作自 Python 3.5 起已弃用。 "
4014+
"要设置它们的值请使用 :meth:`~http.cookies.Morsel.set` 方法。 (由 Serhiy Storchaka 在 "
4015+
":issue:`29192` 中贡献。)"
40044016

40054017
#: ../../whatsnew/3.7.rst:2289
40064018
msgid ""

0 commit comments

Comments
 (0)