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

Skip to content

Commit 3ec1de4

Browse files
committed
[po] auto sync bot
1 parent 15e3e0c commit 3ec1de4

1 file changed

Lines changed: 20 additions & 7 deletions

File tree

glossary.po

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# Shengjing Zhu <[email protected]>, 2018
99
# Fred <[email protected]>, 2018
1010
# Freesand Leo <[email protected]>, 2018
11+
# Junkai Shao <[email protected]>, 2018
1112
#
1213
#, fuzzy
1314
msgid ""
@@ -16,7 +17,7 @@ msgstr ""
1617
"Report-Msgid-Bugs-To: \n"
1718
"POT-Creation-Date: 2018-10-27 09:37+0900\n"
1819
"PO-Revision-Date: 2017-02-16 17:32+0000\n"
19-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2018\n"
20+
"Last-Translator: Junkai Shao <skaifun.dev@gmail.com>, 2018\n"
2021
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2122
"MIME-Version: 1.0\n"
2223
"Content-Type: text/plain; charset=UTF-8\n"
@@ -113,7 +114,7 @@ msgid ""
113114
"in the :attr:`__annotations__` special attribute of modules, classes, and "
114115
"functions, respectively."
115116
msgstr ""
116-
"本地变量的标注在运行时不可访问,但全局变量、类属性和函数的标注会分别存放模块、类和函数的 :attr:`__annotations__` 特殊属性中。"
117+
"局部变量的标注在运行时不可访问,但全局变量、类属性和函数的标注会分别存放模块、类和函数的 :attr:`__annotations__` 特殊属性中。"
117118

118119
#: ../../glossary.rst:54
119120
msgid ""
@@ -160,8 +161,8 @@ msgid ""
160161
"Syntactically, any expression can be used to represent an argument; the "
161162
"evaluated value is assigned to the local variable."
162163
msgstr ""
163-
"参数会被赋值给函数体中对应的本地变量。有关赋值规则参见 :ref:`calls` "
164-
"一节。根据语法,任何表达式都可用来表示一个参数;最终算出的值会被赋给对应的本地变量。"
164+
"参数会被赋值给函数体中对应的局部变量。有关赋值规则参见 :ref:`calls` "
165+
"一节。根据语法,任何表达式都可用来表示一个参数;最终算出的值会被赋给对应的局部变量。"
165166

166167
#: ../../glossary.rst:83
167168
msgid ""
@@ -241,7 +242,7 @@ msgid ""
241242
" with another awaitable returned by :meth:`__anext__`, it picks up where it "
242243
"left off. See :pep:`492` and :pep:`525`."
243244
msgstr ""
244-
"每个 :keyword:`yield` 会临时暂停处理,记住当前位置执行状态 (包括本地变量和挂起的 try 语句)。当该 *异步生成器迭代器* 与其他"
245+
"每个 :keyword:`yield` 会临时暂停处理,记住当前位置执行状态 (包括局部变量和挂起的 try 语句)。当该 *异步生成器迭代器* 与其他"
245246
" :meth:`__anext__` 返回的可等待对象有效恢复时,它会从离开位置继续执行。参见 :pep:`492` 和 :pep:`525`。"
246247

247248
#: ../../glossary.rst:119
@@ -673,6 +674,8 @@ msgid ""
673674
"expressions, such as :keyword:`if`. Assignments are also statements, not "
674675
"expressions."
675676
msgstr ""
677+
"可以求出某个值的语法单元。换句话说,一个表达式就是表达元素例如字面值、名称、属性访问、运算符或函数调用的汇总,它们最终都会返回一个值。与许多其他语言不同,并非所有语言构件都是表达式。还存在不能用作表达式的"
678+
" :term:`statement`,例如 :keyword:`if`。赋值也是语句而非表达式。"
676679

677680
#: ../../glossary.rst:337
678681
msgid "extension module"
@@ -682,7 +685,7 @@ msgstr "extension module -- 扩展模块"
682685
msgid ""
683686
"A module written in C or C++, using Python's C API to interact with the core"
684687
" and with user code."
685-
msgstr ""
688+
msgstr "以 C 或 C++ 编写的模块,使用 Python 的 C API 来与语言核心以及用户代码进行交互。"
686689

687690
#: ../../glossary.rst:341
688691
msgid "f-string"
@@ -694,6 +697,8 @@ msgid ""
694697
"\"f-strings\" which is short for :ref:`formatted string literals "
695698
"<f-strings>`. See also :pep:`498`."
696699
msgstr ""
700+
"带有 ``'f'`` 或 ``'F'`` 前缀的字符串字面值通常被称为 \"f-字符串\" 即 :ref:`格式化字符串字面值 <f-strings>`"
701+
" 的简写。参见 :pep:`498`。"
697702

698703
#: ../../glossary.rst:346
699704
msgid "file object"
@@ -708,6 +713,9 @@ msgid ""
708713
"input/output, in-memory buffers, sockets, pipes, etc.). File objects are "
709714
"also called :dfn:`file-like objects` or :dfn:`streams`."
710715
msgstr ""
716+
"对外提供面向文件 API 以使用下层资源的对象 (带有 :meth:`read()` 或 :meth:`write()` "
717+
"这样的方法)。根据其创建方式的不同,文件对象可以处理对真实磁盘文件,对其他类型存储,或是对通讯设备的访问 "
718+
"(例如标准输入/输出、内存缓冲区、套接字、管道等等)。文件对象也被称为 :dfn:`文件类对象` 或 :dfn:`流`。"
711719

712720
#: ../../glossary.rst:356
713721
msgid ""
@@ -717,14 +725,17 @@ msgid ""
717725
"The canonical way to create a file object is by using the :func:`open` "
718726
"function."
719727
msgstr ""
728+
"实际上共有三种类别的文件对象: 原始 :term:`二进制文件 <binary file>`, 缓冲 :term:`二进制文件 <binary "
729+
"file>` 以及 :term:`文本文件 <text file>`。它们的接口定义均在 :mod:`io` 模块中。创建文件对象的规范方式是使用 "
730+
":func:`open` 函数。"
720731

721732
#: ../../glossary.rst:361
722733
msgid "file-like object"
723734
msgstr "file-like object -- 文件类对象"
724735

725736
#: ../../glossary.rst:363
726737
msgid "A synonym for :term:`file object`."
727-
msgstr ""
738+
msgstr ":term:`file object` 的同义词。"
728739

729740
#: ../../glossary.rst:364
730741
msgid "finder"
@@ -759,6 +770,8 @@ msgid ""
759770
"division. Note that ``(-11) // 4`` is ``-3`` because that is ``-2.75`` "
760771
"rounded *downward*. See :pep:`238`."
761772
msgstr ""
773+
"向下舍入到最接近的整数的数学除法。向下取整除法的运算符是 ``//`` 。例如,表达式 ``11 // 4`` 的计算结果是 ``2`` ,而与之相反的是浮点数的真正除法返回 ``2.75`` 。注意 ``(-11) // 4`` 返回 ``-3``是因为\n"
774+
"结果``-2.75`` *向下* 舍入得到的。见 :pep:`238` 。"
762775

763776
#: ../../glossary.rst:381
764777
msgid "function"

0 commit comments

Comments
 (0)