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

Skip to content

Commit 1489e48

Browse files
committed
[po] auto sync bot
1 parent 3b8be5a commit 1489e48

7 files changed

Lines changed: 60 additions & 42 deletions

File tree

c-api/concrete.po

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# Meng Du <[email protected]>, 2019
88
# Wang Saul <[email protected]>, 2019
9+
# ppcfish <[email protected]>, 2019
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1617
"PO-Revision-Date: 2017-02-16 17:34+0000\n"
17-
"Last-Translator: Wang Saul <jdtvcctv@gmail.com>, 2019\n"
18+
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\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,7 +25,7 @@ msgstr ""
2425

2526
#: ../../c-api/concrete.rst:8
2627
msgid "Concrete Objects Layer"
27-
msgstr ""
28+
msgstr "具体的对象层"
2829

2930
#: ../../c-api/concrete.rst:10
3031
msgid ""
@@ -35,6 +36,7 @@ msgid ""
3536
"object is a dictionary, use :c:func:`PyDict_Check`. The chapter is "
3637
"structured like the \"family tree\" of Python object types."
3738
msgstr ""
39+
"本章中的函数特定于某些Python对象类型。将错误类型的对象传递给它们并不是一个好主意;如果您从Python程序接收到一个对象,但不确定它是否具有正确的类型,则必须首先执行类型检查;例如,要检查对象是否为字典,请使用PyDict_check()。本章的结构类似于Python对象类型的“族树”。"
3840

3941
#: ../../c-api/concrete.rst:19
4042
msgid ""
@@ -43,6 +45,7 @@ msgid ""
4345
"passed instead of a valid object. Allowing *NULL* to be passed in can cause"
4446
" memory access violations and immediate termination of the interpreter."
4547
msgstr ""
48+
"虽然本章描述的函数会仔细检查传入的对象的类型,但是其中许多函数不会检查传入的对象是否为NULL,而不是一个有效的对象。允许NULL传入可能会导致内存访问冲突和解释器的立即终止。"
4649

4750
#: ../../c-api/concrete.rst:28
4851
msgid "Fundamental Objects"
@@ -52,11 +55,11 @@ msgstr "基本对象"
5255
msgid ""
5356
"This section describes Python type objects and the singleton object "
5457
"``None``."
55-
msgstr ""
58+
msgstr "本节描述Python类型对象和单一实例对象 象None。"
5659

5760
#: ../../c-api/concrete.rst:41
5861
msgid "Numeric Objects"
59-
msgstr ""
62+
msgstr "数值对象"
6063

6164
#: ../../c-api/concrete.rst:56
6265
msgid "Sequence Objects"
@@ -67,7 +70,7 @@ msgid ""
6770
"Generic operations on sequence objects were discussed in the previous "
6871
"chapter; this section deals with the specific kinds of sequence objects that"
6972
" are intrinsic to the Python language."
70-
msgstr ""
73+
msgstr "序列对象的一般操作在前一章中讨论过;本节介绍Python语言固有的特定类型的序列对象。"
7174

7275
#: ../../c-api/concrete.rst:78
7376
msgid "Container Objects"

c-api/contextvars.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# Kade For, 2019
8+
# ppcfish <[email protected]>, 2019
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1516
"PO-Revision-Date: 2018-06-29 21:01+0000\n"
16-
"Last-Translator: Kade For, 2019\n"
17+
"Last-Translator: ppcfish <[email protected]>, 2019\n"
1718
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -70,7 +71,7 @@ msgstr ""
7071

7172
#: ../../c-api/contextvars.rst:58
7273
msgid "Type-check macros:"
73-
msgstr ""
74+
msgstr "类型检查宏:"
7475

7576
#: ../../c-api/contextvars.rst:62
7677
msgid ""

c-api/conversion.po

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ msgid ""
3737
"*format* and the extra arguments. See the Unix man page "
3838
":manpage:`snprintf(2)`."
3939
msgstr ""
40+
"根据格式字符串格式和额外参数输出不超过 *size* 字节到 *str* 。请参见Unix手册页 :manpage:`snprintf(2)` 。"
4041

4142
#: ../../c-api/conversion.rst:19
4243
msgid ""

c-api/datetime.po

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# Larry Wang <[email protected]>, 2019
88
# Freesand Leo <[email protected]>, 2019
9+
# ppcfish <[email protected]>, 2019
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2019-05-08 11:22+0900\n"
1617
"PO-Revision-Date: 2017-02-16 17:34+0000\n"
17-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
18+
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\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"
@@ -53,7 +54,7 @@ msgstr ""
5354

5455
#: ../../c-api/datetime.rst:26
5556
msgid "Type-check macros:"
56-
msgstr ""
57+
msgstr "类型检查宏:"
5758

5859
#: ../../c-api/datetime.rst:30
5960
msgid ""
@@ -117,7 +118,7 @@ msgstr ""
117118

118119
#: ../../c-api/datetime.rst:88
119120
msgid "Macros to create objects:"
120-
msgstr ""
121+
msgstr "用于创建对象的宏:"
121122

122123
#: ../../c-api/datetime.rst:92
123124
msgid ""
@@ -183,11 +184,11 @@ msgstr ""
183184

