77# Trim21 <[email protected] >, 201988# walkinrain <[email protected] >, 201999# nickle <[email protected] >, 201910+ # Freesand Leo <[email protected] >, 20191011# 1lin24 <[email protected] >, 20191112#
1213#, fuzzy
@@ -42,11 +43,10 @@ msgid ""
4243"Parameters that specify dates are given as integers. For related "
4344"functionality, see also the :mod:`datetime` and :mod:`time` modules."
4445msgstr ""
45- "这个模块让你可以输入像 Unix :program:`cal` "
46- "那样的日历,它还提供了其它与日历相关的实用函数。默认情况下,这些日历把星期一当作一周的第一天,星期天为一周的最后一天(根据欧洲惯例)。可以使用 "
47- ":func:`setfirstweekday` "
48- "方法设置一周的第一天为星期天(6)或者其它任意一天。使用整数作为参数。更多相关的函数,参见:mod:`datetime` 和 :mod:`time` "
49- "modules。"
46+ "这个模块让你可以输出像 Unix :program:`cal` 那样的日历,它还提供了其它与日历相关的实用函数。 "
47+ "默认情况下,这些日历把星期一当作一周的第一天,星期天为一周的最后一天(根据欧洲惯例)。 可以使用 :func:`setfirstweekday` "
48+ "方法设置一周的第一天为星期天 (6) 或者其它任意一天。 使用整数作为指定日期的参数。 更多相关的函数,参见 :mod:`datetime` 和 "
49+ ":mod:`time` 模块。"
5050
5151#: ../../library/calendar.rst:22
5252msgid ""
@@ -64,17 +64,16 @@ msgid ""
6464"Creates a :class:`Calendar` object. *firstweekday* is an integer specifying "
6565"the first day of the week. ``0`` is Monday (the default), ``6`` is Sunday."
6666msgstr ""
67- "创建一个 :class:`Calendar` 对象。*firstweekday* 是一个整数,用于指定一周的第一天。``0`` "
68- "是星期一(默认值),``6``是星期天。"
67+ "创建一个 :class:`Calendar` 对象。 *firstweekday* 是一个整数,用于指定一周的第一天。 ``0`` "
68+ "是星期一(默认值),``6`` 是星期天。"
6969
7070#: ../../library/calendar.rst:36
7171msgid ""
7272"A :class:`Calendar` object provides several methods that can be used for "
7373"preparing the calendar data for formatting. This class doesn't do any "
7474"formatting itself. This is the job of subclasses."
7575msgstr ""
76- "一个 :class:`Calendar` 对象提供几个用来日历格式化的方法。 :class:`Calendar` "
77- "类本身没有实现格式化相关的功能,由子类来完成这部分工作。"
76+ ":class:`Calendar` 对象提供了一些可被用于准备日历数据格式化的方法。 这个类本身不执行任何格式化操作。 这部分任务应由子类来完成。"
7877
7978#: ../../library/calendar.rst:41
8079msgid ":class:`Calendar` instances have the following methods:"
@@ -85,7 +84,7 @@ msgid ""
8584"Return an iterator for the week day numbers that will be used for one week."
8685" The first value from the iterator will be the same as the value of the "
8786":attr:`firstweekday` property."
88- msgstr ""
87+ msgstr "返回一个星期数字的迭代器。迭代器的第一个什与 :attr:`firstweekday` 属性的值一至。 "
8988
9089#: ../../library/calendar.rst:52
9190msgid ""
@@ -94,6 +93,8 @@ msgid ""
9493"month and all days before the start of the month or after the end of the "
9594"month that are required to get a complete week."
9695msgstr ""
96+ "返回一个迭代器,迭代器的内容为 *year* 年 *month* 月(1-12)的日期。这个迭代器返回当月的所有日期 ( "
97+ ":class:`datetime.date` 对象),这些日期包含了本月头尾用于组成完整一周的日期。"
9798
9899#: ../../library/calendar.rst:60
99100msgid ""
0 commit comments