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

Skip to content

Commit 49a7004

Browse files
[po] auto sync
1 parent 6fed73e commit 49a7004

2 files changed

Lines changed: 26 additions & 17 deletions

File tree

library/fileinput.po

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,26 +289,32 @@ msgid ""
289289
"modules. If the filename extension is not ``'.gz'`` or ``'.bz2'``, the file"
290290
" is opened normally (ie, using :func:`open` without any decompression)."
291291
msgstr ""
292+
"使用 :mod:`gzip` 和 :mod:`bz2` 模块透明地打开 gzip 和 bzip2 压缩的文件(通过扩展名 ``'.gz'`` 和 "
293+
"``'.bz2'`` 来识别)。 如果文件扩展名不是 ``'.gz'`` 或 ``'.bz2'``,文件会以正常方式打开(即使用 "
294+
":func:`open` 并且不带任何解压操作)。"
292295

293296
#: ../../library/fileinput.rst:201
294297
msgid ""
295298
"Usage example: ``fi = "
296299
"fileinput.FileInput(openhook=fileinput.hook_compressed)``"
297300
msgstr ""
301+
"使用示例: ``fi = fileinput.FileInput(openhook=fileinput.hook_compressed)``"
298302

299303
#: ../../library/fileinput.rst:206
300304
msgid ""
301305
"Returns a hook which opens each file with :func:`open`, using the given "
302306
"*encoding* and *errors* to read the file."
303-
msgstr ""
307+
msgstr "返回一个通过 :func:`open` 打开每个文件的钩子,使用给定的 *encoding* 和 *errors* 来读取文件。"
304308

305309
#: ../../library/fileinput.rst:209
306310
msgid ""
307311
"Usage example: ``fi = "
308312
"fileinput.FileInput(openhook=fileinput.hook_encoded(\"utf-8\", "
309313
"\"surrogateescape\"))``"
310314
msgstr ""
315+
"使用示例: ``fi = fileinput.FileInput(openhook=fileinput.hook_encoded(\"utf-8\", "
316+
"\"surrogateescape\"))``"
311317

312318
#: ../../library/fileinput.rst:213
313319
msgid "Added the optional *errors* parameter."
314-
msgstr ""
320+
msgstr "添加了可选的 *errors* 形参。"

library/stat.po

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Freesand Leo <[email protected]>, 2018
87
# ppcfish <[email protected]>, 2019
8+
# Freesand Leo <[email protected]>, 2019
99
#
1010
#, fuzzy
1111
msgid ""
@@ -14,7 +14,7 @@ msgstr ""
1414
"Report-Msgid-Bugs-To: \n"
1515
"POT-Creation-Date: 2019-09-01 14:24+0000\n"
1616
"PO-Revision-Date: 2017-02-16 23:27+0000\n"
17-
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
1818
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -24,7 +24,7 @@ msgstr ""
2424

2525
#: ../../library/stat.rst:2
2626
msgid ":mod:`stat` --- Interpreting :func:`~os.stat` results"
27-
msgstr ""
27+
msgstr ":mod:`stat` --- 解析 :func:`~os.stat` 结果"
2828

2929
#: ../../library/stat.rst:10
3030
msgid "**Source code:** :source:`Lib/stat.py`"
@@ -37,56 +37,59 @@ msgid ""
3737
"exist). For complete details about the :c:func:`stat`, :c:func:`fstat` and "
3838
":c:func:`lstat` calls, consult the documentation for your system."
3939
msgstr ""
40+
":mod:`stat` 模块定义了一些用于解析 :func:`os.stat`, :func:`os.fstat` 和 :func:`os.lstat`"
41+
" (如果它们存在) 输出结果的常量和函数。 有关 :c:func:`stat`, :c:func:`fstat` 和 :c:func:`lstat` "
42+
"调用的完整细节,请参阅你的系统文档。"
4043

4144
#: ../../library/stat.rst:19
4245
msgid "The stat module is backed by a C implementation."
43-
msgstr ""
46+
msgstr "stat 模块是通过 C 实现来支持的。"
4447

4548
#: ../../library/stat.rst:22
4649
msgid ""
4750
"The :mod:`stat` module defines the following functions to test for specific "
4851
"file types:"
49-
msgstr ""
52+
msgstr ":mod:`stat` 模块定义了以下函数来检测特定文件类型:"
5053

5154
#: ../../library/stat.rst:28
5255
msgid "Return non-zero if the mode is from a directory."
53-
msgstr ""
56+
msgstr "如果 mode 来自一个目录则返回非零值。"
5457

5558
#: ../../library/stat.rst:33
5659
msgid "Return non-zero if the mode is from a character special device file."
57-
msgstr ""
60+
msgstr "如果 mode 来自一个字符特殊设备文件则返回非零值。"
5861

5962
#: ../../library/stat.rst:38
6063
msgid "Return non-zero if the mode is from a block special device file."
61-
msgstr ""
64+
msgstr "如果 mode 来自一个块特殊设备文件则返回非零值。"
6265

6366
#: ../../library/stat.rst:43
6467
msgid "Return non-zero if the mode is from a regular file."
65-
msgstr ""
68+
msgstr "如果 mode 来自一个常规文件则返回非零值。"
6669

6770
#: ../../library/stat.rst:48
6871
msgid "Return non-zero if the mode is from a FIFO (named pipe)."
69-
msgstr ""
72+
msgstr "如果 mode 来自一个 FIFO (命名管道) 则返回非零值。"
7073

7174
#: ../../library/stat.rst:53
7275
msgid "Return non-zero if the mode is from a symbolic link."
73-
msgstr ""
76+
msgstr "如果 mode 来自一个符号链接则返回非零值。"
7477

7578
#: ../../library/stat.rst:58
7679
msgid "Return non-zero if the mode is from a socket."
77-
msgstr ""
80+
msgstr "如果 mode 来自一个套接字则返回非零值。"
7881

7982
#: ../../library/stat.rst:62
8083
msgid "Return non-zero if the mode is from a door."
81-
msgstr ""
84+
msgstr "如果 mode 来自一个门则返回非零值。"
8285

8386
#: ../../library/stat.rst:68
8487
msgid "Return non-zero if the mode is from an event port."
85-
msgstr ""
88+
msgstr "如果 mode 来自一个事件端口则返回非零值。"
8689

8790
#: ../../library/stat.rst:74
8891
msgid "Return non-zero if the mode is from a whiteout."
89-
msgstr ""
92+
msgstr "如果 mode 来自一个白输出则返回非零值。"
9093

9194
#: ../../library/stat.rst:78
9295
msgid ""

0 commit comments

Comments
 (0)