184185
#: ../../c-api/datetime.rst:157
185186
msgid "Return the month, as an int from 1 through 12."
186-
msgstr ""
187+
msgstr "返回月,从0到12的整数。"
187188

188189
#: ../../c-api/datetime.rst:162
189190
msgid "Return the day, as an int from 1 through 31."
190-
msgstr ""
191+
msgstr "返回日期,从0到31的整数。"
191192

192193
#: ../../c-api/datetime.rst:165
193194
msgid ""
@@ -198,19 +199,19 @@ msgstr ""
198199

199200
#: ../../c-api/datetime.rst:171 ../../c-api/datetime.rst:195
200201
msgid "Return the hour, as an int from 0 through 23."
201-
msgstr ""
202+
msgstr "返回小时,从0到23的整数。"
202203

203204
#: ../../c-api/datetime.rst:176 ../../c-api/datetime.rst:200
204205
msgid "Return the minute, as an int from 0 through 59."
205-
msgstr ""
206+
msgstr "返回分钟,从0到59的整数。"
206207

207208
#: ../../c-api/datetime.rst:181 ../../c-api/datetime.rst:205
208209
msgid "Return the second, as an int from 0 through 59."
209-
msgstr ""
210+
msgstr "返回秒,从0到59的整数。"
210211

211212
#: ../../c-api/datetime.rst:186 ../../c-api/datetime.rst:210
212213
msgid "Return the microsecond, as an int from 0 through 999999."
213-
msgstr ""
214+
msgstr "返回微秒,从0到999999的整数。"
214215

215216
#: ../../c-api/datetime.rst:189
216217
msgid ""
@@ -228,15 +229,15 @@ msgstr ""
228229

229230
#: ../../c-api/datetime.rst:219
230231
msgid "Return the number of days, as an int from -999999999 to 999999999."
231-
msgstr ""
232+
msgstr "返回天数,从-999999999到999999999的整数。"
232233

233234
#: ../../c-api/datetime.rst:226
234235
msgid "Return the number of seconds, as an int from 0 through 86399."
235-
msgstr ""
236+
msgstr "返回秒数,从0到86399的整数。"
236237

237238
#: ../../c-api/datetime.rst:233
238239
msgid "Return the number of microseconds, as an int from 0 through 999999."
239-
msgstr ""
240+
msgstr "返回微秒数,从0到999999的整数。"
240241

241242
#: ../../c-api/datetime.rst:238
242243
msgid "Macros for the convenience of modules implementing the DB API:"

c-api/sys.po

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
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
#
6+
# Translators:
7+
# ppcfish <[email protected]>, 2019
8+
#
69
#, fuzzy
710
msgid ""
811
msgstr ""
912
"Project-Id-Version: Python 3.7\n"
1013
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
12-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14+
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
15+
"PO-Revision-Date: 2017-02-16 17:39+0000\n"
16+
"Last-Translator: ppcfish <[email protected]>, 2019\n"
1317
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1418
"MIME-Version: 1.0\n"
1519
"Content-Type: text/plain; charset=UTF-8\n"
@@ -19,7 +23,7 @@ msgstr ""
1923

2024
#: ../../c-api/sys.rst:6
2125
msgid "Operating System Utilities"
22-
msgstr ""
26+
msgstr "操作系统实用程序"
2327

2428
#: ../../c-api/sys.rst:10
2529
msgid ""
@@ -127,7 +131,7 @@ msgstr ""
127131

128132
#: ../../c-api/sys.rst:111 ../../c-api/sys.rst:152
129133
msgid "``UTF-8`` on macOS and Android;"
130-
msgstr ""
134+
msgstr "``UTF-8`` 在 macOS 和 Android上;"
131135

132136
#: ../../c-api/sys.rst:112 ../../c-api/sys.rst:153
133137
msgid "``UTF-8`` if the Python UTF-8 mode is enabled;"
@@ -221,7 +225,7 @@ msgstr ""
221225

222226
#: ../../c-api/sys.rst:189
223227
msgid "System Functions"
224-
msgstr ""
228+
msgstr "系统功能"
225229

226230
#: ../../c-api/sys.rst:191
227231
msgid ""
@@ -334,7 +338,7 @@ msgstr ""
334338

335339
#: ../../c-api/sys.rst:288
336340
msgid "Process Control"
337-
msgstr ""
341+
msgstr "过程控制"
338342

339343
#: ../../c-api/sys.rst:295
340344
msgid ""

