Skip to content

Commit 2209279

Browse files
committed
Fix issues after syncing with upstream
1 parent eaf722c commit 2209279

20 files changed

Lines changed: 23 additions & 57 deletions

c-api/code.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,8 @@ msgstr "معادل کد پایتون ``getattr(co, 'co_varnames')`` است. یک
101101
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."
102102
msgstr "معادل کد پایتونِ ``getattr(co, 'co_cellvars')`` است. یک ارجاع جدید به :c:type:`PyTupleObject` حاوی نام متغیرهای محلی‌ای که توابع تودرتو به آن‌ها ارجاع می‌دهند، برمی‌گرداند. در صورت خطا، ``NULL`` برگردانده می‌شود و یک استثنا مطرح می‌شود."
103103

104-
#, fuzzy
105104
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`` برگردانده می‌شود و یک استثنا پرتاب می‌شود."
107106

108107
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."
109108
msgstr "*callback* را به‌عنوان دیده‌بان (watcher) شیء کد برای مفسر فعلی ثبت می‌کند. شناسه‌ای برمی‌گرداند که می‌توان آن را به :c:func:`PyCode_ClearWatcher` ارسال کرد. در صورت بروز خطا (مثلاً وقتی دیگر هیچ شناسه‌ی دیده‌بانی در دسترس نیست)، مقدار ``-1`` را برمی‌گرداند و یک استثنا تنظیم می‌کند."

howto/curses.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,6 @@ msgstr "`صفحه‌ی man مربوط به ncurses <https://linux.die.net/man/3/
524524
msgid "`The ncurses FAQ <https://invisible-island.net/ncurses/ncurses.faq.html>`_"
525525
msgstr "`پرسش‌های متداول ncurses <https://invisible-island.net/ncurses/ncurses.faq.html>`_"
526526

527-
#, fuzzy
528527
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."
529528
msgstr "`\"Use curses... don't swear\" <https://www.youtube.com/watch?v=eN1eZtjLEnU>`_: ویدیویی از یک سخنرانی PyCon ۲۰۱۳ در مورد کنترل پایانه‌ها با استفاده از curses یا Urwid."
530529

howto/pyporting.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ msgstr "`راهنمای Fedora <https://portingguide.readthedocs.io>`_"
5858
msgid "`PyCon 2020 tutorial <https://www.youtube.com/watch?v=JgIgEjASOlk>`_"
5959
msgstr "`آموزش PyCon 2020 <https://www.youtube.com/watch?v=JgIgEjASOlk>`_"
6060

61-
#, fuzzy
6261
msgid "`Guide by DigitalOcean <https://www.digitalocean.com/community/tutorials/how-to-port-python-2-code-to-python-3>`_"
6362
msgstr "راهنمای `DigitalOcean <https://www.digitalocean.com/community/tutorials/how-to-port-python-2-code-to-python-3>`_"
6463

library/abc.po

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ msgstr ""
7070
msgid "Metaclass for defining Abstract Base Classes (ABCs)."
7171
msgstr "فراکلاس برای تعریف کلاس‌های پایه انتزاعی (ABCها)."
7272

