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

Skip to content

Commit d9fcbe8

Browse files
[po] auto sync
1 parent f165b6b commit d9fcbe8

4 files changed

Lines changed: 14 additions & 8 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "91.38%", "updated_at": "2023-10-09T13:02:19Z"}
1+
{"translation": "91.39%", "updated_at": "2023-10-09T13:57:55Z"}

library/gettext.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,10 @@ msgid ""
241241
"provided, otherwise :class:`GNUTranslations`. The class's constructor must "
242242
"take a single :term:`file object` argument."
243243
msgstr ""
244+
"根据 *domain*, *localedir* 和 *languages* 返回一个 ``*Translations`` 实例,它们将首先被传给 "
245+
":func:`find` 以获取由所关联的 :file:`.mo` 文件路径组成的列表。 具有相同 :file:`.mo` 文件名的实例会被缓存。 "
246+
"如果提供了 *class_* 则它将是被实例化的类,否则将是 :class:`GNUTranslations`。 该类的构造器必须接受一个 "
247+
":term:`file object` 参数。"
244248

245249
#: ../../library/gettext.rst:160
246250
msgid ""
@@ -275,6 +279,8 @@ msgid ""
275279
"on *domain* and *localedir* which are passed to the function "
276280
":func:`translation`."
277281
msgstr ""
282+
"这将在 Python 的内置命名空间中安装 :func:`!_` 函数,基于传给 :func:`translation` 函数的 *domain* 和 "
283+
"*localedir*。"
278284

279285
#: ../../library/gettext.rst:180
280286
msgid ""
@@ -288,7 +294,7 @@ msgid ""
288294
"As seen below, you usually mark the strings in your application that are "
289295
"candidates for translation, by wrapping them in a call to the :func:`!_` "
290296
"function, like this::"
291-
msgstr ""
297+
msgstr "如下所示,通常是将字符串包裹在对 :func:`!_` 函数的调用中,以标记应用程序中待翻译的字符串,就像这样::"
292298

293299
#: ../../library/gettext.rst:189
294300
msgid ""

library/typing.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,7 @@ msgstr ""
15791579

15801580
#: ../../library/typing.rst:1526
15811581
msgid "Building generic types and type aliases"
1582-
msgstr ""
1582+
msgstr "构造泛型类型与类型别名"
15831583

15841584
#: ../../library/typing.rst:1528
15851585
msgid ""
@@ -3290,7 +3290,7 @@ msgstr ""
32903290

32913291
#: ../../library/typing.rst:3267
32923292
msgid "Aliases to other concrete types"
3293-
msgstr ""
3293+
msgstr "其他具体类型的别名"
32943294

32953295
#: ../../library/typing.rst:3272
32963296
msgid ""
@@ -3353,7 +3353,7 @@ msgstr ""
33533353

33543354
#: ../../library/typing.rst:3318
33553355
msgid "Aliases to container ABCs in :mod:`collections.abc`"
3356-
msgstr ""
3356+
msgstr ":mod:`collections.abc` 中容器 ABC 的别名"
33573357

33583358
#: ../../library/typing.rst:3322
33593359
msgid "Deprecated alias to :class:`collections.abc.Set`."
@@ -3803,7 +3803,7 @@ msgstr ":issue:`38291`"
38033803

38043804
#: ../../library/typing.rst:3669
38053805
msgid "``typing`` versions of standard collections"
3806-
msgstr "标准多项集的 ``typing`` 版本"
3806+
msgstr "标准容器的 ``typing`` 版本"
38073807

38083808
#: ../../library/typing.rst:3670 ../../library/typing.rst:3674
38093809
msgid "3.9"

tutorial/introduction.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.12\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2023-07-29 02:08+0000\n"
20+
"POT-Creation-Date: 2023-10-06 14:14+0000\n"
2121
"PO-Revision-Date: 2021-06-28 01:50+0000\n"
2222
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2323
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -486,7 +486,7 @@ msgid ""
486486
"to), ``>=`` (greater than or equal to) and ``!=`` (not equal to)."
487487
msgstr ""
488488
":keyword:`while` 循环只要条件(这里是 ``a < 10``)为真就会一直执行。Python 和 C "
489-
"一样,任何非零整数都为真,零为假。这个条件也可以是字符串或列表的值,事实上,任何序列都可以长度非零就为真,空序列则为假。示例中的判断只是最简单的比较。比较操作符的写法和"
489+
"一样,任何非零整数都为真,零为假。这个条件也可以是字符串或列表类型的值,事实上,任何序列都可以长度非零就为真,空序列则为假。示例中的判断只是最简单的比较。比较操作符的写法和"
490490
" C 语言一样: ``<`` (小于)、 ``>`` (大于)、 ``==`` (等于)、 ``<=`` (小于等于)、 ``>=`` (大于等于)及 "
491491
"``!=`` (不等于)。"
492492

0 commit comments

Comments
 (0)