1313# isombyt <[email protected] >, 20191414# Trim21 <[email protected] >, 2019151516- 1716# Freesand Leo <[email protected] >, 201917+ 1818#
1919#, fuzzy
2020msgid ""
@@ -23,7 +23,7 @@ msgstr ""
2323"Report-Msgid-Bugs-To : \n "
2424"POT-Creation-Date : 2019-01-01 10:14+0900\n "
2525"PO-Revision-Date : 2017-02-16 23:20+0000\n "
26- "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2019\n "
26+ "Last-Translator : 林行众 <linxzh1989@gmail .com>, 2019\n "
2727"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2828"MIME-Version : 1.0\n "
2929"Content-Type : text/plain; charset=UTF-8\n "
@@ -763,7 +763,7 @@ msgid ""
763763":func:`popen` or :func:`fork` and :func:`execv`."
764764msgstr ""
765765"取消设置(删除)名为 *key* 的环境变量。变量名的改变会影响由 "
766- ":func:`os.system`, ,:func:`popen`,:func:`fork` 和 :func:`execv` 触发的子进程。"
766+ ":func:`os.system`,:func:`popen`,:func:`fork` 和 :func:`execv` 触发的子进程。"
767767
768768#: ../../library/os.rst:640
769769msgid ""
@@ -837,34 +837,39 @@ msgid ""
837837"\" file object\" returned by the built-in function :func:`open` or by "
838838":func:`popen` or :func:`fdopen`, use its :meth:`~io.IOBase.close` method."
839839msgstr ""
840+ "该功能适用于低级 I/O 操作,必须用于 :func:`os.open` 或 :func:`pipe` 返回的文件描述符。关闭由内建函数 "
841+ ":func:`open` , :func:`popen` 或 :func:`fdopen` 返回的 \" 文件对象\" ,则使用其相应的 "
842+ ":meth:`~io.IOBase.close` 方法。"
840843
841844#: ../../library/os.rst:699
842845msgid ""
843846"Close all file descriptors from *fd_low* (inclusive) to *fd_high* "
844847"(exclusive), ignoring errors. Equivalent to (but much faster than)::"
845- msgstr ""
848+ msgstr "关闭从 *fd_low* (包括)到 *fd_high* (排除)间的文件描述符,并忽略错误。类似(但快于):: "
846849
847850#: ../../library/os.rst:711
848851msgid ""
849852"Return a string describing the encoding of the device associated with *fd* "
850853"if it is connected to a terminal; else return :const:`None`."
851- msgstr ""
854+ msgstr "如果连接到终端,则返回一个与 *fd* 关联的设备描述字符,否则返回 :const:`None`。 "
852855
853856#: ../../library/os.rst:717
854857msgid ""
855858"Return a duplicate of file descriptor *fd*. The new file descriptor is :ref"
856859":`non-inheritable <fd_inheritance>`."
857- msgstr ""
860+ msgstr "返回一个文件描述符 *fd* 的副本。该文件描述符的副本是 :ref:`不可继承的<fd_inheritance>`。 "
858861
859862#: ../../library/os.rst:720
860863msgid ""
861864"On Windows, when duplicating a standard stream (0: stdin, 1: stdout, 2: "
862865"stderr), the new file descriptor is :ref:`inheritable <fd_inheritance>`."
863866msgstr ""
867+ "在 Windows 中,当复制一个标准流(0: stdin, 1: stdout, 2: stderr)时,新的文件描述符是 "
868+ ":ref:`可继承的<fd_inheritance>`。 "
864869
865870#: ../../library/os.rst:724 ../../library/os.rst:914
866871msgid "The new file descriptor is now non-inheritable."
867- msgstr ""
872+ msgstr "新的文件描述符现在是不可继承的。 "
868873
869874#: ../../library/os.rst:730
870875msgid ""
@@ -876,7 +881,7 @@ msgstr ""
876881
877882#: ../../library/os.rst:735
878883msgid "Add the optional *inheritable* parameter."
879- msgstr ""
884+ msgstr "添加可选参数 *inheritable*。 "
880885
881886#: ../../library/os.rst:738
882887msgid "Return *fd2* on success. Previously, ``None`` was always returned."
@@ -888,6 +893,8 @@ msgid ""
888893"docs for :func:`chmod` for possible values of *mode*. As of Python 3.3, "
889894"this is equivalent to ``os.chmod(fd, mode)``."
890895msgstr ""
896+ "将 *fd* 指定文件的权限状态修改为 *mode*。可以参考 :func:`chmod` 中列出 *mode* 的可用值。从Python "
897+ "3.3开始,这相当于 ``os.chmod(fd, mode)``。"
891898
892899#: ../../library/os.rst:753
893900msgid ""
@@ -896,16 +903,18 @@ msgid ""
896903":func:`chown`. As of Python 3.3, this is equivalent to ``os.chown(fd, uid, "
897904"gid)``."
898905msgstr ""
906+ "分别将 *fd* 指定文件的所有者和组 ID 修改为 *uid* 和 *gid* 的值。若不想变更其中的某个 ID,可将相应值设为 -1。参考 "
907+ ":func:`chown`。从 Python 3.3 开始,这相当于 ``os.chown(fd, uid, gid)``。"
899908
900909#: ../../library/os.rst:763
901910msgid ""
902911"Force write of file with filedescriptor *fd* to disk. Does not force update "
903912"of metadata."
904- msgstr ""
913+ msgstr "强制将文件描述符 *fd* 指定文件写入磁盘。不强制更新元数据。 "
905914
906915#: ../../library/os.rst:769
907916msgid "This function is not available on MacOS."
908- msgstr ""
917+ msgstr "该功能在 MacOS 中不可用。 "
909918
910919#: ../../library/os.rst:774
911920msgid ""
0 commit comments