73-
#, fuzzy
7473
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`). [#]_"
7574
msgstr "از این فراکلاس برای ایجاد یک ABC استفاده کنید. یک ABC به‌طور مستقیم قابل زیرکلاس‌بندی است و سپس به‌عنوان یک کلاس میکس‌این عمل می‌کند. همچنین می‌توانید کلاس‌های عینی غیرمرتبط (حتی کلاس‌های توکار) و ABCهای غیرمرتبط را به‌عنوان «زیرکلاس‌های مجازی» ثبت کنید — این کلاس‌ها و زیرکلاس‌های مشتق‌شده از آن‌ها از دید تابع توکار :func:`issubclass` زیرکلاس‌های ABC ثبت‌کننده محسوب خواهند شد، اما ABC ثبت‌کننده در MRO (ترتیب حل متد) آن‌ها ظاهر نخواهد شد و پیاده‌سازی‌های متد تعریف‌شده توسط ABC ثبت‌کننده فراخوانی‌پذیر نخواهند بود (حتی از طریق :func:`super` نیز). [#]_"
7675

@@ -80,7 +79,6 @@ msgstr "کلاس‌هایی که با فراکلاس :class:`!ABCMeta` ایجا
8079
msgid "Register *subclass* as a \"virtual subclass\" of this ABC. For example::"
8180
msgstr "*subclass* را به‌عنوان یک «زیرکلاس مجازی» از این ABC ثبت کنید. برای مثال::"
8281

83-
#, fuzzy
8482
msgid ""
8583
"from abc import ABC\n"
8684
"\n"
@@ -97,7 +95,7 @@ msgstr ""
9795
"class MyABC(ABC):\n"
9896
" pass\n"
9997
"\n"
100-
"MyABC.register\n"
98+
"MyABC.register(tuple)\n"
10199
"\n"
102100
"assert issubclass(tuple, MyABC)\n"
103101
"assert isinstance((), MyABC)"

library/asyncio-exceptions.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ msgstr "زیرکلاسی از :exc:`RuntimeError`."
5959
msgid "The requested read operation did not complete fully."
6060
msgstr "عملیات خواندن درخواست‌شده به‌طور کامل انجام نشد."
6161

62-
#, fuzzy
6362
msgid "Raised by the :ref:`asyncio stream APIs<asyncio-streams>`."
6463
msgstr "توسط :ref:`APIهای جریان asyncio <asyncio-streams>` پرتاب می‌شود."
6564

library/email.message.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,8 @@ msgstr "is_attachment اکنون برای هماهنگی با :meth:`~email.mess
258258
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`."
259259
msgstr "اگر پیام سرآیند :mailheader:`Content-Disposition` داشته باشد، مقدار با حروف کوچک آن (بدون پارامترها) را برمی‌گرداند؛ در غیر این صورت ``None`` را برمی‌گرداند. اگر پیام از :rfc:`2183` پیروی کند، مقادیر ممکن برای این متد *inline*، *attachment* یا ``None`` هستند."
260260

261-
#, fuzzy
262261
msgid "The following methods relate to interrogating and manipulating the content (payload) of the message."
263-
msgstr "متدهای زیر به بررسی و دستکاری محتوای پیام مربوط می‌شوند."
262+
msgstr "متدهای زیر به بررسی و دستکاری محتوای (payload) پیام مربوط می‌شوند."
264263

265264
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."
266265
msgstr "متد :meth:`walk` یک تولیدگر همه‌منظوره است که می‌توان از آن برای تکرار روی تمام بخش‌ها و زیربخش‌های درخت شیء پیام، به ترتیب پیمایش عمق‌اول استفاده کرد. شما معمولاً از :meth:`walk` به‌عنوان پیمایش‌گر در یک حلقه ``for`` استفاده می‌کنید؛ هر تکرار، زیربخش بعدی را برمی‌گرداند."

library/functools.po

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ msgstr "بازگرداندن ``NotImplemented`` از تابع مقایسه‌ی
315315
msgid "A singleton object used as a sentinel to reserve a place for positional arguments when calling :func:`partial` and :func:`partialmethod`."
316316
msgstr "شیء یگانه‌ای که به‌عنوان نشانگر (sentinel) برای رزرو جایگاهی برای آرگومان‌های جایگاهی هنگام فراخوانی :func:`partial` و :func:`partialmethod` استفاده می‌شود."
317317

318-
#, fuzzy
319318
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::"
320319
msgstr "یک :ref:`شیء partial <partial-objects>` جدید برمی‌گرداند که هنگام فراخوانی، مانند *func* فراخوانی‌شده با آرگومان‌های جایگاهی *args* و آرگومان‌های کلیدواژه‌ای *keywords* رفتار می‌کند. اگر آرگومان‌های بیشتری در فراخوانی ارائه شوند، به *args* افزوده می‌شوند. اگر آرگومان‌های کلیدواژه‌ای اضافی ارائه شوند، *keywords* را گسترش می‌دهند و بازنویسی می‌کنند. تقریباً معادل است با::"
321320

@@ -408,9 +407,8 @@ msgstr "یک توصیف‌گر :class:`partialmethod` جدید برمی‌گرد
408407
msgid "*func* must be a :term:`descriptor` or a callable (objects which are both, like normal functions, are handled as descriptors)."
409408
msgstr "*func* باید یک :term:`توصیف‌گر <descriptor>` یا فراخوانی‌پذیر باشد (اشیایی که هر دو هستند، مانند توابع معمولی، به‌عنوان توصیف‌گر در نظر گرفته می‌شوند)."
410409

411-
#, fuzzy
412410
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>` مناسب به‌عنوان نتیجه برگردانده می‌شود."
414412

