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

Skip to content

Commit 8794a49

Browse files
committed
[po] auto sync bot
1 parent fde9934 commit 8794a49

3 files changed

Lines changed: 9 additions & 10 deletions

File tree

tutorial/controlflow.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ msgstr ":func:`range` 函数"
9191
msgid ""
9292
"If you do need to iterate over a sequence of numbers, the built-in function "
9393
":func:`range` comes in handy. It generates arithmetic progressions::"
94-
msgstr ""
94+
msgstr "如果你确实需要遍历一个数字序列,内置函数 :func:`range` 会派上用场。它生成算术级数::"
9595

9696
#: ../../tutorial/controlflow.rst:102
9797
msgid ""
@@ -105,7 +105,7 @@ msgstr ""
105105
msgid ""
106106
"To iterate over the indices of a sequence, you can combine :func:`range` and"
107107
" :func:`len` as follows::"
108-
msgstr ""
108+
msgstr "要以序列的索引来迭代,您可以将 :func:`range` 和 :func:`len` 组合如下::"
109109

110110
#: ../../tutorial/controlflow.rst:129
111111
msgid ""
@@ -144,7 +144,7 @@ msgstr ""
144144
msgid ""
145145
":keyword:`break` and :keyword:`continue` Statements, and :keyword:`else` "
146146
"Clauses on Loops"
147-
msgstr " :keyword:`break` 和 :keyword:`continue` 语句, 和循环的 :keyword:`else` 子句"
147+
msgstr ":keyword:`break` 和 :keyword:`continue` 语句, 和循环的 :keyword:`else` 子句"
148148

149149
#: ../../tutorial/controlflow.rst:160
150150
msgid ""

tutorial/datastructures.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-01-05 15:01+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: xiao xu <sunshareall0709@aliyun.com>, 2018\n"
13+
"Last-Translator: Fred <fred.wei@foxmail.com>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=UTF-8\n"
@@ -103,7 +103,7 @@ msgstr "返回元素 *x* 在列表中出现的次数。"
103103
msgid ""
104104
"Sort the items of the list in place (the arguments can be used for sort "
105105
"customization, see :func:`sorted` for their explanation)."
106-
msgstr "对列表中的项目进行排序(参数可用于自定义排序,详情请参阅func`sorted` )。"
106+
msgstr "对列表中的项目进行排序(参数可用于自定义排序,详情请参阅 :func:`sorted` )。"
107107

108108
#: ../../tutorial/datastructures.rst:91
109109
msgid "Reverse the elements of the list in place."

tutorial/introduction.po

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ msgid ""
451451
"than), ``>`` (greater than), ``==`` (equal to), ``<=`` (less than or equal "
452452
"to), ``>=`` (greater than or equal to) and ``!=`` (not equal to)."
453453
msgstr ""
454-
" :keyword:`while` 循环只要它的条件 (这里指: ``b < 10``) 保持为真就会一直执行. 在 Python 中, 就和 C "
454+
":keyword:`while` 循环只要它的条件 (这里指: ``b < 10``) 保持为真就会一直执行. 在 Python 中, 就和 C "
455455
"一样, 任何非零整数都为真; 零为假. 这个条件的值也可以是字符串或是列表,事实上任何*序列*都可以; 长度非零就为真, 空序列就为假. "
456456
"在这个例子里,检测条件是一个简单的比较. 标准的比较操作符和 C 语言里是一样的写法: ``<`` (小于), ``>`` (大于), ``==`` "
457457
"(等于), ``<=`` (小于或等于), ``>=`` (大于或等于) ``!=`` (不等于)."
@@ -467,7 +467,7 @@ msgid ""
467467
"(since the parser cannot guess when you have typed the last line). Note "
468468
"that each line within a basic block must be indented by the same amount."
469469
msgstr ""
470-
" *循环体* 是 *缩进的*: 缩进是 Python 组织语句的方式. 在交互式命令行里,你得给每个缩进的行敲下 Tab "
470+
"*循环体* 是 *缩进的*: 缩进是 Python 组织语句的方式. 在交互式命令行里,你得给每个缩进的行敲下 Tab "
471471
"键或者(多个)空格键。实际上用文本编辑器的话,你要准备更复杂的输入方式; 所有像样的文本编辑器都有自动缩进的设置. "
472472
"交互式命令行里,当一个组合的语句输入时, 需要在最后敲一个空白行表示完成 (因为语法分析器猜不出来你什么时候打的是最后一行). "
473473
"注意,在同一块语句中的每一行,都要缩进相同的长度。"
@@ -481,9 +481,8 @@ msgid ""
481481
"without quotes, and a space is inserted between items, so you can format "
482482
"things nicely, like this::"
483483
msgstr ""
484-
" :func:`print` 函数将所有传进来的参数值打印出来. 它和直接输入你要显示的表达式(比如我们之前在计算器的例子里做的)不一样, "
485-
"print() 能处理多个参数,包括浮点数,字符串。 字符串会打印不带引号的内容, 并且在参数项之间会插入一个空格, 这样你就可以很好的把东西格式化, "
486-
"像这样::"
484+
":func:`print` 函数将所有传进来的参数值打印出来. 它和直接输入你要显示的表达式(比如我们之前在计算器的例子里做的)不一样, print()"
485+
" 能处理多个参数,包括浮点数,字符串。 字符串会打印不带引号的内容, 并且在参数项之间会插入一个空格, 这样你就可以很好的把东西格式化, 像这样::"
487486

488487
#: ../../tutorial/introduction.rst:515
489488
msgid ""

0 commit comments

Comments
 (0)