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

Skip to content

Commit 1903f0f

Browse files
[po] auto sync
1 parent 5feec85 commit 1903f0f

2 files changed

Lines changed: 26 additions & 9 deletions

File tree

c-api/sequence.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# Translators:
77
# jacky <[email protected]>, 2019
8-
# Freesand Leo <[email protected]>, 2019
8+
# Freesand Leo <[email protected]>, 2020
99
#
1010
#, fuzzy
1111
msgid ""
@@ -14,7 +14,7 @@ msgstr ""
1414
"Report-Msgid-Bugs-To: \n"
1515
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
1616
"PO-Revision-Date: 2017-02-16 17:38+0000\n"
17-
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
17+
"Last-Translator: Freesand Leo <[email protected]>, 2020\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"
@@ -47,28 +47,34 @@ msgstr "到哪里积分返回序列 *o* 中对象的数量,失败时返回 ``-
4747
msgid ""
4848
"Return the concatenation of *o1* and *o2* on success, and ``NULL`` on "
4949
"failure. This is the equivalent of the Python expression ``o1 + o2``."
50-
msgstr ""
50+
msgstr "成功时返回 *o1* 和 *o2* 的拼接,失败时返回 ``NULL``。 这等价于 Python 表达式 ``o1 + o2``。"
5151

5252
#: ../../c-api/sequence.rst:35
5353
msgid ""
5454
"Return the result of repeating sequence object *o* *count* times, or "
5555
"``NULL`` on failure. This is the equivalent of the Python expression ``o * "
5656
"count``."
5757
msgstr ""
58+
"返回序列对象 *o* 重复 *count* 次的结果,失败时返回 ``NULL``。 这等价于 Python 表达式 ``o * count``。"
5859

5960
#: ../../c-api/sequence.rst:41
6061
msgid ""
6162
"Return the concatenation of *o1* and *o2* on success, and ``NULL`` on "
6263
"failure. The operation is done *in-place* when *o1* supports it. This is "
6364
"the equivalent of the Python expression ``o1 += o2``."
6465
msgstr ""
66+
"成功时返回 *o1* 和 *o2* 的拼接,失败时返回 ``NULL``。 在 *o1* 支持的情况下操作将 *原地* 完成。 这等价于 Python "
67+
"表达式 ``o1 += o2``。"
6568

6669
#: ../../c-api/sequence.rst:48
6770
msgid ""
6871
"Return the result of repeating sequence object *o* *count* times, or "
6972
"``NULL`` on failure. The operation is done *in-place* when *o* supports it."
7073
" This is the equivalent of the Python expression ``o *= count``."
7174
msgstr ""
75+
"Return the result of repeating sequence object返回序列对象 *o* 重复 *count* "
76+
"次的结果,失败时返回 ``NULL``。 在 *o* 支持的情况下该操作会 *原地* 完成。 这等价于 Python 表达式 ``o *= "
77+
"count``。"
7278

7379
#: ../../c-api/sequence.rst:55
7480
msgid ""

library/io.po

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# Wu Pipi, 2019
1111
# zkonge <[email protected]>, 2019
1212
# ppcfish <[email protected]>, 2019
13-
# Freesand Leo <[email protected]>, 2019
1413
# Arisaka97 <[email protected]>, 2020
14+
# Freesand Leo <[email protected]>, 2020
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
2222
"PO-Revision-Date: 2017-02-16 23:15+0000\n"
23-
"Last-Translator: Arisaka97 <solitaire2312@gmail.com>, 2020\n"
23+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
2424
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -537,51 +537,58 @@ msgstr ""
537537
msgid ""
538538
"Read and return one line from the stream. If *size* is specified, at most "
539539
"*size* bytes will be read."
540-
msgstr ""
540+
msgstr "从流中读取并返回一行。 如果指定了 *size*,将至多读取 *size* 个字节。"
541541

