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

Skip to content

Commit ba3bf5f

Browse files
[po] auto sync
1 parent ef0d8ac commit ba3bf5f

3 files changed

Lines changed: 33 additions & 15 deletions

File tree

c-api/datetime.po

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#
66
# Translators:
77
# Larry Wang <[email protected]>, 2019
8-
# ppcfish <[email protected]>, 2019
98
# Jiu Hong Jiang <[email protected]>, 2019
9+
# ppcfish <[email protected]>, 2019
1010
# Freesand Leo <[email protected]>, 2019
1111
#
1212
#, fuzzy
@@ -62,60 +62,72 @@ msgid ""
6262
"Return true if *ob* is of type :c:data:`PyDateTime_DateType` or a subtype of"
6363
" :c:data:`PyDateTime_DateType`. *ob* must not be ``NULL``."
6464
msgstr ""
65+
"如果 *ob* 为 :c:data:`PyDateTime_DateType` 类型或 :c:data:`PyDateTime_DateType` "
66+
"的某个子类型则返回真值。 *ob* 不能为 ``NULL``。"
6567

6668
#: ../../c-api/datetime.rst:36
6769
msgid ""
6870
"Return true if *ob* is of type :c:data:`PyDateTime_DateType`. *ob* must not "
6971
"be ``NULL``."
70-
msgstr ""
72+
msgstr "如果 *ob* 为 :c:data:`PyDateTime_DateType` 类型则返回真值。 *ob* 不能为 ``NULL``。"
7173

7274
#: ../../c-api/datetime.rst:42
7375
msgid ""
7476
"Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType` or a "
7577
"subtype of :c:data:`PyDateTime_DateTimeType`. *ob* must not be ``NULL``."
7678
msgstr ""
79+
"如果 *ob* 为 :c:data:`PyDateTime_DateTimeType` 类型或 "
80+
":c:data:`PyDateTime_DateTimeType` 的某个子类型则返回真值。 *ob* 不能为 ``NULL``。"
7781

7882
#: ../../c-api/datetime.rst:48
7983
msgid ""
8084
"Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType`. *ob* must "
8185
"not be ``NULL``."
8286
msgstr ""
87+
"如果 *ob* 为 :c:data:`PyDateTime_DateTimeType` 类型则返回真值。 *ob* 不能为 ``NULL``。"
8388

8489
#: ../../c-api/datetime.rst:54
8590
msgid ""
8691
"Return true if *ob* is of type :c:data:`PyDateTime_TimeType` or a subtype of"
8792
" :c:data:`PyDateTime_TimeType`. *ob* must not be ``NULL``."
8893
msgstr ""
94+
"如果 *ob* 的类型是 :c:data:`PyDateTime_TimeType` 或是 :c:data:`PyDateTime_TimeType` "
95+
"的子类型则返回真值。 *ob* 必须不为 ``NULL``。"
8996

9097
#: ../../c-api/datetime.rst:60
9198
msgid ""
9299
"Return true if *ob* is of type :c:data:`PyDateTime_TimeType`. *ob* must not "
93100
"be ``NULL``."
94-
msgstr ""
101+
msgstr "如果 *ob* 的类型是 :c:data:`PyDateTime_TimeType` 则返回真值。 *ob* 必须不为 ``NULL``。"
95102

96103
#: ../../c-api/datetime.rst:66
97104
msgid ""
98105
"Return true if *ob* is of type :c:data:`PyDateTime_DeltaType` or a subtype "
99106
"of :c:data:`PyDateTime_DeltaType`. *ob* must not be ``NULL``."
100107
msgstr ""
108+
"如果 *ob* 为 :c:data:`PyDateTime_DeltaType` 类型或 :c:data:`PyDateTime_DeltaType` "
109+
"的某个子类型则返回真值。 *ob* 不能为 ``NULL``。"
101110

102111
#: ../../c-api/datetime.rst:72
103112
msgid ""
104113
"Return true if *ob* is of type :c:data:`PyDateTime_DeltaType`. *ob* must not"
105114
" be ``NULL``."
106-
msgstr ""
115+
msgstr "如果 *ob* 为 :c:data:`PyDateTime_DeltaType` 类型则返回真值。 *ob* 不能为 ``NULL``。"
107116

108117
#: ../../c-api/datetime.rst:78
109118
msgid ""
110119
"Return true if *ob* is of type :c:data:`PyDateTime_TZInfoType` or a subtype "
111120
"of :c:data:`PyDateTime_TZInfoType`. *ob* must not be ``NULL``."
112121
msgstr ""
122+
"如果 *ob* 为 :c:data:`PyDateTime_TZInfoType` 类型或 "
123+
":c:data:`PyDateTime_TZInfoType` 的某个子类型则返回真值。 *ob* 不能为 ``NULL``。"
113124

114125
#: ../../c-api/datetime.rst:84
115126
msgid ""
116127
"Return true if *ob* is of type :c:data:`PyDateTime_TZInfoType`. *ob* must "
117128
"not be ``NULL``."
118129
msgstr ""
130+
"如果 *ob* 的类型是 :c:data:`PyDateTime_TZInfoType` 则返回真值。 *ob* 不能为 ``NULL``。"
119131

