-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathgui.po
More file actions
72 lines (56 loc) · 7.3 KB
/
Copy pathgui.po
File metadata and controls
72 lines (56 loc) · 7.3 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:
# Danial Behzadi <[email protected]>, 2025
# Rafael Fontenelle <[email protected]>, 2025
# Revisto <[email protected]>, 2025
# Sepehr Rasouli <[email protected]>, 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: 2021-06-28 00:52+0000\n"
"Last-Translator: Sepehr Rasouli <[email protected]>, 2026\n"
"Language-Team: Persian (https://github.com/python/python-docs-fa/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 "Graphic User Interface FAQ"
msgstr "پرسشهای متداول دربارهی رابط کاربری گرافیکی"
msgid "Contents"
msgstr "فهرست"
msgid "General GUI Questions"
msgstr "پرسشهای عمومی GUI"
msgid "What GUI toolkits exist for Python?"
msgstr "چه کیتهای رابط کاربری گرافیکی (GUI) برای پایتون وجود دارد؟"
msgid "Standard builds of Python include an object-oriented interface to the Tcl/Tk widget set, called :ref:`tkinter <Tkinter>`. This is probably the easiest to install (since it comes included with most `binary distributions <https://www.python.org/downloads/>`_ of Python) and use. For more info about Tk, including pointers to the source, see the `Tcl/Tk home page <https://www.tcl.tk>`_. Tcl/Tk is fully portable to the macOS, Windows, and Unix platforms."
msgstr "ساختهای استاندارد پایتون شامل یک رابط شیءگرا برای مجموعه ابزارکهای Tcl/Tk هستند که :ref:`tkinter <Tkinter>` نامیده میشود. این احتمالاً سادهترین گزینه برای نصب و استفاده است (زیرا همراه با بیشتر `توزیعهای دودویی <https://www.python.org/downloads/>`_ پایتون ارائه میشود). برای اطلاعات بیشتر درباره Tk، از جمله پیوندهایی به کد منبع، `صفحه اصلی Tcl/Tk <https://www.tcl.tk>`_ را ببینید. Tcl/Tk کاملاً برای پلتفرمهای macOS، Windows و Unix قابل حمل است."
msgid "Depending on what platform(s) you are aiming at, there are also several alternatives. A `list of cross-platform <https://wiki.python.org/moin/GuiProgramming#Cross-Platform_Frameworks>`_ and `platform-specific <https://wiki.python.org/moin/GuiProgramming#Platform-specific_Frameworks>`_ GUI frameworks can be found on the python wiki."
msgstr "بسته به این که چه سکو(هایی) را هدف گرفتهاید، چندین جایگزین نیز وجود دارد. فهرستی از چارچوبهای رابط کاربری گرافیکی `چندسکویی <https://wiki.python.org/moin/GuiProgramming#Cross-Platform_Frameworks>`_ و `مختص سکو <https://wiki.python.org/moin/GuiProgramming#Platform-specific_Frameworks>`_ را میتوانید در ویکی پایتون پیدا کنید."
msgid "Tkinter questions"
msgstr "پرسشهای Tkinter"
msgid "How do I freeze Tkinter applications?"
msgstr "چگونه میتوانم برنامههای Tkinter را فریز (freeze) کنم؟"
msgid "Freeze is a tool to create stand-alone applications. When freezing Tkinter applications, the applications will not be truly stand-alone, as the application will still need the Tcl and Tk libraries."
msgstr "Freeze ابزاری برای ایجاد برنامههای مستقل است. هنگام استفاده از Freeze برای برنامههای Tkinter، این برنامهها بهطور کامل مستقل نخواهند بود، زیرا برنامه همچنان به کتابخانههای Tcl و Tk نیاز دارد."
msgid "One solution is to ship the application with the Tcl and Tk libraries, and point to them at run-time using the :envvar:`!TCL_LIBRARY` and :envvar:`!TK_LIBRARY` environment variables."
msgstr "یکی از راهحلها این است که برنامه را همراه با کتابخانههای Tcl و Tk عرضه کنید و در رانتایم با استفاده از متغیرهای محیطی :envvar:`!TCL_LIBRARY` و :envvar:`!TK_LIBRARY` به آنها اشاره کنید."
msgid "Various third-party freeze libraries such as py2exe and cx_Freeze have handling for Tkinter applications built-in."
msgstr "کتابخانههای فریز (freeze) شخص ثالث مختلفی مانند py2exe و cx_Freeze، پشتیبانی توکار برای برنامههای Tkinter دارند."
msgid "Can I have Tk events handled while waiting for I/O?"
msgstr "آیا میتوانم در حین انتظار برای ورودی/خروجی، رویدادهای Tk را مدیریت کنم؟"
msgid "On platforms other than Windows, yes, and you don't even need threads! But you'll have to restructure your I/O code a bit. Tk has the equivalent of Xt's :c:func:`!XtAddInput` call, which allows you to register a callback function which will be called from the Tk mainloop when I/O is possible on a file descriptor. See :ref:`tkinter-file-handlers`."
msgstr "در سکوهای غیر از ویندوز، بله، و حتی نیازی به نخها ندارید! اما باید ساختار کد ورودی/خروجی خود را کمی تغییر دهید. Tk معادلی از فراخوانی :c:func:`!XtAddInput` در Xt دارد، که به شما امکان میدهد یک تابع کالبک را ثبت کنید تا هنگامی که ورودی/خروجی روی یک توصیفگر پرونده امکانپذیر باشد، از حلقهی اصلی Tk فراخوانی شود. :ref:`tkinter-file-handlers` را ببینید."
msgid "I can't get key bindings to work in Tkinter: why?"
msgstr "نمیتوانم اتصالهای کلید (key bindings) را در Tkinter بهکار بیندازم: چرا؟"
msgid "An often-heard complaint is that event handlers :ref:`bound <bindings-and-events>` to events with the :meth:`!bind` method don't get handled even when the appropriate key is pressed."
msgstr "شکایتی که اغلب شنیده میشود این است که هندلرهای رویداد :ref:`متصل <bindings-and-events>` به رویدادها با متد :meth:`!bind`، حتی زمانی که کلید مناسب فشرده میشود، فراخوانی نمیشوند."
msgid "The most common cause is that the widget to which the binding applies doesn't have \"keyboard focus\". Check out the Tk documentation for the focus command. Usually a widget is given the keyboard focus by clicking in it (but not for labels; see the takefocus option)."
msgstr "شایعترین علت این است که ابزارکی که اتصال به آن اعمال میشود، «تمرکز صفحهکلید» ندارد. برای دستور focus به مستندات Tk مراجعه کنید. معمولاً با کلیک کردن درون یک ابزارک، تمرکز صفحهکلید به آن داده میشود (اما نه برای برچسبها؛ گزینه takefocus را ببینید)."