415413
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."
416414
msgstr "هنگامی که *func* یک شیء فراخوانی‌پذیر غیرتوصیف‌گر باشد، یک متد مقید مناسب به‌صورت پویا ایجاد می‌شود. این متد هنگامی که به‌عنوان یک متد استفاده شود، مانند یک تابع معمولی پایتون رفتار می‌کند: آرگومان *self* به‌عنوان اولین آرگومان جایگاهی درج می‌شود، حتی پیش از *args* و *keywords* ارائه‌شده به سازنده‌ی :class:`partialmethod`."
@@ -613,9 +611,8 @@ msgstr ""
613611
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."
614612
msgstr "در ران‌تایم، تابع بر اساس یک نمونه از فهرست اعزام می‌شود، صرف‌نظر از نوع موجود در فهرست؛ یعنی ``[1,2,3]`` همانند ``[\"foo\", \"bar\", \"baz\"]`` اعزام می‌شود. حاشیه‌نویسی ارائه‌شده در این مثال فقط برای بررسی‌کننده‌های نوع ایستا است و هیچ تأثیری در ران‌تایم ندارد."
615613

616-
#, fuzzy
617614
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` به‌شکل تابعی استفاده کرد::"
619616

620617
msgid ""
621618
">>> def nothing(arg, verbose=False):\n"

library/mailbox.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ msgstr "نمونه‌های :class:`!Maildir` هیچ پرونده بازی را
293293
msgid "Depending upon the host platform, it may not be possible to modify or remove the underlying message while the returned file remains open."
294294
msgstr "بسته به پلتفرم میزبان، ممکن است در حالی که پرونده برگردانده‌شده باز باقی می‌ماند، تغییر یا حذف پیام زیربنایی امکان‌پذیر نباشد."
295295

296-
#, fuzzy
297296
msgid "`maildir man page from Courier <https://www.courier-mta.org/maildir.html>`_"
298297
msgstr "صفحه راهنمای maildir از `Courier <https://www.courier-mta.org/maildir.html>`_"
299298

library/optparse.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,9 +1648,8 @@ msgstr "parser = OptionParser(..., conflict_handler=handler)"
16481648
msgid "or with a separate call::"
16491649
msgstr "یا با یک فراخوانی جداگانه::"
16501650

1651-
#, fuzzy
16521651
msgid "parser.set_conflict_handler(handler)"
1653-
msgstr "parser.set_conflict_handler"
1652+
msgstr "parser.set_conflict_handler(handler)"
16541653

16551654
msgid "The available conflict handlers are:"
16561655
msgstr "مدیرهای تعارض (conflict handlers) موجود عبارتند از:"

library/sqlite3.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,9 +1408,8 @@ msgstr "پشتیبانی از اسلایس افزوده شد."
14081408
msgid "Blob objects"
14091409
msgstr "اشیای Blob"
14101410

1411-
#, fuzzy
14121411
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>` استفاده کنید."
14141413

14151414
msgid "Use the :class:`Blob` as a :term:`context manager` to ensure that the blob handle is closed after use."
14161415
msgstr "از :class:`Blob` به‌عنوان یک :term:`context manager` استفاده کنید تا اطمینان حاصل شود که دسته‌ی blob پس از استفاده بسته می‌شود."

0 commit comments

Comments
 (0)