faq/programming.po

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# Zhe He <[email protected]>, 2019
1212
# ChenYuan <[email protected]>, 2019
1313
# Siyuan Xu <[email protected]>, 2019
14-
# ppcfish <[email protected]>, 2019
1514
# Meng Du <[email protected]>, 2019
15+
# ppcfish <[email protected]>, 2019
1616
#
1717
#, fuzzy
1818
msgid ""
@@ -21,7 +21,7 @@ msgstr ""
2121
"Report-Msgid-Bugs-To: \n"
2222
"POT-Creation-Date: 2019-05-14 11:26+0900\n"
2323
"PO-Revision-Date: 2017-02-16 17:43+0000\n"
24-
"Last-Translator: Meng Du <alphanow@gmail.com>, 2019\n"
24+
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\n"
2525
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2626
"MIME-Version: 1.0\n"
2727
"Content-Type: text/plain; charset=UTF-8\n"
@@ -585,6 +585,8 @@ msgid ""
585585
"tuple and the keyword arguments as a dictionary. You can then pass these "
586586
"arguments when calling another function by using ``*`` and ``**``::"
587587
msgstr ""
588+
"使用函数参数列表中的 ``*`` 和 ``**`` 说明符收集参数;这会将位置参数作为元组,将关键字参数作为字典。然后,您可以使用 ``*`` 和 "
589+
"``**`` 调用另一个函数时传递这些参数:"
588590

589591
#: ../../faq/programming.rst:418
590592
msgid "What is the difference between arguments and parameters?"
@@ -603,7 +605,7 @@ msgstr ""
603605
msgid ""
604606
"*foo*, *bar* and *kwargs* are parameters of ``func``. However, when calling"
605607
" ``func``, for example::"
606-
msgstr ""
608+
msgstr "*foo*, *bar* 和 *kwargs* 是 ``func`` 的参数。但是,在调用 ``func`` 时,例如:"
607609

608610
#: ../../faq/programming.rst:433
609611
msgid "the values ``42``, ``314``, and ``somevar`` are arguments."
@@ -710,7 +712,7 @@ msgstr ""
710712

711713
#: ../../faq/programming.rst:512
712714
msgid "How do I write a function with output parameters (call by reference)?"
713-
msgstr ""
715+
msgstr "如何编写带输出参数的函数(通过引用调用)?"
714716

715717
#: ../../faq/programming.rst:514
716718
msgid ""
@@ -816,7 +818,7 @@ msgstr ""
816818

817819
#: ../../faq/programming.rst:651
818820
msgid "How can I find the methods or attributes of an object?"
819-
msgstr ""
821+
msgstr "如何找到对象的方法或属性?"
820822

821823
#: ../../faq/programming.rst:653
822824
msgid ""
@@ -827,7 +829,7 @@ msgstr ""
827829

828830
#: ../../faq/programming.rst:659
829831
msgid "How can my code discover the name of an object?"
830-
msgstr ""
832+
msgstr "我的代码如何才能发现对象的名称?"
831833

832834
#: ../../faq/programming.rst:661
833835
msgid ""
@@ -935,7 +937,7 @@ msgstr ""
935937

936938
#: ../../faq/programming.rst:776
937939
msgid "What does the slash(/) in the parameter list of a function mean?"
938-
msgstr ""
940+
msgstr "函数参数列表中的斜杠(/)是什么意思?"
939941

940942
#: ../../faq/programming.rst:778
941943
msgid ""
@@ -1589,7 +1591,7 @@ msgstr ""
15891591

15901592
#: ../../faq/programming.rst:1370
15911593
msgid "How can I sort one list by values from another list?"
1592-
msgstr ""
1594+
msgstr "如何按其他列表中的值对一个列表进行排序?"
15931595

15941596
#: ../../faq/programming.rst:1372
15951597
msgid ""
@@ -1669,7 +1671,7 @@ msgstr "另请参阅 :ref:`why-self` 。"
16691671
msgid ""
16701672
"How do I check if an object is an instance of a given class or of a subclass"
16711673
" of it?"
1672-
msgstr ""
1674+
msgstr "如何检查对象是否是给定类或其子类的实例?"
16731675

16741676
#: ../../faq/programming.rst:1444
16751677
msgid ""
@@ -1745,7 +1747,7 @@ msgstr ""
17451747
msgid ""
17461748
"How do I call a method defined in a base class from a derived class that "
17471749
"overrides it?"
1748-
msgstr ""
1750+
msgstr "如何从覆盖基类的派生类调用基类中定义的方法?"
17491751

17501752
#: ../../faq/programming.rst:1527
17511753
msgid "Use the built-in :func:`super` function::"
@@ -1776,7 +1778,7 @@ msgstr ""
17761778

17771779
#: ../../faq/programming.rst:1558
17781780
msgid "How do I create static class data and static class methods?"
1779-
msgstr ""
1781+
msgstr "如何创建静态类数据和静态类方法?"
17801782

17811783
#: ../../faq/programming.rst:1560
17821784
msgid ""
@@ -1823,7 +1825,7 @@ msgstr ""
18231825

18241826
#: ../../faq/programming.rst:1605
18251827
msgid "How can I overload constructors (or methods) in Python?"
1826-
msgstr ""
1828+
msgstr "如何在Python中重载构造函数(或方法)?"
18271829

18281830
#: ../../faq/programming.rst:1607
18291831
msgid ""
@@ -2039,7 +2041,7 @@ msgstr ""
20392041

20402042
#: ../../faq/programming.rst:1786
20412043
msgid "How do I find the current module name?"
2042-
msgstr ""
2044+
msgstr "如何找到当前模块名称?"
20432045

20442046
#: ../../faq/programming.rst:1788
20452047
msgid ""

0 commit comments

Comments
 (0)