You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: c-api/code.po
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -101,9 +101,8 @@ msgstr "معادل کد پایتون ``getattr(co, 'co_varnames')`` است. یک
101
101
msgid"Equivalent to the Python code ``getattr(co, 'co_cellvars')``. Returns a new reference to a :c:type:`PyTupleObject` containing the names of the local variables that are referenced by nested functions. On error, ``NULL`` is returned and an exception is raised."
102
102
msgstr"معادل کد پایتونِ ``getattr(co, 'co_cellvars')`` است. یک ارجاع جدید به :c:type:`PyTupleObject` حاوی نام متغیرهای محلیای که توابع تودرتو به آنها ارجاع میدهند، برمیگرداند. در صورت خطا، ``NULL`` برگردانده میشود و یک استثنا مطرح میشود."
103
103
104
-
#,fuzzy
105
104
msgid"Equivalent to the Python code ``getattr(co, 'co_freevars')``. Returns a new reference to a :c:type:`PyTupleObject` containing the names of the :term:`free (closure) variables <closure variable>`. On error, ``NULL`` is returned and an exception is raised."
106
-
msgstr"معادل کد پایتونِ `getattr(co, 'co_freevars')` است. یک ارجاع جدید به :c:type:`PyTupleObject` برمیگرداند که نامهای :term:`متغیرهای آزاد (بستار) <closure variable>` را در بر میگیرد. در صورت خطا، `NULL` برگردانده میشود و یک استثنا مطرح میشود."
105
+
msgstr"معادل کد پایتونِ ``getattr(co, 'co_freevars')`` است. یک ارجاع جدید به :c:type:`PyTupleObject` برمیگرداند که نامهای :term:`متغیرهای آزاد (بستار) <closure variable>` را در بر میگیرد. در صورت خطا، ``NULL`` برگردانده میشود و یک استثنا پرتاب میشود."
107
106
108
107
msgid"Register *callback* as a code object watcher for the current interpreter. Return an ID which may be passed to :c:func:`PyCode_ClearWatcher`. In case of error (e.g. no more watcher IDs available), return ``-1`` and set an exception."
109
108
msgstr"*callback* را بهعنوان دیدهبان (watcher) شیء کد برای مفسر فعلی ثبت میکند. شناسهای برمیگرداند که میتوان آن را به :c:func:`PyCode_ClearWatcher` ارسال کرد. در صورت بروز خطا (مثلاً وقتی دیگر هیچ شناسهی دیدهبانی در دسترس نیست)، مقدار ``-1`` را برمیگرداند و یک استثنا تنظیم میکند."
msgid"`\"Use curses... don't swear\" <https://www.youtube.com/watch?v=eN1eZtjLEnU>`_: video of a PyCon 2013 talk on controlling terminals using curses or Urwid."
529
528
msgstr"`\"Use curses... don't swear\" <https://www.youtube.com/watch?v=eN1eZtjLEnU>`_: ویدیویی از یک سخنرانی PyCon ۲۰۱۳ در مورد کنترل پایانهها با استفاده از curses یا Urwid."
Copy file name to clipboardExpand all lines: library/abc.po
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,6 @@ msgstr ""
70
70
msgid"Metaclass for defining Abstract Base Classes (ABCs)."
71
71
msgstr"فراکلاس برای تعریف کلاسهای پایه انتزاعی (ABCها)."
72
72
73
-
#,fuzzy
74
73
msgid"Use this metaclass to create an ABC. An ABC can be subclassed directly, and then acts as a mix-in class. You can also register unrelated concrete classes (even built-in classes) and unrelated ABCs as \"virtual subclasses\" -- these and their descendants will be considered subclasses of the registering ABC by the built-in :func:`issubclass` function, but the registering ABC won't show up in their MRO (Method Resolution Order) nor will method implementations defined by the registering ABC be callable (not even via :func:`super`). [#]_"
75
74
msgstr"از این فراکلاس برای ایجاد یک ABC استفاده کنید. یک ABC بهطور مستقیم قابل زیرکلاسبندی است و سپس بهعنوان یک کلاس میکساین عمل میکند. همچنین میتوانید کلاسهای عینی غیرمرتبط (حتی کلاسهای توکار) و ABCهای غیرمرتبط را بهعنوان «زیرکلاسهای مجازی» ثبت کنید — این کلاسها و زیرکلاسهای مشتقشده از آنها از دید تابع توکار :func:`issubclass` زیرکلاسهای ABC ثبتکننده محسوب خواهند شد، اما ABC ثبتکننده در MRO (ترتیب حل متد) آنها ظاهر نخواهد شد و پیادهسازیهای متد تعریفشده توسط ABC ثبتکننده فراخوانیپذیر نخواهند بود (حتی از طریق :func:`super` نیز). [#]_"
76
75
@@ -80,7 +79,6 @@ msgstr "کلاسهایی که با فراکلاس :class:`!ABCMeta` ایجا
80
79
msgid"Register *subclass* as a \"virtual subclass\" of this ABC. For example::"
81
80
msgstr"*subclass* را بهعنوان یک «زیرکلاس مجازی» از این ABC ثبت کنید. برای مثال::"
Copy file name to clipboardExpand all lines: library/email.message.po
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -258,9 +258,8 @@ msgstr "is_attachment اکنون برای هماهنگی با :meth:`~email.mess
258
258
msgid"Return the lowercased value (without parameters) of the message's :mailheader:`Content-Disposition` header if it has one, or ``None``. The possible values for this method are *inline*, *attachment* or ``None`` if the message follows :rfc:`2183`."
259
259
msgstr"اگر پیام سرآیند :mailheader:`Content-Disposition` داشته باشد، مقدار با حروف کوچک آن (بدون پارامترها) را برمیگرداند؛ در غیر این صورت ``None`` را برمیگرداند. اگر پیام از :rfc:`2183` پیروی کند، مقادیر ممکن برای این متد *inline*، *attachment* یا ``None`` هستند."
260
260
261
-
#,fuzzy
262
261
msgid"The following methods relate to interrogating and manipulating the content (payload) of the message."
263
-
msgstr"متدهای زیر به بررسی و دستکاری محتوای پیام مربوط میشوند."
262
+
msgstr"متدهای زیر به بررسی و دستکاری محتوای (payload) پیام مربوط میشوند."
264
263
265
264
msgid"The :meth:`walk` method is an all-purpose generator which can be used to iterate over all the parts and subparts of a message object tree, in depth-first traversal order. You will typically use :meth:`walk` as the iterator in a ``for`` loop; each iteration returns the next subpart."
266
265
msgstr"متد :meth:`walk` یک تولیدگر همهمنظوره است که میتوان از آن برای تکرار روی تمام بخشها و زیربخشهای درخت شیء پیام، به ترتیب پیمایش عمقاول استفاده کرد. شما معمولاً از :meth:`walk` بهعنوان پیمایشگر در یک حلقه ``for`` استفاده میکنید؛ هر تکرار، زیربخش بعدی را برمیگرداند."
Copy file name to clipboardExpand all lines: library/functools.po
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -315,7 +315,6 @@ msgstr "بازگرداندن ``NotImplemented`` از تابع مقایسهی
315
315
msgid"A singleton object used as a sentinel to reserve a place for positional arguments when calling :func:`partial` and :func:`partialmethod`."
316
316
msgstr"شیء یگانهای که بهعنوان نشانگر (sentinel) برای رزرو جایگاهی برای آرگومانهای جایگاهی هنگام فراخوانی :func:`partial` و :func:`partialmethod` استفاده میشود."
317
317
318
-
#,fuzzy
319
318
msgid"Return a new :ref:`partial object<partial-objects>` which when called will behave like *func* called with the positional arguments *args* and keyword arguments *keywords*. If more arguments are supplied to the call, they are appended to *args*. If additional keyword arguments are supplied, they extend and override *keywords*. Roughly equivalent to::"
320
319
msgstr"یک :ref:`شیء partial <partial-objects>` جدید برمیگرداند که هنگام فراخوانی، مانند *func* فراخوانیشده با آرگومانهای جایگاهی *args* و آرگومانهای کلیدواژهای *keywords* رفتار میکند. اگر آرگومانهای بیشتری در فراخوانی ارائه شوند، به *args* افزوده میشوند. اگر آرگومانهای کلیدواژهای اضافی ارائه شوند، *keywords* را گسترش میدهند و بازنویسی میکنند. تقریباً معادل است با::"
321
320
@@ -408,9 +407,8 @@ msgstr "یک توصیفگر :class:`partialmethod` جدید برمیگرد
408
407
msgid"*func* must be a :term:`descriptor` or a callable (objects which are both, like normal functions, are handled as descriptors)."
409
408
msgstr"*func* باید یک :term:`توصیفگر <descriptor>` یا فراخوانیپذیر باشد (اشیایی که هر دو هستند، مانند توابع معمولی، بهعنوان توصیفگر در نظر گرفته میشوند)."
410
409
411
-
#,fuzzy
412
410
msgid"When *func* is a descriptor (such as a normal Python function, :func:`classmethod`, :func:`staticmethod`, :func:`~abc.abstractmethod` or another instance of :class:`partialmethod`), calls to ``__get__`` are delegated to the underlying descriptor, and an appropriate :ref:`partial object<partial-objects>` returned as the result."
413
-
msgstr"هنگامی که *func* یک توصیفگر باشد (مانند یک تابع معمولی پایتون، :func:`classmethod`، :func:`staticmethod`، :func:`~abc.abstractmethod` یا نمونهای دیگر از :class:`partialmethod`)، فراخوانیهای ``__get__`` به توصیفگری زیربنایی محول میشوند و یک :ref:`شیء partial <partial-objects>` مناسب بهعنوان نتیجه برگردانده میشود."
411
+
msgstr"هنگامی که *func* یک توصیفگر باشد (مانند یک تابع معمولی پایتون، :func:`classmethod`، :func:`staticmethod`، :func:`~abc.abstractmethod` یا نمونهای دیگر از :class:`partialmethod`)، فراخوانیهای متد ``__get__`` به توصیفگر زیرین محول میشوند و یک :ref:`شیء partial <partial-objects>` مناسب بهعنوان نتیجه برگردانده میشود."
414
412
415
413
msgid"When *func* is a non-descriptor callable, an appropriate bound method is created dynamically. This behaves like a normal Python function when used as a method: the *self* argument will be inserted as the first positional argument, even before the *args* and *keywords* supplied to the :class:`partialmethod` constructor."
416
414
msgstr"هنگامی که *func* یک شیء فراخوانیپذیر غیرتوصیفگر باشد، یک متد مقید مناسب بهصورت پویا ایجاد میشود. این متد هنگامی که بهعنوان یک متد استفاده شود، مانند یک تابع معمولی پایتون رفتار میکند: آرگومان *self* بهعنوان اولین آرگومان جایگاهی درج میشود، حتی پیش از *args* و *keywords* ارائهشده به سازندهی :class:`partialmethod`."
@@ -613,9 +611,8 @@ msgstr ""
613
611
msgid"At runtime the function will dispatch on an instance of a list regardless of the type contained within the list i.e. ``[1,2,3]`` will be dispatched the same as ``[\"foo\", \"bar\", \"baz\"]``. The annotation provided in this example is for static type checkers only and has no runtime impact."
614
612
msgstr"در رانتایم، تابع بر اساس یک نمونه از فهرست اعزام میشود، صرفنظر از نوع موجود در فهرست؛ یعنی ``[1,2,3]`` همانند ``[\"foo\", \"bar\", \"baz\"]`` اعزام میشود. حاشیهنویسی ارائهشده در این مثال فقط برای بررسیکنندههای نوع ایستا است و هیچ تأثیری در رانتایم ندارد."
615
613
616
-
#,fuzzy
617
614
msgid"To enable registering :term:`lambdas<lambda>` and pre-existing functions, the :func:`~singledispatch.register` attribute can also be used in a functional form::"
618
-
msgstr"برای امکانپذیر کردن ثبت :term:`لامبداها <lambda>` و توابع از پیش موجود، همچنین میتوان از ویژگی :func:`~singledispatch.register` بهشکل تابعی استفاده کرد::"
615
+
msgstr"برای فراهم کردن امکان ثبت :term:`لامبداها <lambda>` و توابع از پیش موجود، همچنین میتوان از ویژگی :func:`~singledispatch.register` بهشکل تابعی استفاده کرد::"
Copy file name to clipboardExpand all lines: library/sqlite3.po
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1408,9 +1408,8 @@ msgstr "پشتیبانی از اسلایس افزوده شد."
1408
1408
msgid"Blob objects"
1409
1409
msgstr"اشیای Blob"
1410
1410
1411
-
#,fuzzy
1412
1411
msgid"A :class:`Blob` instance is a :term:`file-like object` that can read and write data in an SQLite :abbr:`BLOB (Binary Large OBject)`. Call :func:`len(blob) <len>` to get the size (number of bytes) of the blob. Use indices and :term:`slices <slice>` for direct access to the blob data."
1413
-
msgstr"یک نمونه از :class:`Blob` یک :term:`شیء شبهپرونده <file-like object>` است که میتواند دادهها را در یک :abbr:`BLOB (Binary Large OBject)` در SQLite بخواند و بنویسد. برای دریافت اندازهی blob (تعداد بایتها)، :func:`len <len>` را فراخوانی کنید. برای دسترسی مستقیم به دادههای blob، از اندیسها و :term:`اسلایسها <slice>` استفاده کنید."
1412
+
msgstr"یک نمونه از :class:`Blob` یک :term:`شیء شبهپرونده <file-like object>` است که میتواند دادهها را در یک :abbr:`BLOB (Binary Large OBject)` مربوط به SQLite بخواند و بنویسد. برای دریافت اندازهی blob (یعنی تعداد بایتهای آن)، :func:`len(blob) <len>` را فراخوانی کنید. برای دسترسی مستقیم به دادههای blob، از اندیسها و :term:`اسلایسها <slice>` استفاده کنید."
1414
1413
1415
1414
msgid"Use the :class:`Blob` as a :term:`context manager` to ensure that the blob handle is closed after use."
1416
1415
msgstr"از :class:`Blob` بهعنوان یک :term:`context manager` استفاده کنید تا اطمینان حاصل شود که دستهی blob پس از استفاده بسته میشود."
0 commit comments