🌐 AI搜索 & 代理 主页
Skip to content

Commit 7ac79af

Browse files
[po] auto sync
1 parent 6d7b843 commit 7ac79af

File tree

8 files changed

+15048
-14916
lines changed

8 files changed

+15048
-14916
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "100.00%", "updated_at": "2025-11-24T07:15:25Z"}
1+
{"translation": "99.94%", "updated_at": "2025-11-25T15:15:28Z"}

c-api/conversion.po

Lines changed: 48 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-11-11 14:15+0000\n"
15+
"POT-Creation-Date: 2025-11-25 14:15+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -283,23 +283,51 @@ msgstr ""
283283
"返回值是一个指向包含转换后字符串的 *buffer* 的指针,如果转换失败则为 ``NULL``。 调用方要负责调用 "
284284
":c:func:`PyMem_Free` 来释放返回的字符串。"
285285

286-
#: ../../c-api/conversion.rst:167
286+
#: ../../c-api/conversion.rst:168
287287
msgid ""
288-
"Case insensitive comparison of strings. The function works almost "
289-
"identically to :c:func:`!strcmp` except that it ignores the case."
290-
msgstr "不区分大小写的字符串比较。 除了忽略大小写之外,该函数的工作方式与 :c:func:`!strcmp` 相同。"
288+
"Case insensitive comparison of strings. These functions work almost "
289+
"identically to :c:func:`!strcmp` and :c:func:`!strncmp` (respectively), "
290+
"except that they ignore the case of ASCII characters."
291+
msgstr ""
292+
293+
#: ../../c-api/conversion.rst:172
294+
msgid ""
295+
"Return ``0`` if the strings are equal, a negative value if *str1* sorts "
296+
"lexicographically before *str2*, or a positive value if it sorts after."
297+
msgstr ""
291298

292-
#: ../../c-api/conversion.rst:173
299+
#: ../../c-api/conversion.rst:175
293300
msgid ""
294-
"Case insensitive comparison of strings. The function works almost "
295-
"identically to :c:func:`!strncmp` except that it ignores the case."
296-
msgstr "不区分大小写的字符串比较。 除了忽略大小写之外,该函数的工作方式与 :c:func:`!strncmp` 相同。"
301+
"In the *str1* or *str2* arguments, a NUL byte marks the end of the string. "
302+
"For :c:func:`!PyOS_mystrnicmp`, the *size* argument gives the maximum size "
303+
"of the string, as if NUL was present at the index given by *size*."
304+
msgstr ""
305+
306+
#: ../../c-api/conversion.rst:179
307+
msgid "These functions do not use the locale."
308+
msgstr ""
309+
310+
#: ../../c-api/conversion.rst:185
311+
msgid "Case insensitive comparison of strings."
312+
msgstr ""
297313

298-
#: ../../c-api/conversion.rst:178
314+
#: ../../c-api/conversion.rst:187
315+
msgid ""
316+
"On Windows, these are aliases of :c:func:`!stricmp` and :c:func:`!strnicmp`,"
317+
" respectively."
318+
msgstr ""
319+
320+
#: ../../c-api/conversion.rst:190
321+
msgid ""
322+
"On other platforms, they are aliases of :c:func:`PyOS_mystricmp` and "
323+
":c:func:`PyOS_mystrnicmp`, respectively."
324+
msgstr ""
325+
326+
#: ../../c-api/conversion.rst:195
299327
msgid "Character classification and conversion"
300328
msgstr "字符分类与转换"
301329

302-
#: ../../c-api/conversion.rst:180
330+
#: ../../c-api/conversion.rst:197
303331
msgid ""
304332
"The following macros provide locale-independent (unlike the C standard "
305333
"library ``ctype.h``) character classification and conversion. The argument "
@@ -308,46 +336,46 @@ msgstr ""
308336
"下列宏提供了独立于语言区域 (不同于 C 标准库 ``ctype.h``) 的字符分类与转换。 其参数必须是一个有符号或无符号的 "
309337
":c:expr:`char`。"
310338

311-
#: ../../c-api/conversion.rst:187
339+
#: ../../c-api/conversion.rst:204
312340
msgid "Return true if the character *c* is an alphanumeric character."
313341
msgstr "如果字符 *c* 为字母数字类字符则返回真值。"
314342

315-
#: ../../c-api/conversion.rst:192
343+
#: ../../c-api/conversion.rst:209
316344
msgid ""
317345
"Return true if the character *c* is an alphabetic character (``a-z`` and "
318346
"``A-Z``)."
319347
msgstr "如果字符 *c* 为字母类字符 (``a-z`` 和 ``A-Z``) 则返回真值。"
320348

321-
#: ../../c-api/conversion.rst:197
349+
#: ../../c-api/conversion.rst:214
322350
msgid "Return true if the character *c* is a decimal digit (``0-9``)."
323351
msgstr "如果字符 *c* 为十进制数码 (``0-9``) 则返回真值。"
324352

325-
#: ../../c-api/conversion.rst:202
353+
#: ../../c-api/conversion.rst:219
326354
msgid ""
327355
"Return true if the character *c* is a lowercase ASCII letter (``a-z``)."
328356
msgstr "如果字符 *c* 为小写 ASCII 字母 (``a-z``) 则返回真值。"
329357

330-
#: ../../c-api/conversion.rst:207
358+
#: ../../c-api/conversion.rst:224
331359
msgid ""
332360
"Return true if the character *c* is an uppercase ASCII letter (``A-Z``)."
333361
msgstr "如果字符 *c* 是一个大写 ASCII 字母 (``A-Z``) 则返回真值。"
334362

