Repository navigation
Expand file tree
/
Copy pathcolorsys.po
More file actions
72 lines (59 loc) · 4.13 KB
/
Copy pathcolorsys.po
File metadata and controls
72 lines (59 loc) · 4.13 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
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Alireza Shabani (Revisto) <theRevisto@gmail.com>, 2025
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
# Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-09-21 11:59+0000\n"
"PO-Revision-Date: 2021-06-28 00:57+0000\n"
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
"Language: fa\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
msgid ":mod:`!colorsys` --- Conversions between color systems"
msgstr ":mod:`!colorsys` --- تبدیلها بین سیستمهای رنگ"
msgid "**Source code:** :source:`Lib/colorsys.py`"
msgstr ":source:`Lib/colorsys.py`"
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` تبدیلهای دوطرفهی مقادیر رنگ را بین رنگهای بیانشده در فضای رنگ RGB (قرمز، سبز، آبی)، که در نمایشگرهای رایانهای استفاده میشود، و سه دستگاه مختصات دیگر تعریف میکند: YIQ، HLS (رنگمایه، روشنایی، اشباع) و HSV (رنگمایه، اشباع، مقدار). مختصات در تمام این فضاهای رنگ، مقادیر ممیز شناور هستند. در فضای YIQ، مختصات Y بین ۰ و ۱ است، اما مختصات I و Q میتوانند مثبت یا منفی باشند. در تمام فضاهای دیگر، مختصات همگی بین ۰ و ۱ هستند."
msgid "More information about color spaces can be found at https://www.poynton.ca/pdf/ColourFAQ.pdf and https://www.cambridgeincolour.com/tutorials/color-spaces.htm."
msgstr "اطلاعات بیشتری دربارهی فضاهای رنگ در آدرسهای https://www.poynton.ca/pdf/ColourFAQ.pdf و https://www.cambridgeincolour.com/tutorials/color-spaces.htm موجود است."
msgid "The :mod:`!colorsys` module defines the following functions:"
msgstr "ماژول :mod:`!colorsys` توابع زیر را تعریف میکند:"
msgid "Convert the color from RGB coordinates to YIQ coordinates."
msgstr "رنگ را از مختصات RGB به مختصات YIQ تبدیل میکند."
msgid "Convert the color from YIQ coordinates to RGB coordinates."
msgstr "رنگ را از مختصات YIQ به مختصات RGB تبدیل میکند."
msgid "Convert the color from RGB coordinates to HLS coordinates."
msgstr "رنگ را از مختصات RGB به مختصات HLS تبدیل میکند."
msgid "Convert the color from HLS coordinates to RGB coordinates."
msgstr "رنگ را از مختصات HLS به مختصات RGB تبدیل میکند."
msgid "Convert the color from RGB coordinates to HSV coordinates."
msgstr "تبدیل رنگ از مختصات RGB به مختصات HSV."
msgid "Convert the color from HSV coordinates to RGB coordinates."
msgstr "رنگ را از مختصات HSV به مختصات RGB تبدیل میکند."
msgid "Example::"
msgstr "مثال::"
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)"