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

Skip to content

Commit f677716

Browse files
[po] auto sync
1 parent f89fdaa commit f677716

4 files changed

Lines changed: 22 additions & 8 deletions

File tree

faq/windows.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ msgid ""
201201
"extension for building Python 2.x-based executables, does not yet support "
202202
"Python 3 but a version that does is in development."
203203
msgstr ""
204+
"请参阅 `cx_Freeze <https://cx-freeze.readthedocs.io/en/latest/>`_ 来了解 distutils"
205+
" 扩展,它允许你基于 Python 代码创建控制台和 GUI 可执行文件。 `py2exe <http://www.py2exe.org/>`_ "
206+
"是最流行的用来构建基于 Python 2.x 的可执行文件的扩展,它暂时还不支持 Python 3 但新的版本已在开发中。"
204207

205208
#: ../../faq/windows.rst:151
206209
msgid "Is a ``*.pyd`` file the same as a DLL?"
@@ -423,3 +426,5 @@ msgid ""
423426
" module. It defines a function ``kbhit()`` which checks whether a keyboard "
424427
"hit is present, and ``getch()`` which gets one character without echoing it."
425428
msgstr ""
429+
"使用 :mod:`msvcrt` 模块。 这是一个标准的 Windows 专属扩展模块。 它定义了一个函数 ``kbhit()`` "
430+
"用于检查是否有键盘中的某个键被按下,以及 ``getch()`` 用于获取一个字符而不将其回显。"

library/functions.po

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,11 @@ msgid ""
606606
"*flags* argument is it -- the flags (future features and compiler options) "
607607
"in the surrounding code are ignored."
608608
msgstr ""
609+
"可选参数 *flags* 和 *dont_inherit* 控制应当激活哪个 :ref:`编译器选项 <ast-compiler-flags>` "
610+
"以及应当允许哪个 :ref:`future 特性 <future>`。 如果两者都未提供(或都为零)则代码会应用与调用 :func:`compile` "
611+
"的代码相同的旗标来编译。 如果给出了 *flags* 参数而未给出 *dont_inherit* (或者为零) "
612+
"则会在无论如何都将被使用的旗标之外还会额外使用 *flags* 参数所指定的编译器选项和 future 语句。 如果 *dont_inherit* "
613+
"为一个非零整数,则只使用 *flags* 参数 -- 外围代码中的旗标(future 特性和编译器选项)会被忽略。"
609614

610615
#: ../../library/functions.rst:259
611616
msgid ""
@@ -617,6 +622,10 @@ msgid ""
617622
":ref:`Compiler flags <ast-compiler-flags>` can be found in :mod:`ast` "
618623
"module, with ``PyCF_`` prefix."
619624
msgstr ""
625+
"编译器选项和 future 语句是由比特位来指明的。 比特位可以通过一起按位 OR 来指明多个选项。 指明特定 future 特性所需的比特位可以在 "
626+
":mod:`__future__` 模块的 :class:`~__future__._Feature` 实例的 "
627+
":attr:`~__future__._Feature.compiler_flag` 属性中找到。 :ref:`编译器旗标 <ast-compiler-"
628+
"flags>` 可以在 :mod:`ast` 模块中查找带有 ``PyCF_`` 前缀的名称。"
620629

621630
#: ../../library/functions.rst:267
622631
msgid ""

library/msvcrt.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ msgstr "返回文件描述符 *fd* 的文件句柄。 如果 *fd* 不能被识
140140
msgid ""
141141
"Raises an :ref:`auditing event <auditing>` ``msvcrt.get_osfhandle`` with "
142142
"argument ``fd``."
143-
msgstr ""
143+
msgstr "引发一个 :ref:`审计事件 <auditing>` ``msvcrt.get_osfhandle``,附带参数 ``fd``。"
144144

145145
#: ../../library/msvcrt.rst:96
146146
msgid "Console I/O"

library/socket.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1551,29 +1551,29 @@ msgstr "添加了 Windows 支持。"
15511551
msgid ""
15521552
"On Windows network interfaces have different names in different contexts "
15531553
"(all names are examples):"
1554-
msgstr ""
1554+
msgstr "在 Windows 中网络接口在不同上下文中具有不同的名称(所有名称见对应示例):"
15551555

15561556
#: ../../library/socket.rst:1099
15571557
msgid "UUID: ``{FB605B73-AAC2-49A6-9A2F-25416AEA0573}``"
1558-
msgstr ""
1558+
msgstr "UUID: ``{FB605B73-AAC2-49A6-9A2F-25416AEA0573}``"
15591559

15601560
#: ../../library/socket.rst:1100
15611561
msgid "name: ``ethernet_32770``"
1562-
msgstr ""
1562+
msgstr "名称: ``ethernet_32770``"
15631563

15641564
#: ../../library/socket.rst:1101
15651565
msgid "friendly name: ``vEthernet (nat)``"
1566-
msgstr ""
1566+
msgstr "友好名称: ``vEthernet (nat)``"
15671567

15681568
#: ../../library/socket.rst:1102
15691569
msgid "description: ``Hyper-V Virtual Ethernet Adapter``"
1570-
msgstr ""
1570+
msgstr "描述: ``Hyper-V Virtual Ethernet Adapter``"
15711571

15721572
#: ../../library/socket.rst:1104
15731573
msgid ""
15741574
"This function returns names of the second form from the list, "
15751575
"``ethernet_32770`` in this example case."
1576-
msgstr ""
1576+
msgstr "此函数返回列表中第二种形式的名称,在此示例中为 ``ethernet_32770``。"
15771577

15781578
#: ../../library/socket.rst:1110
15791579
msgid ""
@@ -1583,7 +1583,7 @@ msgstr "返回网络接口名称相对应的索引号。如果没有所给名称
15831583

15841584
#: ../../library/socket.rst:1122 ../../library/socket.rst:1139
15851585
msgid "\"Interface name\" is a name as documented in :func:`if_nameindex`."
1586-
msgstr ""
1586+
msgstr "\"Interface name\" 为 :func:`if_nameindex` 中所描述的名称。"
15871587

15881588
#: ../../library/socket.rst:1127
15891589
msgid ""

0 commit comments

Comments
 (0)