-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathcurses.po
More file actions
150 lines (122 loc) · 8.62 KB
/
Copy pathcurses.po
File metadata and controls
150 lines (122 loc) · 8.62 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# Persian translations for Python package.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# Automatically generated, 2026.
#
# Translators:
# 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-16 12:56+0000\n"
"PO-Revision-Date: 2026-07-25 12:59+0330\n"
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
"Language-Team: none\n"
"Language: fa\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "Curses C API"
msgstr "API زبان C برای Curses"
msgid ":mod:`curses` exposes a small C interface for extension modules. Consumers must include the header file :file:`py_curses.h` (which is not included by default by :file:`Python.h`) and :c:func:`import_curses` must be invoked, usually as part of the module initialisation function, to populate :c:var:`PyCurses_API`."
msgstr ":mod:`curses` یک رابط C کوچک را برای ماژولهای توسعهای در اختیار قرار میدهد. مصرفکنندگان باید پروندهی سرآیند :file:`py_curses.h` (که بهطور پیشفرض توسط :file:`Python.h` گنجانده نمیشود) را گنجانده باشند و :c:func:`import_curses` باید، معمولاً بهعنوان بخشی از تابع مقداردهی اولیه ماژول، برای پر کردن :c:var:`PyCurses_API` فراخوانی شود."
msgid "Neither the C API nor the pure Python :mod:`curses` module are compatible with subinterpreters."
msgstr "نه API زبان C و نه ماژول :mod:`curses` پایتون خالص با زیرمفسرها سازگار است."
msgid "Import the curses C API. The macro does not need a semi-colon to be called."
msgstr "API سی curses را ایمپورت میکند. این ماکرو برای فراخوانی به نقطهویرگول نیاز ندارد."
msgid "On success, populate the :c:var:`PyCurses_API` pointer."
msgstr "در صورت موفقیت، اشارهگر :c:var:`PyCurses_API` را پر میکند."
msgid "On failure, set :c:var:`PyCurses_API` to NULL and set an exception. The caller must check if an error occurred via :c:func:`PyErr_Occurred`:"
msgstr "در صورت شکست، مقدار :c:var:`PyCurses_API` را برابر NULL قرار دهید و یک استثنا تنظیم کنید. فراخواننده باید از طریق :c:func:`PyErr_Occurred` بررسی کند که آیا خطایی رخ داده است:"
msgid ""
"import_curses(); // semi-colon is optional but recommended\n"
"if (PyErr_Occurred()) { /* cleanup */ }"
msgstr ""
"import_curses(); // نقطهویرگول اختیاری است اما توصیه میشود\n"
"if (PyErr_Occurred()) { /* پاکسازی */ }"
msgid "Dynamically allocated object containing the curses C API. This variable is only available once :c:macro:`import_curses` succeeds."
msgstr "شیء تخصیصیافته بهطور پویا که API زبان C ماژول curses را در بر دارد. این متغیر تنها پس از موفقیت :c:macro:`import_curses` در دسترس است."
msgid "``PyCurses_API[0]`` corresponds to :c:data:`PyCursesWindow_Type`."
msgstr "``PyCurses_API[0]`` متناظر با :c:data:`PyCursesWindow_Type` است."
msgid "``PyCurses_API[1]``, ``PyCurses_API[2]``, and ``PyCurses_API[3]`` are pointers to predicate functions of type ``int (*)(void)``."
msgstr "``PyCurses_API[1]``، ``PyCurses_API[2]`` و ``PyCurses_API[3]`` اشارهگرهایی به توابع محمول از نوع ``int (*)(void)`` هستند."
msgid "When called, these predicates return whether :func:`curses.setupterm`, :func:`curses.initscr`, and :func:`curses.start_color` have been called respectively."
msgstr "هنگام فراخوانی، این محمولها به ترتیب برمیگردانند که :func:`curses.setupterm`، :func:`curses.initscr` و :func:`curses.start_color` فراخوانی شدهاند یا نه."
msgid "See also the convenience macros :c:macro:`PyCursesSetupTermCalled`, :c:macro:`PyCursesInitialised`, and :c:macro:`PyCursesInitialisedColor`."
msgstr "همچنین ماکروهای کمکی :c:macro:`PyCursesSetupTermCalled`، :c:macro:`PyCursesInitialised` و :c:macro:`PyCursesInitialisedColor` را ببینید."
msgid "The number of entries in this structure is subject to changes. Consider using :c:macro:`PyCurses_API_pointers` to check if new fields are available or not."
msgstr "تعداد ورودیهای این ساختار ممکن است تغییر کند. برای بررسی موجود بودن یا نبودن فیلدهای جدید، استفاده از :c:macro:`PyCurses_API_pointers` را در نظر بگیرید."
msgid "The number of accessible fields (``4``) in :c:var:`PyCurses_API`. This number is incremented whenever new fields are added."
msgstr "تعداد فیلدهای دسترسیپذیر (``4``) در :c:var:`PyCurses_API`. این عدد هر زمان که فیلدهای جدیدی افزوده شوند، افزایش مییابد."
msgid "The :ref:`heap type <heap-types>` corresponding to :class:`curses.window`."
msgstr "نوع :ref:`هیپ <heap-types>` متناظر با :class:`curses.window`."
msgid "Return true if *op* is a :class:`curses.window` instance, false otherwise."
msgstr "اگر *op* نمونهای از :class:`curses.window` باشد، مقدار درست و در غیر این صورت مقدار نادرست برمیگرداند."
msgid "The following macros are convenience macros expanding into C statements. In particular, they can only be used as ``macro;`` or ``macro``, but not ``macro()`` or ``macro();``."
msgstr "ماکروهای زیر ماکروهای کمکی هستند که به دستورهای C بسط مییابند. بهطور خاص، این ماکروها را فقط میتوان به شکل ``macro;`` یا ``macro`` به کار برد، اما نه به شکل ``macro()`` یا ``macro();``."
msgid "Macro checking if :func:`curses.setupterm` has been called."
msgstr "ماکرویی که بررسی میکند آیا :func:`curses.setupterm` فراخوانی شده است یا خیر."
msgid "The macro expansion is roughly equivalent to:"
msgstr "بسط ماکرو تقریباً معادل است با:"
msgid ""
"{\n"
" typedef int (*predicate_t)(void);\n"
" predicate_t was_setupterm_called = (predicate_t)PyCurses_API[1];\n"
" if (!was_setupterm_called()) {\n"
" return NULL;\n"
" }\n"
"}"
msgstr ""
"{\n"
" typedef int (*predicate_t)(void);\n"
" predicate_t was_setupterm_called = (predicate_t)PyCurses_API[1];\n"
" if (!was_setupterm_called()) {\n"
" return NULL;\n"
" }\n"
"}"
msgid "Macro checking if :func:`curses.initscr` has been called."
msgstr "ماکرویی که بررسی میکند آیا :func:`curses.initscr` فراخوانی شده است یا خیر."
msgid ""
"{\n"
" typedef int (*predicate_t)(void);\n"
" predicate_t was_initscr_called = (predicate_t)PyCurses_API[2];\n"
" if (!was_initscr_called()) {\n"
" return NULL;\n"
" }\n"
"}"
msgstr ""
"{\n"
" typedef int (*predicate_t)(void);\n"
" predicate_t was_initscr_called = (predicate_t)PyCurses_API[2];\n"
" if (!was_initscr_called()) {\n"
" return NULL;\n"
" }\n"
"}"
msgid "Macro checking if :func:`curses.start_color` has been called."
msgstr "ماکرویی که بررسی میکند آیا :func:`curses.start_color` فراخوانی شده است."
msgid ""
"{\n"
" typedef int (*predicate_t)(void);\n"
" predicate_t was_start_color_called = (predicate_t)PyCurses_API[3];\n"
" if (!was_start_color_called()) {\n"
" return NULL;\n"
" }\n"
"}"
msgstr ""
"{\n"
" typedef int (*predicate_t)(void);\n"
" predicate_t was_start_color_called = (predicate_t)PyCurses_API[3];\n"
" if (!was_start_color_called()) {\n"
" return NULL;\n"
" }\n"
"}"
msgid "Internal data"
msgstr "دادههای داخلی"
msgid "The following objects are exposed by the C API but should be considered internal-only."
msgstr "اشیاء زیر توسط API زبان C ارائه شدهاند، اما باید صرفاً داخلی در نظر گرفته شوند."
msgid "Name of the curses capsule to pass to :c:func:`PyCapsule_Import`."
msgstr "نام کپسول curses برای ارسال به :c:func:`PyCapsule_Import`."
msgid "Internal usage only. Use :c:macro:`import_curses` instead."
msgstr "فقط برای استفادهی داخلی. به جای آن از :c:macro:`import_curses` استفاده کنید."