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

Skip to content

Commit 1f3e694

Browse files
committed
[po] auto sync bot
1 parent deec25c commit 1f3e694

2 files changed

Lines changed: 24 additions & 15 deletions

File tree

howto/logging-cookbook.po

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
# 欢 王 <[email protected]>, 2018
99
# Meng Du <[email protected]>, 2019
1010
# MuSheng Chen <[email protected]>, 2019
11-
# 非法操作 <[email protected]>, 2019
1211
# Freesand Leo <[email protected]>, 2019
12+
# 非法操作 <[email protected]>, 2019
1313
#
1414
#, fuzzy
1515
msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818
"Report-Msgid-Bugs-To: \n"
1919
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
2020
"PO-Revision-Date: 2017-02-16 17:45+0000\n"
21-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
21+
"Last-Translator: 非法操作 <ultrahe@gmail.com>, 2019\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"
@@ -515,12 +515,15 @@ msgid ""
515515
"application, and can be used as the basis for code meeting your own specific"
516516
" requirements::"
517517
msgstr ""
518+
"或者,你也可以使用 ``Queue`` "
519+
"和:class:`QueueHandler`将所有的日志事件发送至你的多进程应用的一个进程中。以下示例脚本演示了如何执行此操作。在示例中,一个单独的监听进程负责监听其他进程的日志事件,并根据自己的配置记录。尽管示例只演示了这种方法(例如你可能希望使用单独的监听线程而非监听进程"
520+
" -- 它们的实现是类似的),但你也可以在应用程序的监听进程和其他进程使用不同的配置,它可以作为满足你特定需求的一个基础::"
518521

519522
#: ../../howto/logging-cookbook.rst:851
520523
msgid ""
521524
"A variant of the above script keeps the logging in the main process, in a "
522525
"separate thread::"
523-
msgstr ""
526+
msgstr "上面脚本的一个变种,仍然在主进程中记录日志,但使用一个单独的线程::"
524527

525528
#: ../../howto/logging-cookbook.rst:946
526529
msgid ""

library/calendar.po

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,13 @@ msgstr ":class:`!HTMLCalendar` 实例有以下方法:"
238238
msgid ""
239239
"Return a month's calendar as an HTML table. If *withyear* is true the year "
240240
"will be included in the header, otherwise just the month name will be used."
241-
msgstr ""
241+
msgstr "返回一个 HTML 表格作为指定年月的日历。 *withyear* 为真,则年份将会包含在表头,否则只显示月份。"
242242

243243
#: ../../library/calendar.rst:186
244244
msgid ""
245245
"Return a year's calendar as an HTML table. *width* (defaulting to 3) "
246246
"specifies the number of months per row."
247-
msgstr ""
247+
msgstr "返回一个 HTML 表格作为指定年份的日历。 *width* (默认为3) 用于规定每一行显示月份的数量。"
248248

249249
#: ../../library/calendar.rst:192
250250
msgid ""
@@ -254,25 +254,28 @@ msgid ""
254254
" be used. *encoding* specifies the encoding to be used for the output "
255255
"(defaulting to the system default encoding)."
256256
msgstr ""
257+
"返回一个完整的 HTML 页面作为指定年份的日历。 *width*(默认为3) 用于规定每一行显示的月份数量。 *css* "
258+
"为层叠样式表的名字。如果不使用任何层叠样式表,可以使用 :const:`None` 。 *encoding* 为输出页面的编码 "
259+
"(默认为系统的默认编码)。"
257260

258261
#: ../../library/calendar.rst:199
259262
msgid ""
260263
":class:`!HTMLCalendar` has the following attributes you can override to "
261264
"customize the CSS classes used by the calendar:"
262-
msgstr ""
265+
msgstr ":class:`!HTMLCalendar` 有以下属性,你可以重载它们来自定义应用日历的样式。"
263266

264267
#: ../../library/calendar.rst:204
265268
msgid ""
266269
"A list of CSS classes used for each weekday. The default class list is::"
267-
msgstr ""
270+
msgstr "一个对应星期一到星期天的 CSS class 列表。默认列表为 ::"
268271

269272
#: ../../library/calendar.rst:208
270273
msgid "more styles can be added for each day::"
271-
msgstr ""
274+
msgstr "可以向每天加入其它样式 ::"
272275

273276
#: ../../library/calendar.rst:212
274277
msgid "Note that the length of this list must be seven items."
275-
msgstr ""
278+
msgstr "需要注意的是,列表的长度必须为7。"
276279

277280
#: ../../library/calendar.rst:217
278281
msgid "The CSS class for a weekday occurring in the previous or coming month."
@@ -317,7 +320,7 @@ msgstr ""
317320

318321
#: ../../library/calendar.rst:268
319322
msgid "Here is an example how :class:`!HTMLCalendar` can be customized::"
320-
msgstr ""
323+
msgstr "接下来是一个如何自定义 :class:`!HTMLCalendar` 的示例 ::"
321324

322325
#: ../../library/calendar.rst:280
323326
msgid ""
@@ -346,7 +349,7 @@ msgstr ""
346349
#: ../../library/calendar.rst:300
347350
msgid ""
348351
"For simple text calendars this module provides the following functions."
349-
msgstr ""
352+
msgstr "对于简单的文本日历,这个模块提供了以下方法。"
350353

351354
#: ../../library/calendar.rst:304
352355
msgid ""
@@ -356,15 +359,18 @@ msgid ""
356359
"are provided for convenience. For example, to set the first weekday to "
357360
"Sunday::"
358361
msgstr ""
362+
"设置每一周的开始(``0`` 表示星期一,``6`` 表示星期天)。calendar还提供了 :const:`MONDAY`, "
363+
":const:`TUESDAY`, :const:`WEDNESDAY`, :const:`THURSDAY`, :const:`FRIDAY`, "
364+
":const:`SATURDAY` 和 :const:`SUNDAY` 几个常量方便使用。例如,设置每周的第一天为星期天 ::"
359365

360366
#: ../../library/calendar.rst:315
361367
msgid "Returns the current setting for the weekday to start each week."
362-
msgstr ""
368+
msgstr "返回当前设置的每星期的第一天的数值。"
363369

364370
#: ../../library/calendar.rst:320
365371
msgid ""
366372
"Returns :const:`True` if *year* is a leap year, otherwise :const:`False`."
367-
msgstr ""
373+
msgstr "如果 *year* 是闰年则返回 :const:`True` ,否则返回 :const:`False`。"
368374

369375
#: ../../library/calendar.rst:325
370376
msgid ""
@@ -467,12 +473,12 @@ msgstr "模块 :mod:`datetime`"
467473
msgid ""
468474
"Object-oriented interface to dates and times with similar functionality to "
469475
"the :mod:`time` module."
470-
msgstr ""
476+
msgstr "为日期和时间提供与 :mod:`time` 模块相似功能的面向对象接口。"
471477

472478
#: ../../library/calendar.rst:419
473479
msgid "Module :mod:`time`"
474480
msgstr "模块 :mod:`time`"
475481

476482
#: ../../library/calendar.rst:420
477483
msgid "Low-level time related functions."
478-
msgstr ""
484+
msgstr "底层时间相关函数。"

0 commit comments

Comments
 (0)