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

Skip to content

Commit 04429e4

Browse files
committed
[po] auto sync bot
1 parent 517d87a commit 04429e4

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

library/os.po

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
# sgqy <[email protected]>, 2019
1616
# Freesand Leo <[email protected]>, 2019
1717
# 林行众 <[email protected]>, 2019
18-
# Zombie110year <[email protected]>, 2019
1918
# cdarlint <[email protected]>, 2019
2019
# Kade For, 2019
2120
# Liying Yang <[email protected]>, 2019
21+
# Zombie110year <[email protected]>, 2019
2222
#
2323
#, fuzzy
2424
msgid ""
@@ -27,7 +27,7 @@ msgstr ""
2727
"Report-Msgid-Bugs-To: \n"
2828
"POT-Creation-Date: 2019-09-01 14:24+0000\n"
2929
"PO-Revision-Date: 2017-02-16 23:20+0000\n"
30-
"Last-Translator: Liying Yang <xlctemp@gmail.com>, 2019\n"
30+
"Last-Translator: Zombie110year <zombie110year@gmail.com>, 2019\n"
3131
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
3232
"MIME-Version: 1.0\n"
3333
"Content-Type: text/plain; charset=UTF-8\n"
@@ -88,7 +88,7 @@ msgstr "所有接受路径或文件名的函数都同时支持字节串和字符
8888

8989
#: ../../library/os.rst:35
9090
msgid "On VxWorks, os.fork, os.execv and os.spawn*p* are not supported."
91-
msgstr ""
91+
msgstr "在 VxWorks 系统上,os.fork, os.execv 和 os.spawn*p* 都未支持。"
9292

9393
#: ../../library/os.rst:39
9494
msgid ""
@@ -97,6 +97,7 @@ msgid ""
9797
"arguments that have the correct type, but are not accepted by the operating "
9898
"system."
9999
msgstr ""
100+
"如果使用无效或无法访问的文件名与路径,或者其他类型正确但操作系统不接受的参数,此模块的所有函数都抛出 :exc:`OSError`(或者它的子类)。"
100101

101102
#: ../../library/os.rst:45
102103
msgid "An alias for the built-in :exc:`OSError` exception."
@@ -791,7 +792,7 @@ msgstr "创建文件对象"
791792
msgid ""
792793
"These functions create new :term:`file objects <file object>`. (See also "
793794
":func:`~os.open` for opening file descriptors.)"
794-
msgstr ""
795+
msgstr "这些函数创建新的 :term:`file objects`。(参见 :func:`~os.open` 以获取打开文件描述符的相关信息。)"
795796

796797
#: ../../library/os.rst:660
797798
msgid ""
@@ -864,6 +865,10 @@ msgid ""
864865
"reside in the same filesystem, otherwise an :exc:`OSError` is raised with "
865866
":attr:`~OSError.errno` set to :data:`errno.EXDEV`."
866867
msgstr ""
868+
"从文件描述符 *src* 复制 *count* 字节,从偏移量 *offset_src* 开始读取,到文件描述符 *dst*,从偏移量 "
869+
"*offset_dst* 开始写入。如果 *offset_src* 为 None,则 *src* 将从当前位置开始读取;*offset_dst* "
870+
"同理。*src* 和 *dst* 指向的文件必须处于相同的文件系统,否则将会抛出一个 :attr:`~OSError.errno` 被设为 "
871+
":data:`errno.EXDEV` 的 :exc:`OSError` 。"
867872

868873
#: ../../library/os.rst:719
869874
msgid ""
@@ -872,17 +877,19 @@ msgid ""
872877
"filesystems could implement extra optimizations. The copy is done as if both"
873878
" files are opened as binary."
874879
msgstr ""
880+
"此复制的完成没有额外的从内核到用户空间再回到内核的数据转移花费。另外,一些文件系统可能实现额外的优化。完成复制就如同打开两个二进制文件一样。"
875881

876882
#: ../../library/os.rst:724
877883
msgid ""
878884
"The return value is the amount of bytes copied. This could be less than the "
879885
"amount requested."
880-
msgstr ""
886+
msgstr "返回值是复制的字节的数目。这可能低于需求的数目。"
881887

882888
#: ../../library/os.rst:728
883889
msgid ""
884890
":ref:`Availability <availability>`: Linux kernel >= 4.5 or glibc >= 2.27."
885891
msgstr ""
892+
":ref:`Availability <availability>`: Linux kernel >= 4.5 或 glibc >= 2.27。"
886893

887894
#: ../../library/os.rst:734
888895
msgid ""
@@ -1005,6 +1012,8 @@ msgid ""
10051012
"the native :c:func:`fsync` function; on Windows, the MS :c:func:`_commit` "
10061013
"function."
10071014
msgstr ""
1015+
"强制将文件描述符 *fd* 指向的文件写入磁盘。在 Unix,这将调用原生 :c:func:`fsync` 函数;在 Windows,则是 MS "
1016+
":c:func:`_commit` 函数。"
10081017

10091018
#: ../../library/os.rst:841
10101019
msgid ""

0 commit comments

Comments
 (0)