-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathinteractive.po
More file actions
102 lines (95 loc) · 6.38 KB
/
Copy pathinteractive.po
File metadata and controls
102 lines (95 loc) · 6.38 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
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2025, 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
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-07 14:18+0000\n"
"PO-Revision-Date: 2021-06-28 01:50+0000\n"
"Last-Translator: Alireza Shabani (Revisto) <theRevisto@gmail.com>, 2025\n"
"Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/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"
#: ../../tutorial/interactive.rst:5
msgid "Interactive Input Editing and History Substitution"
msgstr "ویرایش ورودی تعاملی و جایگزینی تاریخچه"
#: ../../tutorial/interactive.rst:7
msgid ""
"Some versions of the Python interpreter support editing of the current input"
" line and history substitution, similar to facilities found in the Korn "
"shell and the GNU Bash shell. This is implemented using the `GNU Readline`_"
" library, which supports various styles of editing. This library has its "
"own documentation which we won't duplicate here."
msgstr ""
"برخی نسخه های مفسر پایتون از ویرایش خط ورودی فعلی و جایگزینی تاریخچه "
"پشتیبانی می کنند، مشابه قابلیت هایی که در پوسته Korn و پوسته GNU Bash یافت "
"می شود. این قابلیت با استفاده از کتابخانه `GNU Readline`_ پیاده سازی شده "
"است، که از سبک های مختلف ویرایش پشتیبانی می کند. این کتابخانه دارای مستندات "
"مخصوص به خود است که در اینجا تکرار نمی کنیم."
#: ../../tutorial/interactive.rst:17
msgid "Tab Completion and History Editing"
msgstr "تکمیل خودکار و ویرایش تاریخچه"
#: ../../tutorial/interactive.rst:19
msgid ""
"Completion of variable and module names is :ref:`automatically enabled "
"<rlcompleter-config>` at interpreter startup so that the :kbd:`Tab` key "
"invokes the completion function; it looks at Python statement names, the "
"current local variables, and the available module names. For dotted "
"expressions such as ``string.a``, it will evaluate the expression up to the "
"final ``'.'`` and then suggest completions from the attributes of the "
"resulting object. Note that this may execute application-defined code if an"
" object with a :meth:`~object.__getattr__` method is part of the expression."
" The default configuration also saves your history into a file named "
":file:`.python_history` in your user directory. The history will be "
"available again during the next interactive interpreter session."
msgstr ""
"تکمیل نام های متغیر و ماژول در هنگام راه اندازی مفسر به صورت "
":ref:`automatically enabled <rlcompleter-config>` است به گونه ای که کلید "
":kbd:`Tab` تابع تکمیل را فراخوانی می کند؛ این تابع نام های دستورات پایتون، "
"متغیرهای محلی فعلی و نام های ماژول های در دسترس را بررسی می کند. برای عبارات"
" نقطه دار مانند ``string.a``، این عبارت را تا آخرین ``'.'`` ارزیابی کرده و "
"سپس تکمیل هایی از ویژگی های موجود در شیء حاصل را پیشنهاد می دهد. توجه داشته "
"باشید که اگر شیء با یک متد :meth:`~object.__getattr__` بخشی از عبارت باشد، "
"ممکن است این کار به اجرای کد تعریف شده توسط برنامه منجر شود. پیکربندی پیش "
"فرض همچنین سابقه شما را در فایلی با نام :file:`.python_history` در دایرکتوری"
" کاربری تان ذخیره می کند. این سابقه در هنگام جلسه تعاملی بعدی مفسر دوباره در"
" دسترس خواهد بود."
#: ../../tutorial/interactive.rst:36
msgid "Alternatives to the Interactive Interpreter"
msgstr "گزینه هایی به جای مفسر تعاملی"
#: ../../tutorial/interactive.rst:38
msgid ""
"This facility is an enormous step forward compared to earlier versions of "
"the interpreter; however, some wishes are left: It would be nice if the "
"proper indentation were suggested on continuation lines (the parser knows if"
" an indent token is required next). The completion mechanism might use the "
"interpreter's symbol table. A command to check (or even suggest) matching "
"parentheses, quotes, etc., would also be useful."
msgstr ""
"این ویژگی نسبت به نسخه های قبلی مفسر یک پیشرفت بزرگ است؛ با این حال، برخی "
"خواسته ها برآورده نشده اند: اگر در خطوط ادامه، تورفتگی مناسب پیشنهاد داده می"
" شد، خوب می شد (تجزیه گر می داند که آیا یک علامت تورفتگی بعدی لازم است یا "
"خیر). مکانیزم تکمیل ممکن است از جدول نماد مفسر استفاده کند. همچنین، یک فرمان"
" برای بررسی (یا حتی پیشنهاد دادن) پرانتزها، کوتیشن ها و غیره که با هم مطابق "
"باشند نیز مفید خواهد بود."
#: ../../tutorial/interactive.rst:45
msgid ""
"One alternative enhanced interactive interpreter that has been around for "
"quite some time is IPython_, which features tab completion, object "
"exploration and advanced history management. It can also be thoroughly "
"customized and embedded into other applications. Another similar enhanced "
"interactive environment is bpython_."
msgstr ""
"یک مفسر تعاملی پیشرفته جایگزین که از مدت ها قبل وجود دارد IPython_ است که "
"امکاناتی مانند تکمیل با تب، کاوش شیء و مدیریت پیشرفته تاریخچه را ارائه می "
"دهد. این مفسر همچنین می تواند به طور کامل سفارشی سازی شده و در برنامه های "
"دیگر جای گذاری شود. یک محیط تعاملی پیشرفته مشابه دیگر bpython_ است."