1818# Liying Yang <[email protected] >, 20191919# Zombie110year <[email protected] >, 20192020# Shengjing Zhu <[email protected] >, 201921- # Freesand Leo <[email protected] >, 2019222123- # ppcfish <[email protected] >, 20192422# Arisaka97 <[email protected] >, 201923+ # Freesand Leo <[email protected] >, 20192524#
2625#, fuzzy
2726msgid ""
@@ -30,7 +29,7 @@ msgstr ""
3029"Report-Msgid-Bugs-To : \n "
3130"POT-Creation-Date : 2019-12-16 12:12+0000\n "
3231"PO-Revision-Date : 2017-02-16 23:20+0000\n "
33- "Last-Translator : Arisaka97 <solitaire2312@gmail .com>, 2019\n "
32+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2019\n "
3433"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
3534"MIME-Version : 1.0\n "
3635"Content-Type : text/plain; charset=UTF-8\n "
@@ -2178,50 +2177,56 @@ msgstr "添加了指定 *path* 为文件描述符的支持,以及 *dir_fd* 和
21782177msgid ""
21792178"Change the owner and group id of *path* to the numeric *uid* and *gid*. To "
21802179"leave one of the ids unchanged, set it to -1."
2181- msgstr ""
2180+ msgstr "将 *path* 的用户和组 ID 分别修改为数字形式的 *uid* 和 *gid*。若要使其中某个 ID 保持不变,请将其置为 -1。 "
21822181
21832182#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1695
21842183msgid ""
21852184"See :func:`shutil.chown` for a higher-level function that accepts names in "
21862185"addition to numeric ids."
2187- msgstr ""
2186+ msgstr "参见更高阶的函数 :func:`shutil.chown`,除了数字 ID 之外,它也接受名称。 "
21882187
21892188#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1704
21902189msgid "Supports a :term:`path-like object`."
2191- msgstr ""
2190+ msgstr "支持 :term:`类路径对象 <path-like object>`。 "
21922191
21932192#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1710
21942193msgid "Change the root directory of the current process to *path*."
2195- msgstr ""
2194+ msgstr "将当前进程的根目录更改为 *path*。 "
21962195
21972196#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1720
21982197msgid ""
21992198"Change the current working directory to the directory represented by the "
22002199"file descriptor *fd*. The descriptor must refer to an opened directory, not"
22012200" an open file. As of Python 3.3, this is equivalent to ``os.chdir(fd)``."
22022201msgstr ""
2202+ "将当前工作目录更改为文件描述符 *fd* 指向的目录。fd 必须指向打开的目录而非文件。从 Python 3.3 开始,它等效于 "
2203+ "``os.chdir(fd)``。"
22032204
22042205#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1729
22052206msgid "Return a string representing the current working directory."
2206- msgstr ""
2207+ msgstr "返回表示当前工作目录的字符串。 "
22072208
22082209#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1734
22092210msgid "Return a bytestring representing the current working directory."
2210- msgstr ""
2211+ msgstr "返回表示当前工作目录的字节串 (bytestring)。 "
22112212
22122213#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1736
22132214msgid ""
22142215"The function now uses the UTF-8 encoding on Windows, rather than the ANSI "
22152216"code page: see :pep:`529` for the rationale. The function is no longer "
22162217"deprecated on Windows."
22172218msgstr ""
2219+ "在 Windows 上,本函数现在会使用 UTF-8 编码格式而不是 ANSI 代码页:请参看 :pep:`529` 了解具体原因。 该函数在 "
2220+ "Windows 上不再被弃用。"
22182221
22192222#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1744
22202223msgid ""
22212224"Set the flags of *path* to the numeric *flags*, like :func:`chflags`, but do"
22222225" not follow symbolic links. As of Python 3.3, this is equivalent to "
22232226"``os.chflags(path, flags, follow_symlinks=False)``."
22242227msgstr ""
2228+ "将 *path* 的 flags 设置为其他由数字表示的 *flags*,与 :func:`chflags` 类似,但不跟踪符号链接。从 Python "
2229+ "3.3 开始,它等效于 ``os.chflags(path, flags, follow_symlinks=False)``。"
22252230
22262231#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1756
22272232msgid ""
@@ -2230,40 +2235,47 @@ msgid ""
22302235"for possible values of *mode*. As of Python 3.3, this is equivalent to "
22312236"``os.chmod(path, mode, follow_symlinks=False)``."
22322237msgstr ""
2238+ "将 *path* 的权限状态修改为 *mode*。如果 path 是符号链接,则影响符号链接本身而非链接目标。可以参考 :func:`chmod` "
2239+ "中列出 *mode* 的可用值。从 Python 3.3 开始,这相当于 ``os.chmod(path, mode, "
2240+ "follow_symlinks=False)``。"
22332241
22342242#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1768
22352243msgid ""
22362244"Change the owner and group id of *path* to the numeric *uid* and *gid*. "
22372245"This function will not follow symbolic links. As of Python 3.3, this is "
22382246"equivalent to ``os.chown(path, uid, gid, follow_symlinks=False)``."
22392247msgstr ""
2248+ "将 *path* 的用户和组 ID 分别修改为数字形式的 *uid* 和 *gid*,本函数不跟踪符号链接。从 Python 3.3 开始,它等效于 "
2249+ "``os.chown(path, uid, gid, follow_symlinks=False)``。"
22402250
22412251#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1780
22422252msgid "Create a hard link pointing to *src* named *dst*."
2243- msgstr ""
2253+ msgstr "创建一个指向 *src* 的硬链接,名为 *dst*。 "
22442254
22452255#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1782
22462256msgid ""
22472257"This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to "
22482258"supply :ref:`paths relative to directory descriptors <dir_fd>`, and "
22492259":ref:`not following symlinks <follow_symlinks>`."
22502260msgstr ""
2261+ "本函数支持将 *src_dir_fd* 和 *dst_dir_fd* 中的一个或两个指定为 :ref:`基于目录描述符的相对路径 "
2262+ "<dir_fd>`,支持 :ref:`不跟踪符号链接 <follow_symlinks>`。"
22512263
22522264#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1788
22532265msgid "Added Windows support."
2254- msgstr "添加了Windows 支持 "
2266+ msgstr "添加了对 Windows 的支持。 "
22552267
22562268#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1791
22572269msgid "Added the *src_dir_fd*, *dst_dir_fd*, and *follow_symlinks* arguments."
2258- msgstr ""
2270+ msgstr "添加 *src_dir_fd*、*dst_dir_fd* 和 *follow_symlinks* 参数。 "
22592271
22602272#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1794
22612273#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1858
22622274#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2133
22632275#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2166
22642276#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2832
22652277msgid "Accepts a :term:`path-like object` for *src* and *dst*."
2266- msgstr ""
2278+ msgstr "接受一个 :term:`类路径对象 <path-like object>` 作为 *src* 和 *dst*。 "
22672279
22682280#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1800
22692281msgid ""
0 commit comments