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

Skip to content

Commit 906281d

Browse files
committed
[po] auto sync bot
1 parent eb1eece commit 906281d

2 files changed

Lines changed: 19 additions & 4 deletions

File tree

library/calendar.po

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Trim21 <[email protected]>, 2019
88
# walkinrain <[email protected]>, 2019
99
# nickle <[email protected]>, 2019
10+
# 1lin24 <[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 19:36+0000\n"
18-
"Last-Translator: nickle <2330458484@qq.com>, 2019\n"
19+
"Last-Translator: 1lin24 <1lin24@sina.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"
@@ -25,7 +26,7 @@ msgstr ""
2526

2627
#: ../../library/calendar.rst:2
2728
msgid ":mod:`calendar` --- General calendar-related functions"
28-
msgstr ""
29+
msgstr ":mod:`calendar` --- 日历相关函数"
2930

3031
#: ../../library/calendar.rst:10
3132
msgid "**Source code:** :source:`Lib/calendar.py`"
@@ -41,6 +42,11 @@ msgid ""
4142
"Parameters that specify dates are given as integers. For related "
4243
"functionality, see also the :mod:`datetime` and :mod:`time` modules."
4344
msgstr ""
45+
"这个模块让你可以输入像 Unix :program:`cal` "
46+
"那样的日历,它还提供了其它与日历相关的实用函数。默认情况下,这些日历把星期一当作一周的第一天,星期天为一周的最后一天(根据欧洲惯例)。可以使用 "
47+
":func:`setfirstweekday` "
48+
"方法设置一周的第一天为星期天(6)或者其它任意一天。使用整数作为参数。更多相关的函数,参见:mod:`datetime` 和 :mod:`time` "
49+
"modules。"
4450

4551
#: ../../library/calendar.rst:22
4652
msgid ""
@@ -58,17 +64,21 @@ msgid ""
5864
"Creates a :class:`Calendar` object. *firstweekday* is an integer specifying "
5965
"the first day of the week. ``0`` is Monday (the default), ``6`` is Sunday."
6066
msgstr ""
67+
"创建一个 :class:`Calendar` 对象。*firstweekday* 是一个整数,用于指定一周的第一天。``0`` "
68+
"是星期一(默认值),``6``是星期天。"
6169

6270
#: ../../library/calendar.rst:36
6371
msgid ""
6472
"A :class:`Calendar` object provides several methods that can be used for "
6573
"preparing the calendar data for formatting. This class doesn't do any "
6674
"formatting itself. This is the job of subclasses."
6775
msgstr ""
76+
"一个 :class:`Calendar` 对象提供几个用来日历格式化的方法。 :class:`Calendar` "
77+
"类本身没有实现格式化相关的功能,由子类来完成这部分工作。"
6878

6979
#: ../../library/calendar.rst:41
7080
msgid ":class:`Calendar` instances have the following methods:"
71-
msgstr ":class:`Calendar` 实例有下列方法:"
81+
msgstr ":class:`Calendar` 类的实例有下列方法:"
7282

7383
#: ../../library/calendar.rst:45
7484
msgid ""

library/gzip.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ msgid ""
157157
"*fileobj*, if discernible; otherwise, it defaults to the empty string, and "
158158
"in this case the original filename is not included in the header."
159159
msgstr ""
160+
"当 *fileobj* 为 ``None`` 时, *filename* 参数只用于 :program:`gzip` "
161+
"文件头中,这个文件有可能包含未压缩文件的源文件名。如果文件可以被识别,默认 *fileobj* "
162+
"的文件名;否则默认为空字符串,在这种情况下文件头将不包含源文件名。"
160163

161164
#: ../../library/gzip.rst:80
162165
msgid ""
@@ -228,7 +231,7 @@ msgid ""
228231
"Read *n* uncompressed bytes without advancing the file position. At most one"
229232
" single read on the compressed stream is done to satisfy the call. The "
230233
"number of bytes returned may be more or less than requested."
231-
msgstr ""
234+
msgstr "在不移动文件指针的情况下读取 *n* 个未压缩字节。最多只有一个单独的读取流来服务这个方法调用。返回的字节数不一定刚好等于要求的数量。"
232235

233236
#: ../../library/gzip.rst:118
234237
msgid ""
@@ -237,6 +240,8 @@ msgid ""
237240
"(e.g. if the :class:`GzipFile` was constructed with the *fileobj* "
238241
"parameter)."
239242
msgstr ""
243+
"调用 :meth:`peek` 并没有改变 :class:`GzipFile` 的文件指针,它可能改变潜在文件对象(例如: "
244+
":class:`GzipFile` 使用 *fileobj* 参数进行初始化)。"
240245

241246
#: ../../library/gzip.rst:127
242247
msgid ""

0 commit comments

Comments
 (0)