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

Skip to content

Commit ca1105d

Browse files
committed
[po] auto sync bot
1 parent 573e8fd commit ca1105d

2 files changed

Lines changed: 23 additions & 10 deletions

File tree

library/codecs.po

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -729,11 +729,11 @@ msgstr ""
729729
msgid ""
730730
"The decoder must be able to handle zero length input and return an empty "
731731
"object of the output object type in this situation."
732-
msgstr ""
732+
msgstr "解码器必须能够处理零长度的输入并在此情况下返回输出对象类型的空对象。"
733733

734734
#: ../../library/codecs.rst:507
735735
msgid "Incremental Encoding and Decoding"
736-
msgstr ""
736+
msgstr "增量式的编码和解码"
737737

738738
#: ../../library/codecs.rst:509
739739
msgid ""
@@ -745,6 +745,10 @@ msgid ""
745745
" of the incremental encoder/decoder. The incremental encoder/decoder keeps "
746746
"track of the encoding/decoding process during method calls."
747747
msgstr ""
748+
":class:`IncrementalEncoder` 和 :class:`IncrementalDecoder` 类提供了增量式编码和解码的基本接口。"
749+
" 对输入的编码/解码不是通过对无状态编码器/解码器的一次调用,而是通过对增量式编码器/解码器的 "
750+
":meth:`~IncrementalEncoder.encode`/:meth:`~IncrementalDecoder.decode` "
751+
"方法的多次调用。 增量式编码器/解码器会在方法调用期间跟踪编码/解码过程。"
748752

749753
#: ../../library/codecs.rst:517
750754
msgid ""
@@ -753,10 +757,12 @@ msgid ""
753757
" is the same as if all the single inputs were joined into one, and this "
754758
"input was encoded/decoded with the stateless encoder/decoder."
755759
msgstr ""
760+
"调用 :meth:`~IncrementalEncoder.encode`/:meth:`~IncrementalDecoder.decode` "
761+
"方法后的全部输出相当于将所有通过无状态编码器/解码器进行编码/解码的单个输入连接在一起所得到的输出。"
756762

757763
#: ../../library/codecs.rst:526
758764
msgid "IncrementalEncoder Objects"
759-
msgstr ""
765+
msgstr "IncrementalEncoder 对象"
760766

761767
#: ../../library/codecs.rst:528
762768
msgid ""
@@ -765,24 +771,28 @@ msgid ""
765771
"encoder must define in order to be compatible with the Python codec "
766772
"registry."
767773
msgstr ""
774+
":class:`IncrementalEncoder` 类用来对一个输入进行分步编码。 它定义了以下方法,每个增量式编码器都必须定义这些方法以便与 "
775+
"Python 编解码器注册表相兼容。"
768776

769777
#: ../../library/codecs.rst:535
770778
msgid "Constructor for an :class:`IncrementalEncoder` instance."
771-
msgstr ""
779+
msgstr ":class:`IncrementalEncoder` 实例的构造器。"
772780

773781
#: ../../library/codecs.rst:537
774782
msgid ""
775783
"All incremental encoders must provide this constructor interface. They are "
776784
"free to add additional keyword arguments, but only the ones defined here are"
777785
" used by the Python codec registry."
778-
msgstr ""
786+
msgstr "增量式编码器必须提供此构造器接口。 它们可以自由地添加额外的关键字参数,但只有在这里定义的参数才会被 Python 编解码器注册表所使用。"
779787

780788
#: ../../library/codecs.rst:541
781789
msgid ""
782790
"The :class:`IncrementalEncoder` may implement different error handling "
783791
"schemes by providing the *errors* keyword argument. See :ref:`error-"
784792
"handlers` for possible values."
785793
msgstr ""
794+
":class:`IncrementalEncoder` 可以通过提供 *errors* 关键字参数来实现不同的错误处理方案。 可用的值请参阅 :ref"
795+
":`error-handlers`。"
786796

787797
#: ../../library/codecs.rst:545
788798
msgid ""
@@ -791,6 +801,8 @@ msgid ""
791801
"error handling strategies during the lifetime of the "
792802
":class:`IncrementalEncoder` object."
793803
msgstr ""
804+
"*errors* 参数必须被赋值给一个同名的属性。 通过对此属性赋值就可以在 :class:`IncrementalEncoder` "
805+
"对象的生命期内在不同的错误处理策略之间进行切换。"
794806

795807
#: ../../library/codecs.rst:553
796808
msgid ""

tutorial/venv.po

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2018, Python Software Foundation
2+
# Copyright (C) 2001-2019, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
77
# Fei Yin <[email protected]>, 2018
88
# ww song <[email protected]>, 2018
9-
# Freesand Leo <[email protected]>, 2018
9+
# Freesand Leo <[email protected]>, 2019
1010
#
1111
#, fuzzy
1212
msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.7\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
16+
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1717
"PO-Revision-Date: 2017-02-16 23:41+0000\n"
18-
"Last-Translator: Freesand Leo <[email protected]>, 2018\n"
18+
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
1919
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -68,7 +68,8 @@ msgid ""
6868
"application B requires a library be upgraded to version 3.0, this will not "
6969
"affect application A's environment."
7070
msgstr ""
71-
"然后,不同的应用可以使用不同的虚拟环要解决先前的冲突需求示例,应用程序A可以拥有自己的1.0版本安装虚拟环境,而应用程序B则具有2.0版本的另一个虚拟环境。如果应用程序B要求将库升级到3.0版本,也不会影响应用程序A的环境。"
71+
"然后,不同的应用将可以使用不同的虚拟环境。 要解决先前需求相冲突的例子,应用程序 A 可以拥有自己的 安装了 1.0 版本的虚拟环境,而应用程序 B "
72+
"则拥有安装了 2.0 版本的另一个虚拟环境。 如果应用程序 B 要求将某个库升级到 3.0 版本,也不会影响应用程序 A 的环境。"
7273

7374
#: ../../tutorial/venv.rst:36
7475
msgid "Creating Virtual Environments"

0 commit comments

Comments
 (0)