Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 56 additions & 22 deletions c-api/conversion.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-10 16:45+0000\n"
"POT-Creation-Date: 2025-11-26 00:14+0000\n"
"PO-Revision-Date: 2023-12-11 18:26+0000\n"
"Last-Translator: Matt Wang <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -291,72 +291,106 @@ msgstr ""
"回傳值是指向 *buffer* 的指標,其中包含轉換後的字串,如果轉換失敗則回傳 "
"``NULL``。呼叫者負責透過呼叫 :c:func:`PyMem_Free` 來釋放回傳的字串。"

#: ../../c-api/conversion.rst:167
#: ../../c-api/conversion.rst:168
#, fuzzy
msgid ""
"Case insensitive comparison of strings. The function works almost "
"identically to :c:func:`!strcmp` except that it ignores the case."
"Case insensitive comparison of strings. These functions work almost "
"identically to :c:func:`!strcmp` and :c:func:`!strncmp` (respectively), "
"except that they ignore the case of ASCII characters."
msgstr ""
"不區分大小寫的字串比較。函式的作用方式幾乎與 :c:func:`!strcmp` 相同,只是它忽"
"略大小寫。"
"不區分大小寫的字串比較。函式的作用方式幾乎與 :c:func:`!strncmp` 相同,只是它"
"忽略大小寫。"

#: ../../c-api/conversion.rst:173
#: ../../c-api/conversion.rst:172
msgid ""
"Case insensitive comparison of strings. The function works almost "
"identically to :c:func:`!strncmp` except that it ignores the case."
"Return ``0`` if the strings are equal, a negative value if *str1* sorts "
"lexicographically before *str2*, or a positive value if it sorts after."
msgstr ""

#: ../../c-api/conversion.rst:175
msgid ""
"In the *str1* or *str2* arguments, a NUL byte marks the end of the string. "
"For :c:func:`!PyOS_mystrnicmp`, the *size* argument gives the maximum size "
"of the string, as if NUL was present at the index given by *size*."
msgstr ""
"不區分大小寫的字串比較。函式的作用方式幾乎與 :c:func:`!strncmp` 相同,只是它"
"忽略大小寫。"

#: ../../c-api/conversion.rst:178
#: ../../c-api/conversion.rst:179
msgid "These functions do not use the locale."
msgstr ""

#: ../../c-api/conversion.rst:185
msgid "Case insensitive comparison of strings."
msgstr ""

#: ../../c-api/conversion.rst:187
msgid ""
"On Windows, these are aliases of :c:func:`!stricmp` and :c:func:`!strnicmp`, "
"respectively."
msgstr ""

#: ../../c-api/conversion.rst:190
msgid ""
"On other platforms, they are aliases of :c:func:`PyOS_mystricmp` and :c:func:"
"`PyOS_mystrnicmp`, respectively."
msgstr ""

#: ../../c-api/conversion.rst:195
msgid "Character classification and conversion"
msgstr ""

#: ../../c-api/conversion.rst:180
#: ../../c-api/conversion.rst:197
msgid ""
"The following macros provide locale-independent (unlike the C standard "
"library ``ctype.h``) character classification and conversion. The argument "
"must be a signed or unsigned :c:expr:`char`."
msgstr ""

#: ../../c-api/conversion.rst:187
#: ../../c-api/conversion.rst:204
msgid "Return true if the character *c* is an alphanumeric character."
msgstr ""

#: ../../c-api/conversion.rst:192
#: ../../c-api/conversion.rst:209
msgid ""
"Return true if the character *c* is an alphabetic character (``a-z`` and ``A-"
"Z``)."
msgstr ""

#: ../../c-api/conversion.rst:197
#: ../../c-api/conversion.rst:214
msgid "Return true if the character *c* is a decimal digit (``0-9``)."
msgstr ""

#: ../../c-api/conversion.rst:202
#: ../../c-api/conversion.rst:219
msgid "Return true if the character *c* is a lowercase ASCII letter (``a-z``)."
msgstr ""

#: ../../c-api/conversion.rst:207
#: ../../c-api/conversion.rst:224
msgid ""
"Return true if the character *c* is an uppercase ASCII letter (``A-Z``)."
msgstr ""

#: ../../c-api/conversion.rst:212
#: ../../c-api/conversion.rst:229
msgid ""
"Return true if the character *c* is a whitespace character (space, tab, "
"carriage return, newline, vertical tab, or form feed)."
msgstr ""

#: ../../c-api/conversion.rst:218
#: ../../c-api/conversion.rst:235
msgid ""
"Return true if the character *c* is a hexadecimal digit (``0-9``, ``a-f``, "
"and ``A-F``)."
msgstr ""

#: ../../c-api/conversion.rst:224
#: ../../c-api/conversion.rst:241
msgid "Return the lowercase equivalent of the character *c*."
msgstr ""

#: ../../c-api/conversion.rst:229
#: ../../c-api/conversion.rst:246
msgid "Return the uppercase equivalent of the character *c*."
msgstr ""

#~ msgid ""
#~ "Case insensitive comparison of strings. The function works almost "
#~ "identically to :c:func:`!strcmp` except that it ignores the case."
#~ msgstr ""
#~ "不區分大小寫的字串比較。函式的作用方式幾乎與 :c:func:`!strcmp` 相同,只是"
#~ "它忽略大小寫。"
Loading