1010# Zombie110year <[email protected] >, 20201111# Meng Du <[email protected] >, 20201212# ppcfish <[email protected] >, 202013- # Freesand Leo <[email protected] >, 2020 13+ # Freesand Leo <[email protected] >, 2021 1414#
1515#, fuzzy
1616msgid ""
@@ -19,7 +19,7 @@ msgstr ""
1919"Report-Msgid-Bugs-To : \n "
2020"POT-Creation-Date : 2021-01-04 16:07+0000\n "
2121"PO-Revision-Date : 2020-05-30 11:59+0000\n "
22- "
Last-Translator :
Freesand Leo <[email protected] >, 2020 \n "
22+ "
Last-Translator :
Freesand Leo <[email protected] >, 2021 \n "
2323"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2424"MIME-Version : 1.0\n "
2525"Content-Type : text/plain; charset=UTF-8\n "
@@ -185,6 +185,8 @@ msgid ""
185185"will be between ``0`` (no component) and ``1000`` (maximum amount of "
186186"component)."
187187msgstr ""
188+ "返回颜色值 *color_number* 中红、绿和蓝(RGB)分量的强度,此强度值必须介于 ``0`` 和 ``COLORS - 1`` 之间。 "
189+ "返回一个 3 元组,其中包含给定颜色的 R,G,B 值,它们必须介于 ``0`` (无分量) 和 ``1000`` (最大分量) 之间。"
188190
189191#: ../../library/curses.rst:122
190192msgid ""
@@ -194,6 +196,9 @@ msgid ""
194196":const:`A_\\ *` attributes. :func:`pair_number` is the counterpart to this "
195197"function."
196198msgstr ""
199+ "返回用于以指定颜色对显示文本的属性值。 仅支持前 256 个颜色对。 该属性值可与 :const:`A_STANDOUT`, "
200+ ":const:`A_REVERSE` 以及其他 :const:`A_\\ *` 属性组合使用。 :func:`pair_number` "
201+ "是此函数的对应操作。"
197202
198203#: ../../library/curses.rst:131
199204msgid ""
@@ -395,6 +400,10 @@ msgid ""
395400"no-op on most terminals; it is active only if :func:`can_change_color` "
396401"returns ``True``."
397402msgstr ""
403+ "更改某个颜色的定义,接受要更改的颜色编号以及三个 RGB 值(表示红绿蓝三分量的强度)。 *color_number* 值必须为 ``0`` 和 "
404+ "`COLORS - 1` 之间的数字。 *r*, *g*, *b* 值必须为 ``0`` 和 ``1000`` 之间的数字。 当使用 "
405+ ":func:`init_color` 时,出现在屏幕上的对应颜色会立即按照新定义来更改。 此函数在大多数终端上都是无操作的;它仅会在 "
406+ ":func:`can_change_color` 返回 ``True`` 时生效。"
398407
399408#: ../../library/curses.rst:290
400409msgid ""
0 commit comments