-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathdialog.po
More file actions
227 lines (159 loc) · 22.7 KB
/
Copy pathdialog.po
File metadata and controls
227 lines (159 loc) · 22.7 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
# 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:
# Revisto <theRevisto@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-16 12:56+0000\n"
"PO-Revision-Date: 2026-09-14 09:26+0330\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"
"X-Generator: Poedit 3.6\n"
msgid "Tkinter dialogs"
msgstr "دیالوگهای Tkinter"
msgid ":mod:`!tkinter.simpledialog` --- Standard Tkinter input dialogs"
msgstr ":mod:`!tkinter.simpledialog` --- محاورههای ورودی استاندارد Tkinter"
msgid "**Source code:** :source:`Lib/tkinter/simpledialog.py`"
msgstr "**کد منبع:** :source:`Lib/tkinter/simpledialog.py`"
msgid "The :mod:`!tkinter.simpledialog` module contains convenience classes and functions for creating simple modal dialogs to get a value from the user."
msgstr "ماژول :mod:`!tkinter.simpledialog` شامل کلاسها و توابع تسهیلکنندهای برای ایجاد پنجرههای محاورهای مودال (modal) ساده است تا مقداری را از کاربر دریافت کند."
msgid "Prompt the user to enter a value of the desired type and return it, or ``None`` if the dialog is cancelled."
msgstr "از کاربر برای وارد کردن مقداری از نوع موردنظر درخواست میکند و آن را برمیگرداند، یا اگر پنجرهی محاورهای لغو شود، ``None`` برمیگرداند."
msgid "*title* is the dialog title and *prompt* the message shown above the entry. *initialvalue* is the value initially placed in the entry. *parent* is the window over which the dialog is shown. :func:`askinteger` and :func:`askfloat` also accept *minvalue* and *maxvalue*, which bound the accepted value. :func:`askstring` also accepts *show*, a character used to mask the entered text, for example ``'*'`` to hide a password."
msgstr "*title* عنوان محاوره است و *prompt* پیامی است که بالای ورودی نمایش داده میشود. *initialvalue* مقداری است که در ابتدا در ورودی قرار داده میشود. *parent* پنجرهای است که محاوره روی آن نمایش داده میشود. :func:`askinteger` و :func:`askfloat` همچنین *minvalue* و *maxvalue* را میپذیرند، که مقدار پذیرفتهشده را محدود میکنند. :func:`askstring` همچنین *show* را میپذیرد، نویسهای که برای پوشاندن متن واردشده استفاده میشود، برای مثال ``'*'`` برای پنهان کردن گذرواژه."
msgid "The base class for custom dialogs. Instantiating it shows the dialog modally and returns once the user closes it; the entered value is then available in the :attr:`!result` attribute."
msgstr "کلاس پایه برای محاورههای سفارشی. نمونهسازی از آن، محاوره را بهصورت مودال نمایش میدهد و پس از اینکه کاربر آن را ببندد، بازمیگردد؛ سپس مقدار واردشده در ویژگی :attr:`!result` در دسترس است."
msgid "The value produced by :meth:`apply`, or ``None`` if the dialog was cancelled."
msgstr "مقدار حاصل از :meth:`apply`، یا ``None`` اگر محاوره لغو شده باشد."
msgid "Override to construct the dialog's interface and return the widget that should have initial focus."
msgstr "بازنویسی کنید تا رابط دیالوگ را بسازد و ابزارکی که باید فوکوس اولیه را داشته باشد برگرداند."
msgid "Default behaviour adds OK and Cancel buttons. Override for custom button layouts."
msgstr "رفتار پیشفرض، دکمههای OK و Cancel را اضافه میکند. برای چیدمانهای سفارشی دکمهها، آن را بازنویسی کنید."
msgid "Validate the data entered by the user. Return true if it is valid, in which case the dialog proceeds to :meth:`apply`; return false to keep the dialog open. The default implementation always returns true; override it to check the input."
msgstr "داده واردشده توسط کاربر را اعتبارسنجی کنید. اگر معتبر باشد، true را برگردانید، که در این صورت محاوره به :meth:`apply` میرود؛ برای باز نگهداشتن محاوره، false را برگردانید. پیادهسازی پیشفرض همیشه true را برمیگرداند؛ برای بررسی ورودی، آن را بازنویسی کنید."
msgid "Process the data entered by the user, for example by storing it in the :attr:`!result` attribute. Called after :meth:`validate` succeeds and just before the dialog is destroyed. The default implementation does nothing; override it to act on or store the result."
msgstr "دادههای واردشده توسط کاربر را پردازش کنید، برای مثال با ذخیرهی آنها در ویژگی :attr:`!result`. پس از موفقیت :meth:`validate` و درست پیش از تخریب محاوره فراخوانی میشود. پیادهسازی پیشفرض هیچ کاری انجام نمیدهد؛ آن را بازنویسی کنید تا بر اساس نتیجه عمل کند یا آن را ذخیره کند."
msgid "Destroy the dialog window, clearing the reference to the widget that had the initial focus."
msgstr "پنجرهی محاوره را از بین میبرد و ارجاع به ابزارکی که فوکوس اولیه را داشت پاک میکند."
msgid "A simple modal dialog that displays the message *text* above a row of push buttons whose labels are given by *buttons*, and returns the index of the button the user presses. *default* is the index of the button activated by the Return key, *cancel* the index returned when the window is closed through the window manager, *title* the window title, and *class_* the Tk class name of the window."
msgstr "یک پنجرهی محاورهای مودال ساده که پیام *text* را بالای ردیفی از دکمههای فشاری نمایش میدهد که برچسبهای آنها با *buttons* مشخص شدهاند، و اندیس دکمهای را که کاربر فشار میدهد برمیگرداند. *default* اندیس دکمهای است که با کلید Return فعال میشود، *cancel* اندیسی است که هنگام بسته شدن پنجره از طریق مدیر پنجره برگردانده میشود، *title* عنوان پنجره است، و *class_* نام کلاس Tk پنجره است."
msgid "Display the dialog, wait until the user presses a button or closes the window, and return the index of the chosen button."
msgstr "محاوره را نمایش دهید، منتظر بمانید تا کاربر دکمهای را فشار دهد یا پنجره را ببندد، و اندیس دکمهی انتخابشده را برگردانید."
msgid ":mod:`!tkinter.filedialog` --- File selection dialogs"
msgstr ":mod:`!tkinter.filedialog` --- محاورههای انتخاب پرونده"
msgid "**Source code:** :source:`Lib/tkinter/filedialog.py`"
msgstr "**کد منبع:** :source:`Lib/tkinter/filedialog.py`"
msgid "The :mod:`!tkinter.filedialog` module provides classes and factory functions for creating file/directory selection windows."
msgstr "ماژول :mod:`!tkinter.filedialog` کلاسها و توابع کارخانهای (factory functions) را برای ایجاد پنجرههای انتخاب پرونده/پوشه ارائه میدهد."
msgid "Native load/save dialogs"
msgstr "محاورههای بومی بارگذاری/ذخیره"
msgid "The following classes and functions provide file dialog windows that combine a native look-and-feel with configuration options to customize behaviour. The following keyword arguments are applicable to the classes and functions listed below:"
msgstr "کلاسها و توابع زیر پنجرههای محاورهای پرونده را فراهم میکنند که ظاهر و رفتار بومی را با گزینههای پیکربندی برای سفارشیسازی رفتار ترکیب میکنند. آرگومانهای کلیدواژهای زیر بر کلاسها و توابع فهرستشده در زیر قابل اعمال هستند:"
msgid "*parent* - the window to place the dialog on top of"
msgstr "*parent* - پنجرهای که محاوره روی آن قرار میگیرد"
msgid "*title* - the title of the window"
msgstr "*title* - عنوان پنجره"
msgid "*initialdir* - the directory that the dialog starts in"
msgstr "*initialdir* - پوشهای که پنجرهی محاورهای در آن آغاز میشود"
msgid "*initialfile* - the file selected upon opening of the dialog"
msgstr "*initialfile* - پرونده انتخابشده هنگام باز شدن دیالوگ"
msgid "*filetypes* - a sequence of (label, pattern) tuples, '*' wildcard is allowed"
msgstr "*filetypes* - دنبالهای از تاپلهای (label, pattern)، وایلدکارد '*' مجاز است"
msgid "*defaultextension* - default extension to append to file (save dialogs)"
msgstr "*defaultextension* - پسوند پیشفرض برای افزودن به پرونده (پنجرههای محاورهای ذخیره)"
msgid "*multiple* - when true, selection of multiple items is allowed"
msgstr "*multiple* - هنگامی که true باشد، انتخاب چند آیتم مجاز است"
msgid "**Static factory functions**"
msgstr "توابع کارخانهای ایستا"
msgid "The below functions when called create a modal, native look-and-feel dialog, wait for the user's selection, and return it. The exact return value depends on the function (see below); when the dialog is cancelled it is an empty string, an empty tuple or ``None``. The precise type of this empty value may vary between platforms and Tk versions, so test the result for truth rather than comparing it with a specific value."
msgstr "توابع زیر هنگام فراخوانی، یک پنجره محاورهای مودال (modal) با ظاهر و رفتار بومی ایجاد میکنند، منتظر انتخاب کاربر میمانند و آن را برمیگردانند. مقدار بازگشتی دقیق به تابع بستگی دارد (در زیر ببینید)؛ هنگامی که پنجره محاورهای لغو میشود، این مقدار یک رشته خالی، یک تاپل خالی یا ``None`` است. نوع دقیق این مقدار خالی ممکن است بین سکوها و نسخههای Tk متفاوت باشد، بنابراین بهجای مقایسه آن با یک مقدار خاص، درستی نتیجه را بسنجید."
msgid "Create an :class:`Open` dialog. :func:`askopenfile` returns the opened file object, or ``None`` if the dialog is cancelled. :func:`askopenfiles` returns a list of the opened file objects, or an empty tuple if cancelled. The files are opened in mode *mode* (read-only ``'r'`` by default)."
msgstr "یک پنجرهی محاورهای :class:`Open` ایجاد کنید. :func:`askopenfile` شیء پرونده بازشده را برمیگرداند، یا اگر پنجرهی محاورهای لغو شود، ``None`` را برمیگرداند. :func:`askopenfiles` فهرستی از اشیای پرونده بازشده را برمیگرداند، یا در صورت لغو شدن، یک تاپل خالی را برمیگرداند. پروندهها در حالت *mode* باز میشوند (بهطور پیشفرض، حالت فقطخواندنی ``'r'``)."
msgid "Create a :class:`SaveAs` dialog and return the opened file object, or ``None`` if the dialog is cancelled. The file is opened in mode *mode* (``'w'`` by default)."
msgstr "یک پنجرهی محاورهای :class:`SaveAs` ایجاد میکند و شیء پرونده بازشده را برمیگرداند، یا اگر پنجرهی محاورهای لغو شود، ``None`` را برمیگرداند. پرونده در حالت *mode* باز میشود (بهطور پیشفرض ``'w'``)."
msgid "Create an :class:`Open` dialog. :func:`askopenfilename` returns the selected filename as a string, or an empty string if the dialog is cancelled. :func:`askopenfilenames` returns a tuple of the selected filenames, or an empty tuple if cancelled."
msgstr "یک پنجرهی محاورهای :class:`Open` ایجاد کنید. :func:`askopenfilename` نام پرونده انتخابشده را بهصورت یک رشته برمیگرداند، یا اگر پنجرهی محاورهای لغو شود، یک رشتهی خالی برمیگرداند. :func:`askopenfilenames` یک تاپل از نام پروندههای انتخابشده برمیگرداند، یا در صورت لغو، یک تاپل خالی برمیگرداند."
msgid "Create a :class:`SaveAs` dialog and return the selected filename as a string, or an empty string if the dialog is cancelled."
msgstr "یک پنجرهی محاورهای :class:`SaveAs` ایجاد کنید و نام پرونده انتخابشده را بهعنوان یک رشته برگردانید، یا اگر پنجرهی محاورهای لغو شد، یک رشتهی خالی برگردانید."
msgid "Prompt the user to select a directory, and return its path as a string, or an empty string if the dialog is cancelled. Additional keyword option: *mustexist* - if true, the user may only select an existing directory (false by default)."
msgstr "از کاربر برای انتخاب یک پوشه درخواست میکند و مسیر آن را بهصورت یک رشته برمیگرداند، یا اگر پنجرهی گفتگو لغو شود، یک رشته خالی برمیگرداند. گزینه کلیدواژهای اضافی: *mustexist* - اگر true باشد، کاربر فقط میتواند یک پوشهی موجود را انتخاب کند (بهطور پیشفرض false است)."
msgid "The above three classes provide native dialog windows for loading and saving files and for selecting a directory."
msgstr "سه کلاس بالا، پنجرههای محاورهای بومی را برای بارگذاری و ذخیره پروندهها و برای انتخاب یک پوشه فراهم میکنند."
msgid "**Convenience classes**"
msgstr "کلاسهای راحتی"
msgid "The below classes are used for creating file/directory windows from scratch. These do not emulate the native look-and-feel of the platform."
msgstr "کلاسهای زیر برای ایجاد پنجرههای پرونده/پوشه از صفر استفاده میشوند. اینها ظاهر و رفتار بومی پلتفرم را شبیهسازی نمیکنند."
msgid "The *FileDialog* class should be subclassed for custom event handling and behaviour."
msgstr "برای مدیریت رویداد و رفتار سفارشی، باید از کلاس *FileDialog* زیرکلاس ساخته شود."
msgid "Create a basic file selection dialog."
msgstr "یک محاورهی انتخاب پرونده ساده ایجاد کنید."
msgid "Trigger the termination of the dialog window."
msgstr "باعث پایان یافتن پنجرهی محاورهای شوید."
msgid "Event handler for double-click event on directory."
msgstr "هندلر رویداد دوبارکلیک روی پوشه."
msgid "Event handler for click event on directory."
msgstr "هندلر رویداد برای رویداد کلیک روی پوشه."
msgid "Event handler for double-click event on file."
msgstr "هندلر رویداد برای رویداد دوبارکلیک روی پرونده."
msgid "Event handler for single-click event on file."
msgstr "هندلر رویداد برای رویداد تککلیک روی پرونده."
msgid "Filter the files by directory."
msgstr "پروندهها را بر اساس پوشه فیلتر کنید."
msgid "Retrieve the file filter currently in use."
msgstr "فیلتر پرونده در حال استفاده را دریافت کنید."
msgid "Retrieve the currently selected item."
msgstr "آیتم انتخابشدهی فعلی را بازیابی کنید."
msgid "Render dialog and start event loop."
msgstr "دیالوگ را ترسیم کنید و حلقه رویداد را آغاز کنید."
msgid "Exit dialog returning current selection."
msgstr "خروج از پنجرهی محاوره با برگرداندن انتخاب فعلی."
msgid "Called when the user confirms the current selection. The base implementation accepts the selection and closes the dialog; :class:`LoadFileDialog` and :class:`SaveFileDialog` override it to check the selection first."
msgstr "هنگامی که کاربر انتخاب فعلی را تأیید میکند، فراخوانی میشود. پیادهسازی پایه انتخاب را میپذیرد و پنجرهی محاورهای را میبندد؛ :class:`LoadFileDialog` و :class:`SaveFileDialog` آن را بازنویسی میکنند تا ابتدا انتخاب را بررسی کنند."
msgid "Exit dialog returning filename, if any."
msgstr "دیالوگ خروج خارج میشود و در صورت وجود، نام پرونده را برمیگرداند."
msgid "Set the file filter."
msgstr "فیلتر پرونده را تنظیم کنید."
msgid "Update the current file selection to *file*."
msgstr "انتخاب پرونده جاری را به *file* بهروزرسانی کنید."
msgid "A subclass of FileDialog that creates a dialog window for selecting an existing file."
msgstr "یک زیرکلاس از FileDialog که یک پنجرهی محاورهای برای انتخاب یک پرونده موجود ایجاد میکند."
msgid "Test that a file is provided and that the selection indicates an already existing file."
msgstr "آزمایش کنید که پروندهای ارائهشده باشد و انتخاب، نشاندهندهی یک پرونده از قبل موجود باشد."
msgid "A subclass of FileDialog that creates a dialog window for selecting a destination file."
msgstr "زیرکلاسی از FileDialog که یک پنجرهی محاورهای برای انتخاب پرونده مقصد ایجاد میکند."
msgid "Test whether or not the selection points to a valid file that is not a directory. Confirmation is required if an already existing file is selected."
msgstr "بررسی میکند که آیا مورد انتخابشده به یک پرونده معتبر اشاره میکند که پوشه نیست یا خیر. اگر یک پرونده از پیش موجود انتخاب شده باشد، تأیید لازم است."
msgid ":mod:`!tkinter.commondialog` --- Dialog window templates"
msgstr ":mod:`!tkinter.commondialog` --- قالبهای پنجره محاورهای"
msgid "**Source code:** :source:`Lib/tkinter/commondialog.py`"
msgstr "**کد منبع:** :source:`Lib/tkinter/commondialog.py`"
msgid "The :mod:`!tkinter.commondialog` module provides the :class:`Dialog` class that is the base class for dialogs defined in other supporting modules."
msgstr "ماژول :mod:`!tkinter.commondialog` کلاس :class:`Dialog` را فراهم میکند که کلاس پایه برای محاورههای تعریفشده در سایر ماژولهای پشتیبانی است."
msgid "Render the Dialog window."
msgstr "پنجرهی Dialog را رندر کنید."
msgid ":mod:`!tkinter.dialog` --- Classic Tk dialog boxes"
msgstr ":mod:`!tkinter.dialog` --- جعبههای محاورهای کلاسیک Tk"
msgid "**Source code:** :source:`Lib/tkinter/dialog.py`"
msgstr "**کد منبع:** :source:`Lib/tkinter/dialog.py`"
msgid "The :mod:`!tkinter.dialog` module provides a simple modal dialog box built on the classic (non-themed) Tk widgets."
msgstr "ماژول :mod:`!tkinter.dialog` یک جعبهی محاورهی مودال ساده ارائه میدهد که مبتنی بر ابزارکهای کلاسیک Tk (بدون تم) است."
msgid "The name of a bitmap (``'questhead'``) suitable for use as the *bitmap* of a :class:`Dialog`."
msgstr "نام یک بیتمپ (``'questhead'``) مناسب برای استفاده بهعنوان *bitmap* یک :class:`Dialog`."
msgid "Display a modal dialog box built from the classic (non-themed) Tk widgets and wait for the user to press one of its buttons. The options, given through *cnf* or as keyword arguments, are all required: *title* (the window title), *text* (the message), *bitmap* (the name of a bitmap icon, such as :data:`DIALOG_ICON`), *default* (the index of the default button) and *strings* (the sequence of button labels). After construction, the :attr:`!num` attribute holds the index of the button the user pressed."
msgstr "یک جعبه محاورهای مودال ساختهشده از ابزارکهای کلاسیک Tk (بدون تم) را نمایش میدهد و منتظر میماند تا کاربر یکی از دکمههای آن را فشار دهد. گزینهها، که از طریق *cnf* یا بهصورت آرگومانهای کلیدواژهای داده میشوند، همه الزامی هستند: *title* (عنوان پنجره)، *text* (پیام)، *bitmap* (نام یک آیکون بیتمپ، مانند :data:`DIALOG_ICON`)، *default* (اندیس دکمه پیشفرض) و *strings* (دنبالهای از برچسبهای دکمه). پس از ساخت، ویژگی :attr:`!num` حاوی اندیس دکمهای است که کاربر فشار داده است."
msgid "Do nothing. The dialog window is destroyed automatically before the constructor returns, so there is nothing left for this method to do."
msgstr "هیچ کاری انجام نمیدهد. پنجرهی محاورهای بهطور خودکار پیش از بازگشت سازنده تخریب میشود، بنابراین هیچ کاری برای این متد باقی نمیماند."
msgid "Modules :mod:`tkinter.messagebox`, :ref:`tut-files`"
msgstr "ماژولها :mod:`tkinter.messagebox`، :ref:`tut-files`"