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

Skip to content

Commit 551cb1d

Browse files
[po] auto sync
1 parent 57fe38d commit 551cb1d

3 files changed

Lines changed: 20 additions & 7 deletions

File tree

c-api/capsule.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Shengjing Zhu <[email protected]>, 2020
88
# RSNOW <[email protected]>, 2020
99
# Trim21 <[email protected]>, 2020
10+
# Freesand Leo <[email protected]>, 2020
1011
#
1112
#, fuzzy
1213
msgid ""
@@ -15,7 +16,7 @@ msgstr ""
1516
"Report-Msgid-Bugs-To: \n"
1617
"POT-Creation-Date: 2020-08-20 14:53+0000\n"
1718
"PO-Revision-Date: 2020-05-30 11:47+0000\n"
18-
"Last-Translator: Trim21 <[email protected]>, 2020\n"
19+
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
1920
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2021
"MIME-Version: 1.0\n"
2122
"Content-Type: text/plain; charset=UTF-8\n"
@@ -41,6 +42,9 @@ msgid ""
4142
"regular import mechanism can be used to access C APIs defined in dynamically"
4243
" loaded modules."
4344
msgstr ""
45+
"这个 :c:type:`PyObject` 的子类型代表一个隐藏的值,适用于需要将隐藏值(作为 :c:type:`void*` 指针)通过 Python"
46+
" 代码传递到其他 C 代码的 C 扩展模块。 它常常被用来让在一个模块中定义的 C "
47+
"函数指针在其他模块中可用,这样就可以使用常规导入机制来访问在动态加载的模块中定义的 C API。"
4448

4549
#: ../../c-api/capsule.rst:27
4650
msgid "The type of a destructor callback for a capsule. Defined as::"
@@ -60,11 +64,11 @@ msgstr "如果参数是一个 :c:type:`PyCapsule` 则返回 True"
6064
msgid ""
6165
"Create a :c:type:`PyCapsule` encapsulating the *pointer*. The *pointer* "
6266
"argument may not be ``NULL``."
63-
msgstr ""
67+
msgstr "创建一个封装了 *pointer* 的 :c:type:`PyCapsule`。 *pointer* 参考可以不为 ``NULL``。"
6468

6569
#: ../../c-api/capsule.rst:45
6670
msgid "On failure, set an exception and return ``NULL``."
67-
msgstr ""
71+
msgstr "在失败时设置一个异常并返回 ``NULL``。"
6872

6973
#: ../../c-api/capsule.rst:47
7074
msgid ""

library/curses.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,8 @@ msgid ""
735735
"*capname* is not a Boolean capability, or ``0`` if it is canceled or absent "
736736
"from the terminal description."
737737
msgstr ""
738+
"将与 terminfo 功能名称 *capname* 相对应的布尔功能值以整数形式返回。 如果 *capname* 不是一个布尔功能则返回 "
739+
"``-1``,如果其被取消或不存在于终端描述中则返回 ``0``。"
738740

739741
#: ../../library/curses.rst:566
740742
msgid ""
@@ -743,6 +745,8 @@ msgid ""
743745
"*capname* is not a numeric capability, or ``-1`` if it is canceled or absent"
744746
" from the terminal description."
745747
msgstr ""
748+
"将与 terminfo 功能名称 *capname* 相对应的数字功能值以整数形式返回。 如果 *capname* 不是一个数字功能则返回 "
749+
"``-2``,如果其被取消或不存在于终端描述中则返回 ``-1``。"
746750

747751
#: ../../library/curses.rst:574
748752
msgid ""
@@ -751,6 +755,8 @@ msgid ""
751755
"is not a terminfo \"string capability\", or is canceled or absent from the "
752756
"terminal description."
753757
msgstr ""
758+
"将与 terminfo 功能名称 *capname* 相对应的字符串功能值以字节串对象形式返回。 如果 *capname* 不是一个 terminfo "
759+
"\"字符串功能\" 或者如果其被取消或不存在于终端描述中则返回 ``None``。"
754760

755761
#: ../../library/curses.rst:582
756762
msgid ""
@@ -759,12 +765,14 @@ msgid ""
759765
" ``tparm(tigetstr(\"cup\"), 5, 3)`` could result in ``b'\\033[6;4H'``, the "
760766
"exact result depending on terminal type."
761767
msgstr ""
768+
"使用提供的形参初始化字节串对象 *str*,其中 *str* 应当是从 terminfo 数据库获取的参数化字符串。 例如 "
769+
"``tparm(tigetstr(\"cup\"), 5, 3)`` 的结果可能为 ``b'\\033[6;4H'``,实际结果将取决于终端类型。"
762770

763771
#: ../../library/curses.rst:590
764772
msgid ""
765773
"Specify that the file descriptor *fd* be used for typeahead checking. If "
766774
"*fd* is ``-1``, then no typeahead checking is done."
767-
msgstr ""
775+
msgstr "指定将被用于预输入检查的文件描述符 *fd*。 如果 *fd* 为 ``-1``,则不执行预输入检查。"
768776

769777
#: ../../library/curses.rst:593
770778
msgid ""

library/pyclbr.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# Shengjing Zhu <[email protected]>, 2020
88
# Meng Du <[email protected]>, 2020
9+
# Freesand Leo <[email protected]>, 2020
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2020-02-25 12:47+0000\n"
1617
"PO-Revision-Date: 2020-05-30 12:08+0000\n"
17-
"Last-Translator: Meng Du <alphanow@gmail.com>, 2020\n"
18+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
1819
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
@@ -24,11 +25,11 @@ msgstr ""
2425

2526
#: ../../library/pyclbr.rst:2
2627
msgid ":mod:`pyclbr` --- Python module browser support"
27-
msgstr ""
28+
msgstr ":mod:`pyclbr` --- Python 模块浏览器支持"
2829

2930
#: ../../library/pyclbr.rst:9
3031
msgid "**Source code:** :source:`Lib/pyclbr.py`"
31-
msgstr ""
32+
msgstr "**源代码:** :source:`Lib/pyclbr.py`"
3233

3334
#: ../../library/pyclbr.rst:13
3435
msgid ""

0 commit comments

Comments
 (0)