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

Skip to content

Commit 6cc3529

Browse files
[po] auto sync
1 parent 6cfab67 commit 6cc3529

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "90.21%", "updated_at": "2023-08-29T15:57:22Z"}
1+
{"translation": "90.23%", "updated_at": "2023-08-30T01:20:23Z"}

c-api/datetime.po

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ msgid ""
3838
"puts a pointer to a C structure into a static variable, "
3939
":c:data:`!PyDateTimeAPI`, that is used by the following macros."
4040
msgstr ""
41+
":mod:`datetime` 模块提供了各种日期和时间对象。 在使用这些函数之前,必须在你的源代码中包含头文件 :file:`datetime.h` "
42+
"(请注意此文件并未包括在 :file:`Python.h` 中),并且 :c:macro:`!PyDateTime_IMPORT` "
43+
"必须被发起调用,通常是作为模块初始化函数的一部分。 这个宏会将指向特定 C 结构体的指针放入一个静态变量 "
44+
":c:data:`!PyDateTimeAPI` 中,它将被下列的宏所使用。"
4145

4246
#: ../../c-api/datetime.rst:18
4347
msgid "This subtype of :c:type:`PyObject` represents a Python date object."
@@ -120,6 +124,8 @@ msgid ""
120124
" :c:data:`!PyDateTime_DateType`. *ob* must not be ``NULL``. This function "
121125
"always succeeds."
122126
msgstr ""
127+
"如果 *ob* 为 :c:data:`PyDateTime_DateType` 类型或 :c:data:`!PyDateTime_DateType` "
128+
"的某个子类型则返回真值。 *ob* 不能为 ``NULL``。 此函数总是会成功执行。"
123129

124130
#: ../../c-api/datetime.rst:80
125131
msgid ""
@@ -135,6 +141,9 @@ msgid ""
135141
"subtype of :c:data:`!PyDateTime_DateTimeType`. *ob* must not be ``NULL``. "
136142
"This function always succeeds."
137143
msgstr ""
144+
"如果 *ob* 为 :c:data:`PyDateTime_DateTimeType` 类型或 "
145+
":c:data:`!PyDateTime_DateTimeType` 的某个子类型则返回真值。 *ob* 不能为 ``NULL``。 "
146+
"此函数总是会成功执行。"
138147

139148
#: ../../c-api/datetime.rst:93
140149
msgid ""
@@ -150,6 +159,8 @@ msgid ""
150159
" :c:data:`!PyDateTime_TimeType`. *ob* must not be ``NULL``. This function "
151160
"always succeeds."
152161
msgstr ""
162+
"如果 *ob* 为 :c:data:`PyDateTime_TimeType` 类型或 :c:data:`!PyDateTime_TimeType` "
163+
"的某个子类型则返回真值。 *ob* 不能为 ``NULL``。 此函数总是会成功执行。"
153164

154165
#: ../../c-api/datetime.rst:106
155166
msgid ""
@@ -165,6 +176,8 @@ msgid ""
165176
"of :c:data:`!PyDateTime_DeltaType`. *ob* must not be ``NULL``. This "
166177
"function always succeeds."
167178
msgstr ""
179+
"如果 *ob* 为 :c:data:`PyDateTime_DeltaType` 类型或 :c:data:`!PyDateTime_DeltaType`"
180+
" 的某个子类型则返回真值。 *ob* 不能为 ``NULL``。 此函数总是会成功执行。"
168181

169182
#: ../../c-api/datetime.rst:119
170183
msgid ""
@@ -180,6 +193,9 @@ msgid ""
180193
"of :c:data:`!PyDateTime_TZInfoType`. *ob* must not be ``NULL``. This "
181194
"function always succeeds."
182195
msgstr ""
196+
"如果 *ob* 为 :c:data:`PyDateTime_TZInfoType` 类型或 "
197+
":c:data:`!PyDateTime_TZInfoType` 的某个子类型则返回真值。 *ob* 不能为 ``NULL``。 "
198+
"此函数总是会成功执行。"
183199

184200
#: ../../c-api/datetime.rst:132
185201
msgid ""
@@ -260,6 +276,8 @@ msgid ""
260276
":c:type:`PyDateTime_DateTime`). The argument must not be ``NULL``, and the "
261277
"type is not checked:"
262278
msgstr ""
279+
"一些用来从日期对象中提取字段的宏。 参数必须是 :c:type:`PyDateTime_Date` 包括其子类 (如 "
280+
":c:type:`PyDateTime_DateTime`) 的实例。 参数不能为 ``NULL``,且不会检查类型:"
263281

264282
#: ../../c-api/datetime.rst:202
265283
msgid "Return the year, as a positive int."
@@ -279,6 +297,8 @@ msgid ""
279297
"instance of :c:type:`PyDateTime_DateTime`, including subclasses. The "
280298
"argument must not be ``NULL``, and the type is not checked:"
281299
msgstr ""
300+
"一些用来从日期时间对象中提取字段的宏。 参数必须是 :c:type:`PyDateTime_DateTime` 包括其子类的实例。 参数不能为 "
301+
"``NULL``,并且不会检查类型:"
282302

283303
#: ../../c-api/datetime.rst:221 ../../c-api/datetime.rst:259
284304
msgid "Return the hour, as an int from 0 through 23."
@@ -310,13 +330,17 @@ msgid ""
310330
"instance of :c:type:`PyDateTime_Time`, including subclasses. The argument "
311331
"must not be ``NULL``, and the type is not checked:"
312332
msgstr ""
333+
"一些用来从时间对象中提取字段的宏。 参数必须是 :c:type:`PyDateTime_Time` 包括其子类的实例。 参数不能为 "
334+
"``NULL``,且不会检查类型:"
313335

314336
#: ../../c-api/datetime.rst:291
315337
msgid ""
316338
"Macros to extract fields from time delta objects. The argument must be an "
317339
"instance of :c:type:`PyDateTime_Delta`, including subclasses. The argument "
318340
"must not be ``NULL``, and the type is not checked:"
319341
msgstr ""
342+
"一些用来从时间差对象中提取字段的宏。 参数必须是 :c:type:`PyDateTime_Delta` 包括其子类的实例。参数不能为 "
343+
"``NULL``,并且不会检查类型:"
320344

321345
#: ../../c-api/datetime.rst:297
322346
msgid "Return the number of days, as an int from -999999999 to 999999999."

0 commit comments

Comments
 (0)