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

Skip to content

Commit f2aa8e3

Browse files
committed
[po] auto sync bot
1 parent a2e79ec commit f2aa8e3

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

extending/newtypes_tutorial.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
# Translators:
77
# Jerry Chen <[email protected]>, 2018
88
# 刘士 <[email protected]>, 2018
9-
# Freesand Leo <[email protected]>, 2019
109
# gashero liu <[email protected]>, 2019
10+
# Freesand Leo <[email protected]>, 2019
1111
#
1212
#, fuzzy
1313
msgid ""
@@ -16,7 +16,7 @@ msgstr ""
1616
"Report-Msgid-Bugs-To: \n"
1717
"POT-Creation-Date: 2019-04-23 11:14+0900\n"
1818
"PO-Revision-Date: 2018-04-08 04:04+0000\n"
19-
"Last-Translator: gashero liu <harry.python@gmail.com>, 2019\n"
19+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\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"
@@ -163,8 +163,8 @@ msgid ""
163163
" fields will be filled with zeros by the C compiler, and it's common "
164164
"practice to not specify them explicitly unless you need them."
165165
msgstr ""
166-
"实际定义的 :c:type:`PyTypeObject` 在 :file:`object.h` 中有比如上定义更多的 :ref:`fields` "
167-
"。剩余的字段会由C编译器用0填充,这通常没啥问题,除非你明确要使用这些字段。"
166+
"在 :file:`object.h` 中实际定义的 :c:type:`PyTypeObject` 具有比如上定义更多的 :ref:`字段 <type-"
167+
"structs>`。 剩余的字段会由 C 编译器用零来填充,通常的做法是不显式地指定它们,除非你确实需要它们。"
168168

169169
#: ../../extending/newtypes_tutorial.rst:109
170170
msgid "We're going to pick it apart, one field at a time::"

library/datetime.po

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,8 @@ msgid ""
874874
"values by whichever keyword arguments are specified. For example, if ``d =="
875875
" date(2002, 12, 31)``, then ``d.replace(day=26) == date(2002, 12, 26)``."
876876
msgstr ""
877+
"返回一个具有同样值的日期,除非通过任何关键字参数给出了某些形参的新值。 例如,如果 ``d == date(2002, 12, 31)``,则 "
878+
"``d.replace(day=26) == date(2002, 12, 26)``。"
877879

878880
#: ../../library/datetime.rst:555
879881
msgid ""
@@ -884,13 +886,20 @@ msgid ""
884886
"d.toordinal() - date(d.year, 1, 1).toordinal() + 1`` is the day number "
885887
"within the current year starting with ``1`` for January 1st."
886888
msgstr ""
889+
"返回一个 :class:`time.struct_time`,即与 :func:`time.localtime` 的返回类型相同。 hours, "
890+
"minutes 和 seconds 值为 0, 且 DST 标志值为 -1。 ``d.timetuple()`` 等价于 "
891+
"``time.struct_time((d.year, d.month, d.day, 0, 0, 0, d.weekday(), yday, "
892+
"-1))``,其中 ``yday = d.toordinal() - date(d.year, 1, 1).toordinal() + 1`` "
893+
"是日期在当前年份中的序号,起始序号 ``1`` 表示 1 月 1 日。"
887894

888895
#: ../../library/datetime.rst:565
889896
msgid ""
890897
"Return the proleptic Gregorian ordinal of the date, where January 1 of year "
891898
"1 has ordinal 1. For any :class:`date` object *d*, "
892899
"``date.fromordinal(d.toordinal()) == d``."
893900
msgstr ""
901+
"返回日期的预期格列高利历序号,其中公元 1 年 1 月 1 日的序号为 1。 对于任意 :class:`date` 对象 "
902+
"*d*,``date.fromordinal(d.toordinal()) == d``。"
894903

895904
#: ../../library/datetime.rst:572
896905
msgid ""

0 commit comments

Comments
 (0)