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

Skip to content

Commit 8ae1a24

Browse files
committed
[po] auto sync bot
1 parent 7a2733d commit 8ae1a24

3 files changed

Lines changed: 21 additions & 9 deletions

File tree

c-api/bytearray.po

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: 刘士 <[email protected]>, 2018\n"
1314
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1415
"MIME-Version: 1.0\n"
1516
"Content-Type: text/plain; charset=UTF-8\n"
@@ -19,22 +20,24 @@ msgstr ""
1920

2021
#: ../../c-api/bytearray.rst:6
2122
msgid "Byte Array Objects"
22-
msgstr ""
23+
msgstr "bytearray 对象"
2324

2425
#: ../../c-api/bytearray.rst:13
2526
msgid ""
2627
"This subtype of :c:type:`PyObject` represents a Python bytearray object."
27-
msgstr ""
28+
msgstr "此子类型::c:type:`PyObject` 表示一个 Python bytearray 对象。"
2829

2930
#: ../../c-api/bytearray.rst:18
3031
msgid ""
3132
"This instance of :c:type:`PyTypeObject` represents the Python bytearray "
3233
"type; it is the same object as :class:`bytearray` in the Python layer."
3334
msgstr ""
35+
"Python bytearray 类型表示为 :c:type:`PyTypeObject` 的实例;这与Python层面的 "
36+
":class:`bytearray` 是相同的对象。"
3437

3538
#: ../../c-api/bytearray.rst:23
3639
msgid "Type check macros"
37-
msgstr ""
40+
msgstr "键入检查宏"
3841

3942
#: ../../c-api/bytearray.rst:27
4043
msgid ""

reference/introduction.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ msgid ""
4343
"volunteer your time --- or invent a cloning machine :-)."
4444
msgstr ""
4545
"我希望尽可能地保证内容精确无误,但还是选择使用自然词句进行描述,正式的规格定义仅用于句法和词法解析。这样应该能使文档对于普通人来说更易理解,但也可能导致一些歧义。因此,如果你是来自火星并且想凭借这份文档把"
46-
" Python 重新实现一遍,也许有时需要自行猜测,实际上最终大概会得到一个十分不同的语言。而在另一方面,如果你正来使用 Python "
46+
" Python 重新实现一遍,也许有时需要自行猜测,实际上最终大概会得到一个十分不同的语言。而在另一方面,如果你正在使用 Python "
4747
"并且想了解有关该语言特定领域的精确规则,你应该能够在这里找到它们。如果你希望查看对该语言更正式的定义,也许你可以花些时间自己写上一份 --- "
4848
"或者发明一台克隆机器 :-)"
4949

@@ -82,11 +82,11 @@ msgid ""
8282
"Though there is one Python implementation which is by far the most popular, "
8383
"there are some alternate implementations which are of particular interest to"
8484
" different audiences."
85-
msgstr ""
85+
msgstr "虽然官方 Python 实现差不多得到最广泛的欢迎,但也有一些其他实现对特定领域的用户来说更具吸引力。"
8686

8787
#: ../../reference/introduction.rst:47
8888
msgid "Known implementations include:"
89-
msgstr ""
89+
msgstr "知名的实现包括:"
9090

9191
#: ../../reference/introduction.rst:51
9292
msgid "CPython"
@@ -96,11 +96,11 @@ msgstr "CPython"
9696
msgid ""
9797
"This is the original and most-maintained implementation of Python, written "
9898
"in C. New language features generally appear here first."
99-
msgstr ""
99+
msgstr "这是最早出现并持续维护的 Python 实现,以 C 语言编写。新的语言特性通常在此率先添加。"
100100

101101
#: ../../reference/introduction.rst:57
102102
msgid "Jython"
103-
msgstr ""
103+
msgstr "Jython"
104104

105105
#: ../../reference/introduction.rst:54
106106
msgid ""

tutorial/errors.po

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ msgid ""
5050
"colon (``':'``) is missing before it. File name and line number are printed"
5151
" so you know where to look in case the input came from a script."
5252
msgstr ""
53+
"解析器会输出出现语法错误的那一行,并显示一个“箭头”,指向这行里面检测到第一个错误。 "
54+
"错误是由箭头指示的位置的*前面*的标识符引起的,也有可能是在这里才检测除了。:在示例中,在func:`print`这个函数中检测到错误:,因为少了个冒号"
55+
" (``':'``)。还会输出文件名和行号,以便输入来自脚本文件时知道错误在哪里。"
5356

5457
#: ../../tutorial/errors.rst:37
5558
msgid "Exceptions"
@@ -64,6 +67,9 @@ msgid ""
6467
"not handled by programs, however, and result in error messages as shown "
6568
"here::"
6669
msgstr ""
70+
"即使语句或表达式在语法上是正确的,但在尝试执行它时可能会导致错误。 "
71+
"在执行期间检测到的错误被称为*异常*,异常不一定会导致严重后果:您将很快学会如何在Python程序中处理它们。 "
72+
"但是,大多数异常并不会被程序处理,此时会显示如下所示的错误信息::"
6773

6874
#: ../../tutorial/errors.rst:58
6975
msgid ""
@@ -76,12 +82,15 @@ msgid ""
7682
" a useful convention). Standard exception names are built-in identifiers "
7783
"(not reserved keywords)."
7884
msgstr ""
85+
"错误信息的最后一行告诉我们程序遇到了什么类型的错误。异常有不同的类型,而其类型名称将会在错误信息中输出出来。上述样例中的异常类型依次是::exc:`ZeroDivisionError`,"
86+
" :exc:`NameError` and "
87+
":exc:`TypeError`。错误信息中的异常类型是执行时抛出的内建异常类型。所有的内建类型都会如此,而虽然这是惯例,但是用户自定义的异常不一定如此。标准的异常类型是内建的标识符而非保留关键字。"
7988

8089
#: ../../tutorial/errors.rst:66
8190
msgid ""
8291
"The rest of the line provides detail based on the type of exception and what"
8392
" caused it."
84-
msgstr ""
93+
msgstr "这一行剩下的部分能告诉我们此处抛出异常的具体类型以及哪一部分代码抛出了异常。"
8594

8695
#: ../../tutorial/errors.rst:69
8796
msgid ""

0 commit comments

Comments
 (0)