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

Skip to content

Commit 6706908

Browse files
[po] auto sync
1 parent 635266c commit 6706908

5 files changed

Lines changed: 162 additions & 159 deletions

File tree

library/curses.ascii.po

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# 操旭 <[email protected]>, 2017
87
# Freesand Leo <[email protected]>, 2018
98
# ppcfish <[email protected]>, 2019
109
#
@@ -40,7 +39,7 @@ msgstr "名称"
4039

4140
#: ../../library/curses.ascii.rst:17
4241
msgid "Meaning"
43-
msgstr "意义"
42+
msgstr "含义"
4443

4544
#: ../../library/curses.ascii.rst:19
4645
msgid ":const:`NUL`"
@@ -52,63 +51,63 @@ msgstr ":const:`SOH`"
5251

5352
#: ../../library/curses.ascii.rst:21
5453
msgid "Start of heading, console interrupt"
55-
msgstr ""
54+
msgstr "标题开始,控制台中断"
5655

5756
#: ../../library/curses.ascii.rst:23
5857
msgid ":const:`STX`"
5958
msgstr ":const:`STX`"
6059

6160
#: ../../library/curses.ascii.rst:23
6261
msgid "Start of text"
63-
msgstr ""
62+
msgstr "文本开始"
6463

6564
#: ../../library/curses.ascii.rst:25
6665
msgid ":const:`ETX`"
6766
msgstr ":const:`ETX`"
6867

6968
#: ../../library/curses.ascii.rst:25
7069
msgid "End of text"
71-
msgstr ""
70+
msgstr "文本结束"
7271

7372
#: ../../library/curses.ascii.rst:27
7473
msgid ":const:`EOT`"
7574
msgstr ":const:`EOT`"
7675

7776
#: ../../library/curses.ascii.rst:27
7877
msgid "End of transmission"
79-
msgstr ""
78+
msgstr "传输结束"
8079

8180
#: ../../library/curses.ascii.rst:29
8281
msgid ":const:`ENQ`"
8382
msgstr ":const:`ENQ`"
8483

8584
#: ../../library/curses.ascii.rst:29
8685
msgid "Enquiry, goes with :const:`ACK` flow control"
87-
msgstr ""
86+
msgstr "查询,附带 :const:`ACK` 流量控制"
8887

8988
#: ../../library/curses.ascii.rst:31
9089
msgid ":const:`ACK`"
9190
msgstr ":const:`ACK`"
9291

9392
#: ../../library/curses.ascii.rst:31
9493
msgid "Acknowledgement"
95-
msgstr ""
94+
msgstr "确认"
9695

9796
#: ../../library/curses.ascii.rst:33
9897
msgid ":const:`BEL`"
9998
msgstr ":const:`BEL`"
10099

101100
#: ../../library/curses.ascii.rst:33
102101
msgid "Bell"
103-
msgstr ""
102+
msgstr "蜂鸣器"
104103

105104
#: ../../library/curses.ascii.rst:35
106105
msgid ":const:`BS`"
107106
msgstr ":const:`BS`"
108107

109108
#: ../../library/curses.ascii.rst:35
110109
msgid "Backspace"
111-
msgstr ""
110+
msgstr "退格"
112111

113112
#: ../../library/curses.ascii.rst:37
114113
msgid ":const:`TAB`"
@@ -124,47 +123,47 @@ msgstr ":const:`HT`"
124123

125124
#: ../../library/curses.ascii.rst:39
126125
msgid "Alias for :const:`TAB`: \"Horizontal tab\""
127-
msgstr ""
126+
msgstr ":const:`TAB` 的别名: \"水平制表符” "
128127

129128
#: ../../library/curses.ascii.rst:41
130129
msgid ":const:`LF`"
131130
msgstr ":const:`LF`"
132131

133132
#: ../../library/curses.ascii.rst:41
134133
msgid "Line feed"
135-
msgstr ""
134+
msgstr "换行"
136135

137136
#: ../../library/curses.ascii.rst:43
138137
msgid ":const:`NL`"
139138
msgstr ":const:`NL`"
140139

141140
#: ../../library/curses.ascii.rst:43
142141
msgid "Alias for :const:`LF`: \"New line\""
143-
msgstr ""
142+
msgstr ":const:`LF` 的别名: \"新行\""
144143

145144
#: ../../library/curses.ascii.rst:45
146145
msgid ":const:`VT`"
147146
msgstr ":const:`VT`"
148147

