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

Skip to content

Commit f0114ab

Browse files
[po] auto sync
1 parent df0da2b commit f0114ab

2 files changed

Lines changed: 29 additions & 10 deletions

File tree

library/datetime.po

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# nick <[email protected]>, 2019
2323
# dogn he <[email protected]>, 2019
2424
# ppcfish <[email protected]>, 2019
25-
# Freesand Leo <[email protected]>, 2019
25+
# Freesand Leo <[email protected]>, 2020
2626
#
2727
#, fuzzy
2828
msgid ""
@@ -31,7 +31,7 @@ msgstr ""
3131
"Report-Msgid-Bugs-To: \n"
3232
"POT-Creation-Date: 2019-12-24 12:15+0000\n"
3333
"PO-Revision-Date: 2017-02-16 23:06+0000\n"
34-
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
34+
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
3535
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
3636
"MIME-Version: 1.0\n"
3737
"Content-Type: text/plain; charset=UTF-8\n"
@@ -944,6 +944,10 @@ msgid ""
944944
":exc:`OverflowError` is raised if ``date2.year`` would be smaller than "
945945
":const:`MINYEAR` or larger than :const:`MAXYEAR`."
946946
msgstr ""
947+
"如果 ``timedelta.days > 0`` 则 *date2* 将在时间线上前进,如果 ``timedelta.days < 0`` 则将后退。"
948+
" 操作完成后 ``date2 - date1 == timedelta.days``。 ``timedelta.seconds`` 和 "
949+
"``timedelta.microseconds`` 会被忽略。 如果 ``date2.year`` 将小于 :const:`MINYEAR` 或大于 "
950+
":const:`MAXYEAR` 则会引发 :exc:`OverflowError`。"
947951

948952
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:602
949953
msgid "``timedelta.seconds`` and ``timedelta.microseconds`` are ignored."
@@ -954,6 +958,8 @@ msgid ""
954958
"This is exact, and cannot overflow. timedelta.seconds and "
955959
"timedelta.microseconds are 0, and date2 + timedelta == date1 after."
956960
msgstr ""
961+
"此值完全精确且不会溢出。 操作完成后 timedelta.seconds 和 timedelta.microseconds 均为 0,并且 date2 "
962+
"+ timedelta == date1。"
957963

958964
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:609
959965
msgid ""
@@ -967,17 +973,23 @@ msgid ""
967973
" is ``==`` or ``!=``. The latter cases return :const:`False` or "
968974
":const:`True`, respectively."
969975
msgstr ""
976+
"换句话说,当且仅当 ``date1.toordinal() < date2.toordinal()`` 时 ``date1 < date2``。 "
977+
"日期比较会引发 :exc:`TypeError`,如果比较目标不为 :class:`date` 对象的话。 不过也可能会返回 "
978+
"``NotImplemented``,如果比较目标具有 :meth:`timetuple` 属性的话。 "
979+
"这个钩子给予其他日期对象类型实现混合类型比较的机会。 否则,当 :class:`date` 对象与不同类型的对象比较时将会引发 "
980+
":exc:`TypeError`,除非是 ``==`` 或 ``!=`` 比较。 后两种情况将分别返回 :const:`False` 或 "
981+
":const:`True`。"
970982

971983
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:619
972984
msgid ""
973985
"In Boolean contexts, all :class:`date` objects are considered to be true."
974-
msgstr ""
986+
msgstr "在布尔运算中,所有 :class:`date` 对象都会被视为真值。"
975987

976988
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:625
977989
msgid ""
978990
"Return a date with the same value, except for those parameters given new "
979991
"values by whichever keyword arguments are specified."
980-
msgstr ""
992+
msgstr "返回一个具有同样值的日期,除非通过任何关键字参数给出了某些形参的新值。"
981993

982994
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:628
983995
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:1821
@@ -989,29 +1001,33 @@ msgstr "示例::"
9891001
msgid ""
9901002
"Return a :class:`time.struct_time` such as returned by "
9911003
":func:`time.localtime`."
992-
msgstr ""
1004+
msgstr "返回一个 :class:`time.struct_time`,即 :func:`time.localtime` 所返回的类型。"
9931005

9941006
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:640
9951007
msgid "The hours, minutes and seconds are 0, and the DST flag is -1."
996-
msgstr ""
1008+
msgstr "hours, minutes 和 seconds 值均为 0,且 DST 旗标值为 -1。"
9971009

9981010
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:642
9991011
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:1305
10001012
msgid "``d.timetuple()`` is equivalent to::"
1001-
msgstr ""
1013+
msgstr "``d.timetuple()`` 等价于::"
10021014

10031015
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:646
10041016
msgid ""
10051017
"where ``yday = d.toordinal() - date(d.year, 1, 1).toordinal() + 1`` is the "
10061018
"day number within the current year starting with ``1`` for January 1st."
10071019
msgstr ""
1020+
"其中 ``yday = d.toordinal() - date(d.year, 1, 1).toordinal() + 1`` "
1021+
"是当前年份中的日期序号,1 月 1 日的序号为 ``1``。"
10081022

10091023
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:652
10101024
msgid ""
10111025
"Return the proleptic Gregorian ordinal of the date, where January 1 of year "
10121026
"1 has ordinal 1. For any :class:`date` object *d*, "
10131027
"``date.fromordinal(d.toordinal()) == d``."
10141028
msgstr ""
1029+
"返回日期的预期格列高利历序号,其中公元 1 年 1 月 1 日的序号为 1。 对于任意 :class:`date` 对象 "
1030+
"*d*,``date.fromordinal(d.toordinal()) == d``。"
10151031

10161032
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:659
10171033
msgid ""
@@ -1038,7 +1054,7 @@ msgstr "返回一个三元元组,(ISO year, ISO week number, ISO weekday) 。"
10381054
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:675
10391055
msgid ""
10401056
"The ISO calendar is a widely used variant of the Gregorian calendar. [#]_"
1041-
msgstr ""
1057+
msgstr "ISO 历法是一种被广泛使用的格列高利历。 [#]_"
10421058

10431059
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:677
10441060
msgid ""

library/shelve.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Menghua Xiao <[email protected]>, 2018
88
# walkinrain <[email protected]>, 2019
99
# Zombie110year <[email protected]>, 2019
10-
# Freesand Leo <[email protected]>, 2019
10+
# Freesand Leo <[email protected]>, 2020
1111
#
1212
#, fuzzy
1313
msgid ""
@@ -16,7 +16,7 @@ msgstr ""
1616
"Report-Msgid-Bugs-To: \n"
1717
"POT-Creation-Date: 2019-12-16 12:12+0000\n"
1818
"PO-Revision-Date: 2017-02-16 23:25+0000\n"
19-
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
19+
"Last-Translator: Freesand Leo <[email protected]>, 2020\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"
@@ -41,6 +41,9 @@ msgid ""
4141
" and objects containing lots of shared sub-objects. The keys are ordinary "
4242
"strings."
4343
msgstr ""
44+
"\"shelf\" 是一种持久化的类似字典的对象。 与 \"dbm\" 数据库的区别在于 shelf 中的值(不是键!)实际上可以为任意 Python "
45+
"对象 --- 即 :mod:`pickle` 模块能够处理的任何东西。 这包括大部分类实例、递归数据类型,以及包含大量共享子对象的对象。 "
46+
"键则为普通的字符串。"
4447

4548
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shelve.rst:22
4649
msgid ""

0 commit comments

Comments
 (0)