File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 91.38 %" , "updated_at" : " 2023-10-09T13:02:19Z " }
1+ {"translation" : " 91.39 %" , "updated_at" : " 2023-10-09T13:57:55Z " }
Original file line number Diff line number Diff 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."
243243msgstr ""
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
246250msgid ""
@@ -275,6 +279,8 @@ msgid ""
275279"on *domain* and *localedir* which are passed to the function "
276280":func:`translation`."
277281msgstr ""
282+ "这将在 Python 的内置命名空间中安装 :func:`!_` 函数,基于传给 :func:`translation` 函数的 *domain* 和 "
283+ "*localedir*。"
278284
279285#: ../../library/gettext.rst:180
280286msgid ""
@@ -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
294300msgid ""
Original file line number Diff line number Diff line change @@ -1579,7 +1579,7 @@ msgstr ""
15791579
15801580#: ../../library/typing.rst:1526
15811581msgid "Building generic types and type aliases"
1582- msgstr ""
1582+ msgstr "构造泛型类型与类型别名 "
15831583
15841584#: ../../library/typing.rst:1528
15851585msgid ""
@@ -3290,7 +3290,7 @@ msgstr ""
32903290
32913291#: ../../library/typing.rst:3267
32923292msgid "Aliases to other concrete types"
3293- msgstr ""
3293+ msgstr "其他具体类型的别名 "
32943294
32953295#: ../../library/typing.rst:3272
32963296msgid ""
@@ -3353,7 +3353,7 @@ msgstr ""
33533353
33543354#: ../../library/typing.rst:3318
33553355msgid "Aliases to container ABCs in :mod:`collections.abc`"
3356- msgstr ""
3356+ msgstr ":mod:`collections.abc` 中容器 ABC 的别名 "
33573357
33583358#: ../../library/typing.rst:3322
33593359msgid "Deprecated alias to :class:`collections.abc.Set`."
@@ -3803,7 +3803,7 @@ msgstr ":issue:`38291`"
38033803
38043804#: ../../library/typing.rst:3669
38053805msgid "``typing`` versions of standard collections"
3806- msgstr "标准多项集的 ``typing`` 版本"
3806+ msgstr "标准容器的 ``typing`` 版本"
38073807
38083808#: ../../library/typing.rst:3670 ../../library/typing.rst:3674
38093809msgid "3.9"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ msgid ""
1717msgstr ""
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)."
487487msgstr ""
488488":keyword:`while` 循环只要条件(这里是 ``a < 10``)为真就会一直执行。Python 和 C "
489- "一样,任何非零整数都为真,零为假。这个条件也可以是字符串或列表的值 ,事实上,任何序列都可以; 长度非零就为真,空序列则为假。示例中的判断只是最简单的比较。比较操作符的写法和"
489+ "一样,任何非零整数都为真,零为假。这个条件也可以是字符串或列表类型的值 ,事实上,任何序列都可以: 长度非零就为真,空序列则为假。示例中的判断只是最简单的比较。比较操作符的写法和"
490490" C 语言一样: ``<`` (小于)、 ``>`` (大于)、 ``==`` (等于)、 ``<=`` (小于等于)、 ``>=`` (大于等于)及 "
491491"``!=`` (不等于)。"
492492
You can’t perform that action at this time.
0 commit comments