149148
#: ../../library/curses.ascii.rst:45
150149
msgid "Vertical tab"
151-
msgstr ""
150+
msgstr "垂直制表符"
152151

153152
#: ../../library/curses.ascii.rst:47
154153
msgid ":const:`FF`"
155154
msgstr ":const:`FF`"
156155

157156
#: ../../library/curses.ascii.rst:47
158157
msgid "Form feed"
159-
msgstr ""
158+
msgstr "换页"
160159

161160
#: ../../library/curses.ascii.rst:49
162161
msgid ":const:`CR`"
163162
msgstr ":const:`CR`"
164163

165164
#: ../../library/curses.ascii.rst:49
166165
msgid "Carriage return"
167-
msgstr ""
166+
msgstr "回车"
168167

169168
#: ../../library/curses.ascii.rst:51
170169
msgid ":const:`SO`"

library/functools.po

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ msgid ""
362362
"decorator. Note that the dispatch happens on the type of the first argument,"
363363
" create your function accordingly::"
364364
msgstr ""
365+
"要定义一个泛型函数,应使用 ``@singledispatch`` 装饰器进行装饰。 请注意分派是作用于第一个参数的类型,要相应地创建你的函数::"
365366

366367
#: ../../library/functools.rst:341
367368
msgid ""
@@ -370,31 +371,33 @@ msgid ""
370371
"annotated with types, the decorator will infer the type of the first "
371372
"argument automatically::"
372373
msgstr ""
374+
"要将重载的实现添加到函数中,请使用泛型函数的 :func:`register` 属性。 它是一个装饰器。 "
375+
"对于带有类型标注的函数,该装饰器将自动推断第一个参数的类型::"
373376

374377
#: ../../library/functools.rst:359
375378
msgid ""
376379
"For code which doesn't use type annotations, the appropriate type argument "
377380
"can be passed explicitly to the decorator itself::"
378-
msgstr ""
381+
msgstr "对于不使用类型标注的代码,可以将适当的类型参数显式地传给装饰器本身::"
379382

380383
#: ../../library/functools.rst:370
381384
msgid ""
382385
"To enable registering lambdas and pre-existing functions, the "
383386
":func:`register` attribute can be used in a functional form::"
384-
msgstr ""
387+
msgstr "要启用注册 lambda 和现有函数,可以使用函数形式的 :func:`register` 属性::"
385388

386389
#: ../../library/functools.rst:378
387390
msgid ""
388391
"The :func:`register` attribute returns the undecorated function which "
389392
"enables decorator stacking, pickling, as well as creating unit tests for "
390393
"each variant independently::"
391-
msgstr ""
394+
msgstr ":func:`register` 属性将返回启用了装饰器堆栈、封存的未装饰函数,并会为每个变量单独创建单元测试::"
392395

393396
#: ../../library/functools.rst:392
394397
msgid ""
395398
"When called, the generic function dispatches on the type of the first "
396399
"argument::"
397-
msgstr ""
400+
msgstr "在调用时,泛型函数会根据第一个参数的类型进行分派::"
398401

399402
#: ../../library/functools.rst:412
400403
msgid ""
@@ -404,22 +407,24 @@ msgid ""
404407
"``object`` type, which means it is used if no better implementation is "
405408
"found."
406409
msgstr ""
410+
"在没有用于特定类型的已注册实现的情况下,则会使用其方法解析顺序来查找更通用的实现。 以 ``@singledispatch`` "
411+
"装饰的原始函数将为最基本的 ``object`` 类型进行注册,这意味着它将在找不到更好的实现时被使用。"
407412

408413
#: ../../library/functools.rst:418
409414
msgid ""
410415
"To check which implementation will the generic function choose for a given "
411416
"type, use the ``dispatch()`` attribute::"
412-
msgstr ""
417+
msgstr "要检查泛型函数将为给定类型选择哪个实现,请使用 ``dispatch()`` 属性::"
413418

414419
#: ../../library/functools.rst:426
415420
msgid ""
416421
"To access all registered implementations, use the read-only ``registry`` "
417422
"attribute::"
418-
msgstr ""
423+
msgstr "要访问所有忆注册实现,请使用只读的 ``registry`` 属性::"
419424

420425
#: ../../library/functools.rst:440
421426
msgid "The :func:`register` attribute supports using type annotations."
422-
msgstr ""
427+
msgstr ":func:`register` 属性支持使用类型标注。"
423428

424429
#: ../../library/functools.rst:446
425430
msgid ""

0 commit comments

Comments
 (0)