-
-
Notifications
You must be signed in to change notification settings - Fork 224
Expand file tree
/
Copy pathcolorsys.po
More file actions
100 lines (87 loc) · 3.91 KB
/
colorsys.po
File metadata and controls
100 lines (87 loc) · 3.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
# Liang-Bo Wang <[email protected]>, 2016
# Matt Wang <[email protected]>, 2022
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-07 00:19+0000\n"
"PO-Revision-Date: 2022-02-15 20:58+0800\n"
"Last-Translator: Matt Wang <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.0.1\n"
#: ../../library/colorsys.rst:2
msgid ":mod:`!colorsys` --- Conversions between color systems"
msgstr ":mod:`!colorsys` --- 顏色系統間的轉換"
#: ../../library/colorsys.rst:9
msgid "**Source code:** :source:`Lib/colorsys.py`"
msgstr "**原始碼:**\\ :source:`Lib/colorsys.py`"
#: ../../library/colorsys.rst:13
msgid ""
"The :mod:`!colorsys` module defines bidirectional conversions of color "
"values between colors expressed in the RGB (Red Green Blue) color space used "
"in computer monitors and three other coordinate systems: YIQ, HLS (Hue "
"Lightness Saturation) and HSV (Hue Saturation Value). Coordinates in all of "
"these color spaces are floating-point values. In the YIQ space, the Y "
"coordinate is between 0 and 1, but the I and Q coordinates can be positive "
"or negative. In all other spaces, the coordinates are all between 0 and 1."
msgstr ""
":mod:`!colorsys` 模組 (module) 定義了電腦顯示器所用的 RGB (紅綠藍)色彩空間與"
"三種其他色彩座標系統:YIQ、HLS (色相、亮度、飽和度) 和 HSV (色相、 飽和度、 "
"明度) 所表示的顏色值之間的雙向轉換。所有這些色彩空間的座標都使用浮點數值 "
"(floating-point) 來表示。在 YIQ 空間中,Y 座標值為 0 和 1 之間,而 I 和 Q 座"
"標均可以為正數或負數。在所有其他空間中,座標值均為 0 和 1 之間。"
#: ../../library/colorsys.rst:23
msgid ""
"More information about color spaces can be found at https://poynton.ca/"
"ColorFAQ.html and https://www.cambridgeincolour.com/tutorials/color-spaces."
"htm."
msgstr ""
"有關色彩空間的更多資訊請見 https://poynton.ca/ColorFAQ.html 和 https://www."
"cambridgeincolour.com/tutorials/color-spaces.htm。"
#: ../../library/colorsys.rst:27
msgid "The :mod:`!colorsys` module defines the following functions:"
msgstr ":mod:`!colorsys` 模組定義了以下函式:"
#: ../../library/colorsys.rst:32
msgid "Convert the color from RGB coordinates to YIQ coordinates."
msgstr "將顏色自 RGB 座標轉換至 YIQ 座標。"
#: ../../library/colorsys.rst:37
msgid "Convert the color from YIQ coordinates to RGB coordinates."
msgstr "將顏色自 YIQ 座標轉換至 RGB 座標。"
#: ../../library/colorsys.rst:42
msgid "Convert the color from RGB coordinates to HLS coordinates."
msgstr "將顏色自 RGB 座標轉換至 HLS 座標。"
#: ../../library/colorsys.rst:47
msgid "Convert the color from HLS coordinates to RGB coordinates."
msgstr "將顏色自 HLS 座標轉換至 RGB 座標。"
#: ../../library/colorsys.rst:52
msgid "Convert the color from RGB coordinates to HSV coordinates."
msgstr "將顏色自 RGB 座標轉換至 HSV 座標。"
#: ../../library/colorsys.rst:57
msgid "Convert the color from HSV coordinates to RGB coordinates."
msgstr "將顏色自 HSV 座標轉換至 RGB 座標。"
#: ../../library/colorsys.rst:59
msgid "Example::"
msgstr "範例: ::"
#: ../../library/colorsys.rst:61
msgid ""
">>> import colorsys\n"
">>> colorsys.rgb_to_hsv(0.2, 0.4, 0.4)\n"
"(0.5, 0.5, 0.4)\n"
">>> colorsys.hsv_to_rgb(0.5, 0.5, 0.4)\n"
"(0.2, 0.4, 0.4)"
msgstr ""
">>> import colorsys\n"
">>> colorsys.rgb_to_hsv(0.2, 0.4, 0.4)\n"
"(0.5, 0.5, 0.4)\n"
">>> colorsys.hsv_to_rgb(0.5, 0.5, 0.4)\n"
"(0.2, 0.4, 0.4)"