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

Skip to content

Commit f7b69b2

Browse files
[po] auto sync
1 parent 33489d9 commit f7b69b2

4 files changed

Lines changed: 36 additions & 18 deletions

File tree

c-api/import.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# Meng Du <[email protected]>, 2019
88
# 汪心禾 <[email protected]>, 2019
9+
# Lordran <[email protected]>, 2019
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2019-12-16 12:12+0000\n"
1617
"PO-Revision-Date: 2017-02-16 17:35+0000\n"
17-
"Last-Translator: 汪心禾 <[email protected]>, 2019\n"
18+
"Last-Translator: Lordran <[email protected]>, 2019\n"
1819
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
@@ -44,7 +45,7 @@ msgstr ""
4445
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/import.rst:28
4546
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/import.rst:89
4647
msgid "This function always uses absolute imports."
47-
msgstr ""
48+
msgstr "该函数总是使用绝对路径导入。"
4849

4950
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/import.rst:33
5051
msgid ""

library/os.po

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@
1818
# Liying Yang <[email protected]>, 2019
1919
# Zombie110year <[email protected]>, 2019
2020
# Shengjing Zhu <[email protected]>, 2019
21-
# Freesand Leo <[email protected]>, 2019
2221
# 刚 乔 <[email protected]>, 2019
23-
# ppcfish <[email protected]>, 2019
2422
# Arisaka97 <[email protected]>, 2019
23+
# Freesand Leo <[email protected]>, 2019
2524
#
2625
#, fuzzy
2726
msgid ""
@@ -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* 和
21782177
msgid ""
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
21842183
msgid ""
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
21902189
msgid "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
21942193
msgid "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
21982197
msgid ""
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)``."
22022201
msgstr ""
2202+
"将当前工作目录更改为文件描述符 *fd* 指向的目录。fd 必须指向打开的目录而非文件。从 Python 3.3 开始,它等效于 "
2203+
"``os.chdir(fd)``。"
22032204

22042205
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1729
22052206
msgid "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
22092210
msgid "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
22132214
msgid ""
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."
22172218
msgstr ""
2219+
"在 Windows 上,本函数现在会使用 UTF-8 编码格式而不是 ANSI 代码页:请参看 :pep:`529` 了解具体原因。 该函数在 "
2220+
"Windows 上不再被弃用。"
22182221

22192222
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1744
22202223
msgid ""
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)``."
22242227
msgstr ""
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
22272232
msgid ""
@@ -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)``."
22322237
msgstr ""
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
22352243
msgid ""
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)``."
22392247
msgstr ""
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
22422252
msgid "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
22462256
msgid ""
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>`."
22502260
msgstr ""
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
22532265
msgid "Added Windows support."
2254-
msgstr "添加了Windows 支持"
2266+
msgstr "添加了对 Windows 的支持。"
22552267

22562268
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1791
22572269
msgid "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
22652277
msgid "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
22692281
msgid ""

library/queue.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# walkinrain <[email protected]>, 2019
99
# Freesand Leo <[email protected]>, 2019
1010
# Zombie110year <[email protected]>, 2019
11+
# Lordran <[email protected]>, 2019
1112
#
1213
#, fuzzy
1314
msgid ""
@@ -16,7 +17,7 @@ msgstr ""
1617
"Report-Msgid-Bugs-To: \n"
1718
"POT-Creation-Date: 2019-12-16 12:12+0000\n"
1819
"PO-Revision-Date: 2017-02-16 23:24+0000\n"
19-
"Last-Translator: Zombie110year <[email protected]>, 2019\n"
20+
"Last-Translator: Lordran <[email protected]>, 2019\n"
2021
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2122
"MIME-Version: 1.0\n"
2223
"Content-Type: text/plain; charset=UTF-8\n"
@@ -39,7 +40,7 @@ msgid ""
3940
"exchanged safely between multiple threads. The :class:`Queue` class in this"
4041
" module implements all the required locking semantics."
4142
msgstr ""
42-
":mod:`queue` 模块实现了多生产者、多消费者队列。这特别适用于消息必须安全地在多线程间交换的线程变成。模块中的 :class:`Queue` "
43+
":mod:`queue` 模块实现了多生产者、多消费者队列。这特别适用于消息必须安全地在多线程间交换的线程编程。模块中的 :class:`Queue` "
4344
"类实现了所有所需的锁定语义。"
4445

4546
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/queue.rst:16

library/shutil.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,12 +434,16 @@ msgid ""
434434
"Applications can use the :data:`rmtree.avoids_symlink_attacks` function "
435435
"attribute to determine which case applies."
436436
msgstr ""
437+
"在支持必要的基于 fd 的函数的平台上,默认会使用 :func:`rmtree` 的可防御符号链接攻击的版本。 "
438+
"在其他平台上,:func:`rmtree` "
439+
"较易遭受符号链接攻击:给定适当的时间和环境,攻击者可以操纵文件系统中的符号链接来删除他们在其他情况下无法访问的文件。 应用程序可以使用 "
440+
":data:`rmtree.avoids_symlink_attacks` 函数属性来确定此类情况具体是哪一些。"
437441

438442
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:295
439443
msgid ""
440444
"If *onerror* is provided, it must be a callable that accepts three "
441445
"parameters: *function*, *path*, and *excinfo*."
442-
msgstr ""
446+
msgstr "如果提供了 *onerror*,它必须为接受三个形参的可调用对象: *function*, *path* 和 *excinfo*。"
443447

444448
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:298
445449
msgid ""

0 commit comments

Comments
 (0)