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

Skip to content

Commit 346aaa9

Browse files
[po] auto sync
1 parent 8d0526a commit 346aaa9

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.45%", "updated_at": "2023-11-23T07:56:01Z"}
1+
{"translation": "92.46%", "updated_at": "2023-11-23T22:55:44Z"}

c-api/unicode.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,26 +904,30 @@ msgid ""
904904
":c:func:`PyUnicode_New`. Since Unicode strings are supposed to be "
905905
"immutable, the string must not be shared, or have been hashed yet."
906906
msgstr ""
907+
"将一个字符写入到字符串。 字符串必须通过 :c:func:`PyUnicode_New` 创建。 由于 Unicode "
908+
"字符串应当是不可变的,因此该字符串不能被共享,或是被哈希。"
907909

908910
#: ../../c-api/unicode.rst:640
909911
msgid ""
910912
"This function checks that *unicode* is a Unicode object, that the index is "
911913
"not out of bounds, and that the object can be modified safely (i.e. that it "
912914
"its reference count is one)."
913-
msgstr ""
915+
msgstr "该函数将检查 *unicode* 是否为 Unicode 对象,索引是否未越界,并且对象是否可被安全地修改(即其引用计数为一)。"
914916

915917
#: ../../c-api/unicode.rst:649
916918
msgid ""
917919
"Read a character from a string. This function checks that *unicode* is a "
918920
"Unicode object and the index is not out of bounds, in contrast to "
919921
":c:func:`PyUnicode_READ_CHAR`, which performs no error checking."
920922
msgstr ""
923+
"从字符串读取一个字符。 该函数将检查 *unicode* 是否为 Unicode 对象且索引是否未越界,这不同于 "
924+
":c:func:`PyUnicode_READ_CHAR`,后者不会执行任何错误检查。"
921925

922926
#: ../../c-api/unicode.rst:659
923927
msgid ""
924928
"Return a substring of *str*, from character index *start* (included) to "
925929
"character index *end* (excluded). Negative indices are not supported."
926-
msgstr ""
930+
msgstr "返回 *str* 的一个子串,从字符索引 *start* (包括) 到字符索引 *end* (不包括)。 不支持负索引号。"
927931

928932
#: ../../c-api/unicode.rst:668
929933
msgid ""

0 commit comments

Comments
 (0)