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

Skip to content

Commit 2aa3ea1

Browse files
[po] auto sync
1 parent c5eb65e commit 2aa3ea1

11 files changed

Lines changed: 212 additions & 186 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.24%", "updated_at": "2023-12-16T08:55:43Z"}
1+
{"translation": "92.27%", "updated_at": "2023-12-16T09:55:50Z"}

c-api/unicode.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,6 +1829,8 @@ msgid ""
18291829
"end (*direction* == ``-1`` means to do a prefix match, *direction* == ``1`` "
18301830
"a suffix match), ``0`` otherwise. Return ``-1`` if an error occurred."
18311831
msgstr ""
1832+
"如果 *substr* 在给定的端点 (*direction* == ``-1`` 表示前缀匹配, *direction* == ``1`` "
1833+
"表示后缀匹配) 与 ``unicode[start:end]`` 相匹配则返回 ``1``,否则返回 ``0``。 如果发生错误则返回 ``-1``。"
18321834

18331835
#: ../../c-api/unicode.rst:1360
18341836
msgid ""
@@ -1858,14 +1860,16 @@ msgstr ""
18581860
msgid ""
18591861
"Return the number of non-overlapping occurrences of *substr* in "
18601862
"``unicode[start:end]``. Return ``-1`` if an error occurred."
1861-
msgstr ""
1863+
msgstr "返回 *substr* 在 ``unicode[start:end]`` 中不重叠出现的次数。 如果发生错误则返回 ``-1``。"
18621864

18631865
#: ../../c-api/unicode.rst:1392
18641866
msgid ""
18651867
"Replace at most *maxcount* occurrences of *substr* in *unicode* with "
18661868
"*replstr* and return the resulting Unicode object. *maxcount* == ``-1`` "
18671869
"means replace all occurrences."
18681870
msgstr ""
1871+
"将 *unicode* 中 *substr* 替换为 *replstr* 至多 *maxcount* 次并返回结果 Unicode 对象。 "
1872+
"*maxcount* == ``-1`` 表示全部替换。"
18691873

18701874
#: ../../c-api/unicode.rst:1399
18711875
msgid ""
@@ -1925,13 +1929,13 @@ msgstr "根据 *format* 和 *args* 返回一个新的字符串对象;这等同
19251929
msgid ""
19261930
"Check whether *substr* is contained in *unicode* and return true or false "
19271931
"accordingly."
1928-
msgstr ""
1932+
msgstr "检查 *substr* 是否包含在 *unicode* 中并相应返回真值或假值。"
19291933

19301934
#: ../../c-api/unicode.rst:1439
19311935
msgid ""
19321936
"*substr* has to coerce to a one element Unicode string. ``-1`` is returned "
19331937
"if there was an error."
1934-
msgstr ""
1938+
msgstr "*substr* 必须强制转为一个单元素 Unicode 字符串。 如果发生错误则返回 ``-1``。"
19351939

19361940
#: ../../c-api/unicode.rst:1445
19371941
msgid ""

library/doctest.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ msgid ""
2121
msgstr ""
2222
"Project-Id-Version: Python 3.12\n"
2323
"Report-Msgid-Bugs-To: \n"
24-
"POT-Creation-Date: 2023-12-01 14:14+0000\n"
24+
"POT-Creation-Date: 2023-12-15 14:14+0000\n"
2525
"PO-Revision-Date: 2021-06-28 01:04+0000\n"
2626
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2727
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -1797,7 +1797,7 @@ msgid ""
17971797
"use them to create a :class:`DocTest` object."
17981798
msgstr "一个处理类,用于从一个字符串中提取交互式的用例,并使用它们来创建一个 :class:`DocTest` 对象。"
17991799

1800-
#: ../../library/doctest.rst:1412 ../../library/doctest.rst:1480
1800+
#: ../../library/doctest.rst:1412
18011801
msgid ":class:`DocTestParser` defines the following methods:"
18021802
msgstr ":class:`DocTestParser` 定义了以下方法:"
18031803

@@ -1905,6 +1905,10 @@ msgstr ""
19051905
"可选的关键字参数 *optionflags* 可以用来控制测试运行器如何比较预期输出和实际输出,以及如何显示失败。更多信息,请参见章节 "
19061906
":ref:`doctest-options` 。"
19071907

1908+
#: ../../library/doctest.rst:1480
1909+
msgid ":class:`DocTestRunner` defines the following methods:"
1910+
msgstr ":class:`DocTestRunner` 定义了以下方法:"
1911+
19081912
#: ../../library/doctest.rst:1485
19091913
msgid ""
19101914
"Report that the test runner is about to process the given example. This "

library/locale.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,8 @@ msgid ""
546546
":const:`!LC_\\*` values except :const:`LC_ALL`. It defaults to "
547547
":const:`LC_CTYPE`."
548548
msgstr ""
549+
"以包含 *语言代码*, *编码格式* 的序列形式返回指定语言区域类别的当前设置。 *category* 可以是某个 :const:`!LC_\\*` "
550+
"值但不能是 :const:`LC_ALL`。 默认值为 :const:`LC_CTYPE`。"
549551

550552
#: ../../library/locale.rst:322
551553
msgid ""

0 commit comments

Comments
 (0)