@@ -1054,65 +1054,71 @@ msgid ""
10541054"can be provided as keyword-arguments. This can be used to set several pen "
10551055"attributes in one statement."
10561056msgstr ""
1057+ "此字典可作为后续调用 :func:`pen` "
1058+ "时的参数,以恢复之前的画笔状态。另外还可将这些属性作为关键词参数提交。使用此方式可以用一条语句设置画笔的多个属性。"
10571059
10581060#: ../../library/turtle.rst:844
10591061msgid "Return ``True`` if pen is down, ``False`` if it's up."
1060- msgstr ""
1062+ msgstr "如果画笔落下返回 ``True``,如果画笔抬起返回 ``False``。 "
10611063
10621064#: ../../library/turtle.rst:861
10631065msgid "Return or set the pencolor."
1064- msgstr ""
1066+ msgstr "返回或设置画笔颜色。 "
10651067
10661068#: ../../library/turtle.rst:863 ../../library/turtle.rst:911
10671069msgid "Four input formats are allowed:"
1068- msgstr ""
1070+ msgstr "允许以下四种输入格式: "
10691071
10701072#: ../../library/turtle.rst:868
10711073msgid "``pencolor()``"
1072- msgstr ""
1074+ msgstr "``pencolor()`` "
10731075
10741076#: ../../library/turtle.rst:866
10751077msgid ""
10761078"Return the current pencolor as color specification string or as a tuple (see"
10771079" example). May be used as input to another color/pencolor/fillcolor call."
1078- msgstr ""
1080+ msgstr "返回以颜色描述字符串或元组 (见示例) 表示的当前画笔颜色。可用作其他 color/pencolor/fillcolor 调用的输入。 "
10791081
10801082#: ../../library/turtle.rst:872
10811083msgid "``pencolor(colorstring)``"
1082- msgstr ""
1084+ msgstr "``pencolor(colorstring)`` "
10831085
10841086#: ../../library/turtle.rst:871
10851087msgid ""
10861088"Set pencolor to *colorstring*, which is a Tk color specification string, "
10871089"such as ``\" red\" ``, ``\" yellow\" ``, or ``\" #33cc8c\" ``."
10881090msgstr ""
1091+ "设置画笔为指定颜色,*colorstring* 是一个 Tk 颜色描述字符串,例如 "
1092+ "``\" red\" ``、``\" yellow\" ``或``\" #33cc8c\" ``。"
10891093
10901094#: ../../library/turtle.rst:877
10911095msgid "``pencolor((r, g, b))``"
1092- msgstr ""
1096+ msgstr "``pencolor((r, g, b))`` "
10931097
10941098#: ../../library/turtle.rst:875
10951099msgid ""
10961100"Set pencolor to the RGB color represented by the tuple of *r*, *g*, and *b*."
10971101" Each of *r*, *g*, and *b* must be in the range 0..colormode, where "
10981102"colormode is either 1.0 or 255 (see :func:`colormode`)."
10991103msgstr ""
1104+ "设置画笔颜色为以 *r*, *g*, *b* 元组表示的 RGB 颜色。*r*, *g*, *b* 的取值范围应为 "
1105+ "0..colormode,colormode 的值为 1.0 或 255 (参见 :func:`colormode`)。"
11001106
11011107#: ../../library/turtle.rst:884
11021108msgid "``pencolor(r, g, b)``"
1103- msgstr ""
1109+ msgstr "``pencolor(r, g, b)`` "
11041110
11051111#: ../../library/turtle.rst:880
11061112msgid ""
11071113"Set pencolor to the RGB color represented by *r*, *g*, and *b*. Each of "
11081114"*r*, *g*, and *b* must be in the range 0..colormode."
1109- msgstr ""
1115+ msgstr "设置画笔颜色为以 *r*, *g*, *b* 表示的 RGB 颜色。*r*, *g*, *b* 的取值范围应为 0..colormode。 "
11101116
11111117#: ../../library/turtle.rst:883
11121118msgid ""
11131119"If turtleshape is a polygon, the outline of that polygon is drawn with the "
11141120"newly set pencolor."
1115- msgstr ""
1121+ msgstr "如果 turtleshape 为多边形,该多边形轮廓也以新设置的画笔颜色绘制。 "
11161122
11171123#: ../../library/turtle.rst:909
11181124msgid "Return or set the fillcolor."
0 commit comments