335-
#: ../../c-api/conversion.rst:212
363+
#: ../../c-api/conversion.rst:229
336364
msgid ""
337365
"Return true if the character *c* is a whitespace character (space, tab, "
338366
"carriage return, newline, vertical tab, or form feed)."
339367
msgstr "如果字符 *c* 是一个空白字符 (空格符, 制表符, 回车符, 换行符, 垂直制表符或换页符) 则返回真值。"
340368

341-
#: ../../c-api/conversion.rst:218
369+
#: ../../c-api/conversion.rst:235
342370
msgid ""
343371
"Return true if the character *c* is a hexadecimal digit (``0-9``, ``a-f``, "
344372
"and ``A-F``)."
345373
msgstr "如果字符 *c* 是一个十六进制数码 (``0-9``, ``a-f`` 和 ``A-F``) 则返回真值。"
346374

347-
#: ../../c-api/conversion.rst:224
375+
#: ../../c-api/conversion.rst:241
348376
msgid "Return the lowercase equivalent of the character *c*."
349377
msgstr "返回字符 *c* 的小写形式。"
350378

351-
#: ../../c-api/conversion.rst:229
379+
#: ../../c-api/conversion.rst:246
352380
msgid "Return the uppercase equivalent of the character *c*."
353381
msgstr "返回字符 *c* 的大写形式。"

c-api/veryhigh.po

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# python-doc bot, 2025
87
# 汇民 王 <whuim@qq.com>, 2025
98
# Freesand Leo <yuqinju@163.com>, 2025
9+
# python-doc bot, 2025
1010
#
1111
#, fuzzy
1212
msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.14\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2025-11-17 14:14+0000\n"
16+
"POT-Creation-Date: 2025-11-25 14:15+0000\n"
1717
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
18-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
18+
"Last-Translator: python-doc bot, 2025\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -538,6 +538,44 @@ msgstr ":py:class:`ast.FunctionType`"
538538
msgid ":pep:`484`"
539539
msgstr ":pep:`484`"
540540

541+
#: ../../c-api/veryhigh.rst:402
542+
msgid "Stack Effects"
543+
msgstr ""
544+
545+
#: ../../c-api/veryhigh.rst:405
546+
msgid ":py:func:`dis.stack_effect`"
547+
msgstr ""
548+
549+
#: ../../c-api/veryhigh.rst:410
550+
msgid "Sentinel value representing an invalid stack effect."
551+
msgstr ""
552+
553+
#: ../../c-api/veryhigh.rst:412
554+
msgid "This is currently equivalent to ``INT_MAX``."
555+
msgstr ""
556+
557+
#: ../../c-api/veryhigh.rst:419
558+
msgid "Compute the stack effect of *opcode* with argument *oparg*."
559+
msgstr "使用参数 *oparg* 计算 *opcode* 的堆栈效果。"
560+
561+
#: ../../c-api/veryhigh.rst:421 ../../c-api/veryhigh.rst:435
562+
msgid ""
563+
"On success, this function returns the stack effect; on failure, this returns"
564+
" :c:macro:`PY_INVALID_STACK_EFFECT`."
565+
msgstr ""
566+
567+
#: ../../c-api/veryhigh.rst:429
568+
msgid ""
569+
"Similar to :c:func:`PyCompile_OpcodeStackEffect`, but don't include the "
570+
"stack effect of jumping if *jump* is zero."
571+
msgstr ""
572+
573+
#: ../../c-api/veryhigh.rst:432
574+
msgid ""
575+
"If *jump* is ``0``, this will not include the stack effect of jumping, but "
576+
"if *jump* is ``1`` or ``-1``, this will include it."
577+
msgstr ""
578+
541579
#: ../../c-api/veryhigh.rst:360 ../../c-api/veryhigh.rst:368
542580
#: ../../c-api/veryhigh.rst:377 ../../c-api/veryhigh.rst:386
543581
msgid "Py_CompileString (C function)"

extending/extending.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# python-doc bot, 2025
87
# Freesand Leo <yuqinju@163.com>, 2025
8+
# python-doc bot, 2025
99
#
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-10-17 14:15+0000\n"
15+
"POT-Creation-Date: 2025-11-25 14:15+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
17-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
17+
"Last-Translator: python-doc bot, 2025\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -871,14 +871,14 @@ msgstr ""
871871
#: ../../extending/extending.rst:428
872872
msgid ""
873873
"When embedding Python, the :c:func:`!PyInit_spam` function is not called "
874-
"automatically unless there's an entry in the :c:data:`!PyImport_Inittab` "
874+
"automatically unless there's an entry in the :c:data:`PyImport_Inittab` "
875875
"table. To add the module to the initialization table, use "
876876
":c:func:`PyImport_AppendInittab`, optionally followed by an import of the "
877877
"module::"
878878
msgstr ""
879-
"当嵌入 Python 时,:c:func:`!PyInit_spam` 函数将不会被自动调用除非在 "
880-
":c:data:`!PyImport_Inittab` 表中有条目。 要将模块添加到初始化表中,请使用 "
881-
":c:func:`PyImport_AppendInittab`,并可选择随后导入该模块::"
879+
"当嵌入 Python 时,除非 :c:data:`PyImport_Inittab` 表中有条目,否则不会自动调用 "
880+
":c:func:`!PyInit_spam` 函数。 要将模块添���到初始化表中,请使用 "
881+
":c:func:`PyImport_AppendInittab`,可选择随后导入该模块::"
882882

883883
#: ../../extending/extending.rst:433
884884
msgid ""

0 commit comments

Comments
 (0)