542542
#: ../../library/io.rst:317
543543
msgid ""
544544
"The line terminator is always ``b'\\n'`` for binary files; for text files, "
545545
"the *newline* argument to :func:`open` can be used to select the line "
546546
"terminator(s) recognized."
547547
msgstr ""
548+
"对于二进制文件行结束符总是 ``b'\\n'``;对于文本文件,可以用将 *newline* 参数传给 :func:`open` "
549+
"的方式来选择要识别的行结束符。"
548550

549551
#: ../../library/io.rst:323
550552
msgid ""
551553
"Read and return a list of lines from the stream. *hint* can be specified to"
552554
" control the number of lines read: no more lines will be read if the total "
553555
"size (in bytes/characters) of all lines so far exceeds *hint*."
554556
msgstr ""
557+
"从流中读取并返回包含多行的列表。 可以指定 *hint* 来控制要读取的行数:如果(以字节/字符数表示的)所有行的总大小超出了 *hint* "
558+
"则将不会读取更多的行。"
555559

556560
#: ../../library/io.rst:327
557561
msgid ""
558562
"Note that it's already possible to iterate on file objects using ``for line "
559563
"in file: ...`` without calling ``file.readlines()``."
560564
msgstr ""
565+
"请注意使用 ``for line in file: ...`` 就足够对文件对象进行迭代了,可以不必调用 ``file.readlines()``。"
561566

562567
#: ../../library/io.rst:332
563568
msgid ""
564569
"Change the stream position to the given byte *offset*. *offset* is "
565570
"interpreted relative to the position indicated by *whence*. The default "
566571
"value for *whence* is :data:`SEEK_SET`. Values for *whence* are:"
567572
msgstr ""
573+
"将流位置修改到给定的字节 *offset*。 *offset* 将相对于由 *whence* 指定的位置进行解析。 *whence* 的默认值为 "
574+
":data:`SEEK_SET`。 *whence* 的可用值有:"
568575

569576
#: ../../library/io.rst:336
570577
msgid ""
571578
":data:`SEEK_SET` or ``0`` -- start of the stream (the default); *offset* "
572579
"should be zero or positive"
573-
msgstr ""
580+
msgstr ":data:`SEEK_SET` 或 ``0`` -- 流的开头(默认值);*offset* 应为零或正值"
574581

575582
#: ../../library/io.rst:338
576583
msgid ""
577584
":data:`SEEK_CUR` or ``1`` -- current stream position; *offset* may be "
578585
"negative"
579-
msgstr ""
586+
msgstr ":data:`SEEK_CUR` or ``1`` -- 当前流位置;*offset* 可以为负值"
580587

581588
#: ../../library/io.rst:340
582589
msgid ""
583590
":data:`SEEK_END` or ``2`` -- end of the stream; *offset* is usually negative"
584-
msgstr ""
591+
msgstr ":data:`SEEK_END` or ``2`` -- 流的末尾;*offset* 通常为负值"
585592

586593
#: ../../library/io.rst:343
587594
msgid "Return the new absolute position."
@@ -597,12 +604,16 @@ msgid ""
597604
":data:`os.SEEK_HOLE` or :data:`os.SEEK_DATA`. The valid values for a file "
598605
"could depend on it being open in text or binary mode."
599606
msgstr ""
607+
"某些操作系统还可支持其他的值,例如 :data:`os.SEEK_HOLE` 或 :data:`os.SEEK_DATA`。 "
608+
"特定文件的可用值还会取决于它是以文本还是二进制模式打开。"
600609

601610
#: ../../library/io.rst:355
602611
msgid ""
603612
"Return ``True`` if the stream supports random access. If ``False``, "
604613
":meth:`seek`, :meth:`tell` and :meth:`truncate` will raise :exc:`OSError`."
605614
msgstr ""
615+
"如果流支持随机访问则返回 ``True``。 如为 ``False``,则 :meth:`seek`, :meth:`tell` 和 "
616+
":meth:`truncate` 将引发 :exc:`OSError`。"
606617

607618
#: ../../library/io.rst:360
608619
msgid "Return the current stream position."

0 commit comments

Comments
 (0)