120132
#: ../../c-api/datetime.rst:88
121133
msgid "Macros to create objects:"
@@ -125,7 +137,7 @@ msgstr "用于创建对象的宏:"
125137
msgid ""
126138
"Return a :class:`datetime.date` object with the specified year, month and "
127139
"day."
128-
msgstr ""
140+
msgstr "返回指定年、月、日的 :class:`datetime.date` 对象。"
129141

130142
#: ../../c-api/datetime.rst:97
131143
msgid ""

library/decimal.po

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,28 +1517,30 @@ msgid ""
15171517
":meth:`exp` and :meth:`ln` functions. The result is well-defined but only "
15181518
"\"almost always correctly-rounded\"."
15191519
msgstr ""
1520+
"C 模块计算 :meth:`power` 时会使用已正确舍入的 :meth:`exp` 和 :meth:`ln` 函数。 "
1521+
"结果是经过良好定义的,但仅限于“几乎总是正确地舍入”。"
15201522

15211523
#: ../../library/decimal.rst:1365
15221524
msgid ""
15231525
"With three arguments, compute ``(x**y) % modulo``. For the three argument "
15241526
"form, the following restrictions on the arguments hold:"
1525-
msgstr ""
1527+
msgstr "带有三个参数时,计算 ``(x**y) % modulo``。 对于三个参数的形式,参数将会应用以下限制:"
15261528

15271529
#: ../../library/decimal.rst:1368
15281530
msgid "all three arguments must be integral"
1529-
msgstr ""
1531+
msgstr "三个参数必须都是整数"
15301532

15311533
#: ../../library/decimal.rst:1369
15321534
msgid "``y`` must be nonnegative"
1533-
msgstr ""
1535+
msgstr "``y`` 必须是非负数"
15341536

15351537
#: ../../library/decimal.rst:1370
15361538
msgid "at least one of ``x`` or ``y`` must be nonzero"
1537-
msgstr ""
1539+
msgstr "``x`` 或 ``y`` 至少有一个不为零"
15381540

15391541
#: ../../library/decimal.rst:1371
15401542
msgid "``modulo`` must be nonzero and have at most 'precision' digits"
1541-
msgstr ""
1543+
msgstr "``modulo`` 必须不为零且至多有 'precision' 位"
15421544

15431545
#: ../../library/decimal.rst:1373
15441546
msgid ""

library/io.po

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
# ww song <[email protected]>, 2018
99
# Meng Du <[email protected]>, 2019
1010
# Wu Pipi, 2019
11-
# ppcfish <[email protected]>, 2019
1211
# Freesand Leo <[email protected]>, 2019
12+
# ppcfish <[email protected]>, 2019
1313
#
1414
#, fuzzy
1515
msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818
"Report-Msgid-Bugs-To: \n"
1919
"POT-Creation-Date: 2019-09-01 14:24+0000\n"
2020
"PO-Revision-Date: 2017-02-16 23:15+0000\n"
21-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
21+
"Last-Translator: ppcfish <ppcfish@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"
@@ -68,12 +68,16 @@ msgid ""
6868
"stream will raise a :exc:`TypeError`. So will giving a :class:`bytes` "
6969
"object to the ``write()`` method of a text stream."
7070
msgstr ""
71+
"所有流对提供给它们的数据类型都很敏感。例如将 :class:`str` 对象给二进制流的 ``write()`` 方法会引发 "
72+
":exc:`TypeError`。将 :class:`bytes` 对象提供给文本流的 ``write()`` 方法也是如此。"
7173

7274
#: ../../library/io.rst:45
7375
msgid ""
7476
"Operations that used to raise :exc:`IOError` now raise :exc:`OSError`, since"
7577
" :exc:`IOError` is now an alias of :exc:`OSError`."
7678
msgstr ""
79+
"由于 :exc:`IOError` 现在是 :exc:`OSError` 的别名,因此用于引发 :exc:`IOError` 的操作现在会引发 "
80+
":exc:`OSError` 。"
7781

7882
#: ../../library/io.rst:51 ../../library/io.rst:776 ../../library/io.rst:1031
7983
msgid "Text I/O"
@@ -91,12 +95,12 @@ msgstr ""
9195
msgid ""
9296
"The easiest way to create a text stream is with :meth:`open()`, optionally "
9397
"specifying an encoding::"
94-
msgstr ""
98+
msgstr "创建文本流的最简单方法是使用 :meth:`open()`,可以选择指定编码:"
9599

96100
#: ../../library/io.rst:63
97101
msgid ""
98102
"In-memory text streams are also available as :class:`StringIO` objects::"
99-
msgstr ""
103+
msgstr "内存中文本流也可以作为 :class:`StringIO` 对象使用:"
100104

101105
#: ../../library/io.rst:67
102106
msgid ""
@@ -126,7 +130,7 @@ msgstr ""
126130
#: ../../library/io.rst:85
127131
msgid ""
128132
"In-memory binary streams are also available as :class:`BytesIO` objects::"
129-
msgstr ""
133+
msgstr "内存中二进制流也可以作为 :class:`BytesIO` 对象使用:"
130134

131135
#: ../../library/io.rst:89
132136
msgid ""

0 commit comments

Comments
 (0)