Skip to content

Commit cd02151

Browse files
[po] auto sync
1 parent eedf2e1 commit cd02151

File tree

5 files changed

+36
-10
lines changed

5 files changed

+36
-10
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.71%", "updated_at": "2025-05-25T08:56:27Z"}
1+
{"translation": "81.73%", "updated_at": "2025-05-26T02:30:03Z"}

library/decimal.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
8+
# Freesand Leo <yuqinju@163.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2025-05-23 14:55+0000\n"
1516
"PO-Revision-Date: 2025-05-08 05:09+0000\n"
16-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
1718
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -179,7 +180,7 @@ msgstr ""
179180

180181
#: ../../library/decimal.rst:125
181182
msgid "Quick-start tutorial"
182-
msgstr ""
183+
msgstr "快速入门教程"
183184

184185
#: ../../library/decimal.rst:127
185186
msgid ""
@@ -1667,11 +1668,11 @@ msgstr ""
16671668
msgid ""
16681669
"An integer in the range [``1``, :const:`MAX_PREC`] that sets the precision "
16691670
"for arithmetic operations in the context."
1670-
msgstr ""
1671+
msgstr "一个 [``1``, :const:`MAX_PREC`] 范围内的整数,用于设置上下文中算术运算符的精度。"
16711672

16721673
#: ../../library/decimal.rst:1081
16731674
msgid "One of the constants listed in the section `Rounding Modes`_."
1674-
msgstr ""
1675+
msgstr "在 `Rounding Modes`_ 小节中列出的常量之一。"
16751676

16761677
#: ../../library/decimal.rst:1086
16771678
msgid ""

library/json.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
8+
# Freesand Leo <yuqinju@163.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2025-05-23 14:55+0000\n"
1516
"PO-Revision-Date: 2025-05-08 05:09+0000\n"
16-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
1718
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -50,6 +51,8 @@ msgid ""
5051
"ambiguous. All values in Python are objects. In JSON, an object refers to "
5152
"any data wrapped in curly braces, similar to a Python dictionary."
5253
msgstr ""
54+
" 术语“对象”在 Python 语言 JSON 处理的上下文中存在歧义。 Python 中的所有值都是对象。 在 JSON "
55+
"中,对象则是指包裹在花括号里的任何数据,这类似于 Python 字典。"
5356

5457
#: ../../library/json.rst:27
5558
msgid ""

library/re.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
8+
# Freesand Leo <yuqinju@163.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2025-05-23 14:55+0000\n"
1516
"PO-Revision-Date: 2025-05-08 05:10+0000\n"
16-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
1718
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1560,7 +1561,7 @@ msgstr "这样的话,分隔组将会出现在结果列表中同样的位置。
15601561
msgid ""
15611562
"Adjacent empty matches are not possible, but an empty match can occur "
15621563
"immediately after a non-empty match."
1563-
msgstr ""
1564+
msgstr "相邻的空匹配没有可能,但一个空匹配可以在一个非空匹配之后立即发生。"
15641565

15651566
#: ../../library/re.rst:994
15661567
msgid ""
@@ -1698,14 +1699,16 @@ msgid ""
16981699
"The optional argument *count* is the maximum number of pattern occurrences "
16991700
"to be replaced; *count* must be a non-negative integer. If omitted or zero,"
17001701
" all occurrences will be replaced."
1701-
msgstr ""
1702+
msgstr "可选参数 *count* 是要替换的模式的最大出现次数;*count* 必须是一个非负整数。 如果省略或为零,则将全部替换。"
17021703

17031704
#: ../../library/re.rst:1097
17041705
msgid ""
17051706
"Adjacent empty matches are not possible, but an empty match can occur "
17061707
"immediately after a non-empty match. As a result, ``sub('x*', '-', 'abxd')``"
17071708
" returns ``'-a-b--d-'`` instead of ``'-a-b-d-'``."
17081709
msgstr ""
1710+
"相邻的空匹配没有可能,但一个空匹配可以在一个非空匹配之后立即发生。 因此,``sub('x*', '-', 'abxd')`` 将返回 ``'-a-b"
1711+
"--d-'`` 而不是 ``'-a-b-d-'``。"
17091712

17101713
#: ../../library/re.rst:1104
17111714
msgid ""
@@ -1739,6 +1742,7 @@ msgid ""
17391742
"Unknown escapes in *repl* consisting of ``'\\'`` and an ASCII letter now are"
17401743
" errors. An empty match can occur immediately after a non-empty match."
17411744
msgstr ""
1745+
"在 *repl* 中由 ``'\\'`` 加一个 ASCII 字母组成的未知转义序列现在将导致错误。 一个空匹配可以在一个非空匹配之后立即发生。"
17421746

17431747
#: ../../library/re.rst:1133
17441748
msgid ""

library/stdtypes.po

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2734,6 +2734,8 @@ msgid ""
27342734
"specified *fillchar* (default is an ASCII space). The original string is "
27352735
"returned if *width* is less than or equal to ``len(s)``. For example::"
27362736
msgstr ""
2737+
"返回长度为 *width* 的居中字符串。 使用指定的 *fillchar* 填充空位(默认为 ASCII 空格)。 如果 *width* 小于等于 "
2738+
"``len(s)`` 则返回原字符串。 例如::"
27372739

27382740
#: ../../library/stdtypes.rst:1657
27392741
msgid ""
@@ -2744,6 +2746,12 @@ msgid ""
27442746
">>> 'Python'.center(4)\n"
27452747
"'Python'"
27462748
msgstr ""
2749+
">>> 'Python'.center(10)\n"
2750+
"' Python '\n"
2751+
">>> 'Python'.center(10, '-')\n"
2752+
"'--Python--'\n"
2753+
">>> 'Python'.center(4)\n"
2754+
"'Python'"
27472755

27482756
#: ../../library/stdtypes.rst:1667
27492757
msgid ""
@@ -2758,7 +2766,7 @@ msgstr ""
27582766
msgid ""
27592767
"If *sub* is empty, returns the number of empty strings between characters "
27602768
"which is the length of the string plus one. For example::"
2761-
msgstr ""
2769+
msgstr "如果 *sub* 为空,则返回字符之间的空字符串数,即字符串的长度加一。 例如::"
27622770

27632771
#: ../../library/stdtypes.rst:1674
27642772
msgid ""
@@ -2773,6 +2781,16 @@ msgid ""
27732781
">>> 'spam, spam, spam'.count('')\n"
27742782
"17"
27752783
msgstr ""
2784+
">>> 'spam, spam, spam'.count('spam')\n"
2785+
"3\n"
2786+
">>> 'spam, spam, spam'.count('spam', 5)\n"
2787+
"2\n"
2788+
">>> 'spam, spam, spam'.count('spam', 5, 10)\n"
2789+
"1\n"
2790+
">>> 'spam, spam, spam'.count('eggs')\n"
2791+
"0\n"
2792+
">>> 'spam, spam, spam'.count('')\n"
2793+
"17"
27762794

27772795
#: ../../library/stdtypes.rst:1687
27782796
msgid "Return the string encoded to :class:`bytes`."

0 commit comments

Comments
 (0)