From f2ac0e4728af7f636e52b07d8c755a3bb568c229 Mon Sep 17 00:00:00 2001 From: invincible627 Date: Wed, 14 Oct 2026 13:00:34 +0330 Subject: [PATCH 1/5] Translating untranslated parts in the c-api/marshal.po file --- CONTRIBUTING.md | 2 +- c-api/marshal.po | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dc97a4543..99d2a88da 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -45,7 +45,7 @@ - **اشکال در ترجمه:** برای گزارش ترجمه‌ی نادرست یا مشکل‌دار در یک صفحه‌ی منتشرشده. `msgid`، `msgstr` فعلی، و ترجمه‌ی پیشنهادی خود را در قالب وارد کنید. - **پیشنهاد تغییرات در ترجمه:** برای پیشنهاد تغییر در یک واژه یا شیوه‌ی نگارشِ ثابت‌شده (نه یک اشکال ساده). فرایند بررسی این نوع پیشنهاد در بخش [«پیشنهاد تغییر در واژه یا شیوه‌ی نگارش»](#پیشنهاد-تغییر-در-واژه-یا-شیوهی-نگارش) توضیح داده شده است. - **گزارش اشکال در واژه‌یاب:** برای گزارش اشکالات در واژه‌یاب، از این قالب استفاده کنید. -- **پیشنهاد تغییرات در وازه‌یاب:** برای ارائه پیشنهاد تغییر در واژه‌یاب، از این قالب استفاده کنید. +- **پیشنهاد تغییرات در واژه‌یاب:** برای ارائه پیشنهاد تغییر در واژه‌یاب، از این قالب استفاده کنید. ## فرایند ترجمه diff --git a/c-api/marshal.po b/c-api/marshal.po index a146cdd81..5c3271650 100644 --- a/c-api/marshal.po +++ b/c-api/marshal.po @@ -43,13 +43,13 @@ msgid "This function can fail, in which case it sets the error indicator. Use :c msgstr "این تابع می‌تواند شکست بخورد، که در این صورت نشانگر خطا را تنظیم می‌کند. برای بررسی این موضوع از :c:func:`PyErr_Occurred` استفاده کنید." msgid "In Python 3.15 and earlier, this function does not set the error indicator if writing to *file* fails. The same caveat applies as for :c:func:`PyMarshal_WriteObjectToFile`." -msgstr "" +msgstr "در پایتون ۳.۱۵ و قبلتر، این تابع نشانگری برای خطا تنظیم نمی‌کند، اگر نوشتن در *پرونده* شکست بخورد، همان محدودیت مشابه برای :c:func:`PyMarshal_WriteObjectToFile` برقرار است." msgid "Marshal a Python object, *value*, to *file*. *version* indicates the file format." msgstr "یک شیء پایتون، *value*، را به *file* مارشال کنید. *version* قالب پرونده را مشخص می‌کند." msgid "In Python 3.15 and earlier, this function can write only part of the data to *file* and return without setting the error indicator, for example if *value* contains an object which cannot be marshalled or if writing to *file* fails (see :gh:`155907`). Code which has to support these versions cannot rely on :c:func:`PyErr_Occurred` alone to know that all the data was written. It can use :c:func:`PyMarshal_WriteObjectToString` and write the result itself, or validate what was written." -msgstr "" +msgstr "در پایتون ۳.۱۵ و قبلتر، این تابع فقط می‌تواند قسمتی از اطلاعات را در *پرونده* بنویسد و بدون تنظیم کردن نشانگر خطا برگرداند، برای مثال اگر *مقدار* شامل یک شیء‌ای که نمی‌تواند مارشال شود یا اگر نوشتن در *پرونده* شکست بخورد (به :gh:`155907` مراجعه کنید). کدی که باید این نسخه‌ها را پشتیبانی کند نمی‌تواند به تنهایی به :c:func:`PyErr_Occurred` تکیه کند تا بداند همه‌ی اطلاعات نوشته شده است. می‌تواند از :c:func:`PyMarshal_WriteObjectToString` استفاده کند و خودش نتیجه را بنویسد یا صحت‌سنجی کند آنچه نوشته شده است." msgid "Return a bytes object containing the marshalled representation of *value*. *version* indicates the file format." msgstr "یک شیء bytes حاوی نمایش مارشال‌شده‌ی *value* را برمی‌گرداند. *version* قالب پرونده را مشخص می‌کند." From 9c28007bef67b470770e8cb33d458642bf2ed1df Mon Sep 17 00:00:00 2001 From: invincible627 Date: Thu, 15 Oct 2026 19:27:36 +0330 Subject: [PATCH 2/5] Translating untranslated parts of the library/turtle.po file and rewriting fuzzy strings --- library/turtle.po | 173 ++++++++++++--------------------------------- using/configure.po | 6 +- 2 files changed, 50 insertions(+), 129 deletions(-) diff --git a/library/turtle.po b/library/turtle.po index 5d67fde3a..c8cc00c5e 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -16,7 +16,7 @@ msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-10-12 04:25+0000\n" -"PO-Revision-Date: 2026-09-21 13:27+0330\n" +"PO-Revision-Date: 2026-10-15 19:25+0330\n" "Last-Translator: Sepehr Rasouli , 2026\n" "Language-Team: Persian (https://github.com/python/python-docs-fa/)\n" "Language: fa\n" @@ -24,7 +24,7 @@ msgstr "" "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" +"X-Generator: Poedit 3.10\n" msgid ":mod:`!turtle` --- Turtle graphics" msgstr ":mod:`!turtle` --- گرافیک لاک‌پشتی" @@ -81,15 +81,13 @@ msgid "If you run into a ``Standard library module '_tkinter' was not found`` er msgstr "اگر با خطای ``Standard library module '_tkinter' was not found`` مواجه شدید، باید :mod:`بسته رابط کاربری Tk ` را روی سیستم خود نصب کنید." msgid "Nothing appears yet. To open the turtle window, make the turtle visible::" -msgstr "" +msgstr "هنوز هیچ چیزی ظاهر نشده است. برای باز کردن پنجره‌ی turtle، لاک‌پشت را نمایان کنید::" -#, fuzzy -#| msgid ">>> turtle.showturtle()" msgid "showturtle()" -msgstr ">>> turtle.showturtle()" +msgstr "showturtle()" msgid "A new window opens, with the turtle in the middle, shown as an arrow heading East." -msgstr "" +msgstr "یک پنجره‌ی جدید باز می‌شود، با یک لاک‌پشت در وسط، که به‌عنوان یک پیکان رو به شرق نمایش داده می‌شود." msgid "Basic drawing" msgstr "ترسیم مقدماتی" @@ -100,10 +98,8 @@ msgstr "لاک‌پشت را ۱۰۰ گام به جلو بفرستید::" msgid "forward(100)" msgstr "forward(100)" -#, fuzzy -#| msgid "You should see (most likely, in a new window on your display) a line drawn by the turtle, heading East. Change the direction of the turtle, so that it turns 120 degrees left (anti-clockwise)::" msgid "You should see a line drawn by the turtle, heading East. Change the direction of the turtle, so that it turns 120 degrees left (anti-clockwise)::" -msgstr "باید (به‌احتمال زیاد، در یک پنجره‌ی جدید روی نمایشگر شما) سطری را ببینید که لاک‌پشت آن را رو به شرق رسم کرده است. جهت لاک‌پشت را تغییر دهید تا ۱۲۰ درجه به چپ (خلاف جهت عقربه‌های ساعت) بچرخد::" +msgstr "باید سطری را ببینید که لاک‌پشت آن را رو به شرق رسم کرده است. جهت لاک‌پشت را تغییر دهید تا ۱۲۰ درجه به چپ (خلاف جهت عقربه‌های ساعت) بچرخد::" msgid "left(120)" msgstr "left(120)" @@ -248,7 +244,7 @@ msgid "a number" msgstr "یک عدد" msgid "Move the turtle forward by the specified *distance*, in the direction the turtle is headed." -msgstr "لاکی‌پشت را به اندازه‌ی *distance* مشخص‌شده، در جهتی که لاکی‌پشت رو به آن دارد، به جلو حرکت می‌دهد." +msgstr "لاک‌پشت را به اندازه‌ی *distance* مشخص‌شده، در جهتی که لاک‌پشت رو به آن دارد، به جلو حرکت می‌دهد." msgid "" ">>> turtle.position()\n" @@ -970,10 +966,8 @@ msgstr "۴ قالب ورودی مجاز است:" msgid "``pencolor()``" msgstr "``pencolor()``" -#, fuzzy -#| msgid "Return the current pencolor as color specification string or as a tuple (see example). May be used as input to another color/pencolor/fillcolor/bgcolor call." msgid "Return the current pencolor as color specification string or as a tuple (see example). May be used as input to another :func:`color`, :func:`pencolor`, :func:`fillcolor` or :func:`bgcolor` call." -msgstr "رنگ قلم فعلی را به‌صورت رشته مشخصه رنگ یا تاپل برمی‌گرداند (مثال را ببینید). می‌تواند به‌عنوان ورودی برای فراخوانی دیگری از color/pencolor/fillcolor/bgcolor استفاده شود." +msgstr "رنگ قلم فعلی را به‌صورت رشته مشخصه رنگ یا تاپل برمی‌گرداند (مثال را ببینید). می‌تواند به‌عنوان ورودی برای فراخوانی دیگری از :func:`color`، :func:`pencolor`، :func:`fillcolor` یا :func:`bgcolor` استفاده شود." msgid "``pencolor(colorstring)``" msgstr "``pencolor(colorstring)``" @@ -1039,10 +1033,8 @@ msgstr "fillcolor را برمی‌گرداند یا تنظیم می‌کند." msgid "``fillcolor()``" msgstr "``fillcolor()``" -#, fuzzy -#| msgid "Return the current fillcolor as color specification string, possibly in tuple format (see example). May be used as input to another color/pencolor/fillcolor/bgcolor call." msgid "Return the current fillcolor as color specification string, possibly in tuple format (see example). May be used as input to another :func:`color`, :func:`pencolor`, :func:`fillcolor` or :func:`bgcolor` call." -msgstr "fillcolor فعلی را به‌عنوان رشته مشخصات رنگ برمی‌گرداند، احتمالاً در قالب تاپل (به مثال مراجعه کنید). ممکن است به‌عنوان ورودی برای فراخوانی دیگری از color/pencolor/fillcolor/bgcolor استفاده شود." +msgstr "fillcolor فعلی را به‌عنوان رشته مشخصات رنگ برمی‌گرداند، احتمالاً در قالب تاپل (به مثال مراجعه کنید). ممکن است به‌عنوان ورودی برای فراخوانی دیگری از :func:`color`، :func:`pencolor`، :func:`fillcolor` یا :func:`bgcolor` استفاده شود." msgid "``fillcolor(colorstring)``" msgstr "``fillcolor(colorstring)``" @@ -1192,10 +1184,8 @@ msgstr "پر شدن یا پر نشدن ناحیه‌های هم‌پوشانی msgid "More drawing control" msgstr "کنترل بیشتر ترسیم" -#, fuzzy -#| msgid "Delete the turtle's drawings from the screen, re-center the turtle and set variables to the default values." msgid "Delete the turtle's drawings and re-center the turtle. The turtle's settings are restored to their default values." -msgstr "نقاشی‌های لاک‌پشت را از صفحه پاک می‌کند، لاک‌پشت را دوباره در مرکز قرار می‌دهد و متغیرها را روی مقادیر پیش‌فرض تنظیم می‌کند." +msgstr "نقاشی‌های لاک‌پشت را از صفحه پاک می‌کند، لاک‌پشت را دوباره در مرکز قرار می‌دهد. تنظیمات لاک‌پشت به مقادیر پیش‌فرضش بازگردانده می‌شوند." msgid "" ">>> turtle.goto(0,-22)\n" @@ -1222,10 +1212,8 @@ msgstr "" ">>> turtle.heading()\n" "0.0" -#, fuzzy -#| msgid "Delete the turtle's drawings from the screen. Do not move turtle. State and position of the turtle as well as drawings of other turtles are not affected." msgid "Delete the turtle's drawings from the screen. The state and position of the turtle as well as the drawings of other turtles are not affected." -msgstr "ترسیمات لاک‌پشت را از صفحه حذف می‌کند. لاک‌پشت را حرکت نمی‌دهد. وضعیت و موقعیت لاک‌پشت و همچنین ترسیمات سایر لاک‌پشت‌ها تحت تأثیر قرار نمی‌گیرند." +msgstr "ترسیمات لاک‌پشت را از صفحه حذف می‌کند. وضعیت و موقعیت لاک‌پشت و همچنین ترسیمات سایر لاک‌پشت‌ها تحت تأثیر قرار نمی‌گیرند." msgid "object to be written to the TurtleScreen" msgstr "شیءای که باید در TurtleScreen نوشته شود" @@ -1256,15 +1244,13 @@ msgid "Visibility" msgstr "قابلیت مشاهده" msgid "Make the turtle invisible. If the pen is down, movement still draws." -msgstr "" +msgstr "لاک‌پشت را نامرئی کنید. اگر قلم پایین است، حرکت همچنان رسم می‌کند." msgid "Make the turtle visible." msgstr "لاک‌پشت را نمایان کنید." -#, fuzzy -#| msgid "Return ``True`` if the Turtle is shown, ``False`` if it's hidden." msgid "Return ``True`` if the turtle is shown, ``False`` if it's hidden." -msgstr "اگر Turtle نمایش داده شده باشد، ``True`` و اگر پنهان باشد، ``False`` را برمی‌گرداند." +msgstr "اگر turtle نمایش داده شده باشد، ``True`` و اگر پنهان باشد، ``False`` را برمی‌گرداند." msgid "" ">>> turtle.hideturtle()\n" @@ -1459,23 +1445,17 @@ msgstr "" msgid "Using events" msgstr "استفاده از رویدادها" -#, fuzzy -#| msgid "a function with no arguments or ``None``" msgid "a function with two arguments or ``None``" -msgstr "تابعی بدون آرگومان یا ``None``" +msgstr "تابعی با دو آرگومان یا ``None``" -#, fuzzy -#| msgid "an integer or ``None``" msgid "an integer" -msgstr "یک عدد صحیح یا ``None``" +msgstr "یک عدد صحیح" -#, fuzzy -#| msgid "a number or ``None``" msgid "a boolean or ``None``" -msgstr "یک عدد یا ``None``" +msgstr "یک بولین یا ``None``" msgid "Bind *fun* to mouse-click events on this turtle. *fun* is called with the coordinates of the clicked point on the canvas. If *fun* is ``None``, existing bindings are removed. *btn* is the number of the mouse button and defaults to 1, the left mouse button. If *add* is ``True``, a new binding is added, otherwise it replaces a former binding. Example for the anonymous turtle, that is, the procedural way:" -msgstr "" +msgstr "*fun* را به رویدادهای کلیک ماوس روی این لاک‌پشت متصل کنید. *fun* با مختصات نقطه‌ی کلیک‌شده روی بوم فراخوانی می‌شود. اگر *fun* ``None`` باشد، اتصال‌های موجود حذف می‌شوند. *btn* شماره‌ی دکمه‌ی ماوس است و به‌طور پیش‌فرض ۱ است، یعنی دکمه‌ی چپ ماوس. اگر *add* ``True`` باشد، یک اتصال جدید اضافه می‌شود، در غیر این صورت یک اتصال پیشین را جایگزین می‌کند. مثالی برای لاک‌پشت ناشناس، یعنی روش رویه‌ای:" msgid "" ">>> def turn(x, y):\n" @@ -1552,13 +1532,9 @@ msgstr "" "... turtle.right(60)\n" "... turtle.forward(100)" -#, fuzzy -#| msgid "Start recording the vertices of a polygon. Current turtle position is first vertex of polygon." msgid "Start recording the vertices of a polygon. The current turtle position is the first vertex of the polygon." msgstr "ثبت رأس‌های یک چندضلعی را آغاز کنید. موقعیت فعلی لاک‌پشت، اولین رأس چندضلعی است." -#, fuzzy -#| msgid "Stop recording the vertices of a polygon. Current turtle position is last vertex of polygon. This will be connected with the first vertex." msgid "Stop recording the vertices of a polygon. The current turtle position is the last vertex of the polygon. This will be connected with the first vertex." msgstr "ثبت رأس‌های یک چندضلعی را متوقف می‌کند. موقعیت فعلی لاک‌پشت آخرین رأس چندضلعی است. این به اولین رأس متصل خواهد شد." @@ -1698,10 +1674,8 @@ msgstr "رنگ پس‌زمینه‌ی TurtleScreen را برمی‌گرداند msgid "``bgcolor()``" msgstr "``bgcolor()``" -#, fuzzy -#| msgid "Return the current background color as color specification string or as a tuple (see example). May be used as input to another color/pencolor/fillcolor/bgcolor call." msgid "Return the current background color as a color specification string or as a tuple (see example). May be used as input to another :func:`color`, :func:`pencolor`, :func:`fillcolor` or :func:`bgcolor` call." -msgstr "رنگ پس‌زمینه‌ی جاری را به‌صورت یک رشته‌ی مشخصه‌ی رنگ یا یک تاپل برمی‌گرداند (مثال را ببینید). می‌تواند به‌عنوان ورودی در فراخوانی دیگری از color/pencolor/fillcolor/bgcolor استفاده شود." +msgstr "رنگ پس‌زمینه‌ی جاری را به‌صورت یک رشته‌ی مشخصه‌ی رنگ یا یک تاپل برمی‌گرداند (مثال را ببینید). می‌تواند به‌عنوان ورودی در فراخوانی دیگری از :func:`color`، :func:`pencolor`، :func:`fillcolor` یا :func:`bgcolor` استفاده شود." msgid "``bgcolor(colorstring)``" msgstr "``bgcolor(colorstring)``" @@ -1712,18 +1686,14 @@ msgstr "رنگ پس‌زمینه را روی *colorstring* تنظیم کنید، msgid "``bgcolor((r, g, b))``" msgstr "``bgcolor((r, g, b))``" -#, fuzzy -#| msgid "Set the background color to the RGB color represented by the tuple of *r*, *g*, and *b*. Each of *r*, *g*, and *b* must be in the range 0..colormode, where colormode is either 1.0 or 255 (see :func:`colormode`)." msgid "Set the background color to the RGB color represented by the tuple of *r*, *g*, and *b*. Each of *r*, *g*, and *b* must be between 0 and colormode, where colormode is either 1.0 or 255 (see :func:`colormode`)." -msgstr "رنگ پس‌زمینه را روی رنگ RGB بیان‌شده با تاپل *r*، *g* و *b* تنظیم کنید. هر یک از *r*، *g* و *b* باید در بازه‌ی ۰..colormode باشند، که colormode می‌تواند ۱.۰ یا ۲۵۵ باشد (به :func:`colormode` مراجعه کنید)." +msgstr "رنگ پس‌زمینه را روی رنگ RGB بیان‌شده با تاپل *r*، *g* و *b* تنظیم کنید. هر یک از *r*، *g* و *b* باید بین ۰ و colormode باشند، که colormode می‌تواند ۱.۰ یا ۲۵۵ باشد (به :func:`colormode` مراجعه کنید)." msgid "``bgcolor(r, g, b)``" msgstr "``bgcolor(r, g, b)``" -#, fuzzy -#| msgid "Set the background color to the RGB color represented by *r*, *g*, and *b*. Each of *r*, *g*, and *b* must be in the range 0..colormode." msgid "Set the background color to the RGB color represented by *r*, *g*, and *b*. Each of *r*, *g*, and *b* must be between 0 and colormode." -msgstr "رنگ پس‌زمینه را روی رنگ RGB نشان‌داده‌شده با *r*، *g* و *b* تنظیم کنید. هر یک از *r*، *g* و *b* باید در بازه‌ی 0..colormode باشد." +msgstr "رنگ پس‌زمینه را روی رنگ RGB نشان‌داده‌شده با *r*، *g* و *b* تنظیم کنید. هر یک از *r*، *g* و *b* باید بین ۰ و colormode باشد." msgid "" ">>> screen.bgcolor(\"orange\")\n" @@ -1768,8 +1738,6 @@ msgstr "تمام ترسیم‌ها و تمام لاک‌پشت‌ها را از msgid "This TurtleScreen method is available as a global function only under the name ``resetscreen``. The global function ``reset`` is another one derived from the Turtle method ``reset``." msgstr "این متد TurtleScreen فقط با نام ``resetscreen`` به‌عنوان یک تابع سراسری در دسترس است. تابع سراسری ``reset`` تابع دیگری است که از متد ``reset`` در Turtle مشتق شده است." -#, fuzzy -#| msgid "Reset all Turtles on the Screen to their initial state." msgid "Reset all turtles on the screen to their initial state." msgstr "بازنشانی همه‌ی لاک‌پشت‌های روی صفحه به وضعیت اولیه‌شان." @@ -1802,7 +1770,7 @@ msgid "e.g. to search for an erroneously escaped turtle ;-)" msgstr "مثلاً برای جستجوی لاک‌پشتی که به‌اشتباه فرار کرده است ;-)" msgid "Set up a user-defined coordinate system. *llx* and *lly* are the x and y coordinates of the lower left corner of the canvas. *urx* and *ury* are the x and y coordinates of the upper right corner. Switch to mode \"world\" if necessary, which performs a reset. If mode \"world\" is already active, all drawings are redrawn according to the new coordinates. In user-defined coordinate systems, angles may appear distorted, see :func:`mode`." -msgstr "" +msgstr "یک سیستم مختصات تعریف‌شده توسط کاربر تنظیم کنید. *llx* و *lly* مختصات x و y گوشه‌ی پایین چپ بوم هستند. *urx* و *ury* مختصات x و y گوشه‌ی بالا راست هستند. در صورت لزوم به حالت \"world\" بروید که بازنشانی را انجام می‌دهد. اگر حالت \"world\" از قبل فعال باشد، تمام ترسیمات بر اساس مختصات جدید دوباره ترسیم می‌شوند. در سیستم‌های مختصات تعریف‌شده توسط کاربر، زوایا ممکن است تحریف‌شده به نظر برسند، :func:`mode` را ببینید." msgid "" ">>> screen.reset()\n" @@ -1824,10 +1792,8 @@ msgstr "" msgid "Animation control" msgstr "کنترل پویانمایی" -#, fuzzy -#| msgid "Temporarily disable turtle animation. The code written inside the ``no_animation`` block will not be animated; once the code block is exited, the drawing will appear." msgid "Temporarily turn off turtle animation. The code inside the :keyword:`with` block is not animated. Once the block is exited, the drawing appears. This is useful for drawing complex shapes where even the fastest speed setting is too slow." -msgstr "پویانمایی turtle را به‌طور موقت غیرفعال می‌کند. کد نوشته‌شده درون بلوک ``no_animation`` پویانمایی نخواهد شد؛ پس از خروج از بلوک کد، ترسیم ظاهر می‌شود." +msgstr "پویانمایی turtle را به‌طور موقت غیرفعال می‌کند. کد نوشته‌شده درون بلوک :keyword:`with` پویانمایی نخواهد شد؛ پس از خروج از بلوک کد، ترسیم ظاهر می‌شود. این برای رسم شکل‌های پیچیده‌ای مفید است که حتی سریع‌ترین تنظیم سرعت نیز برای آن‌ها بسیار کند است." msgid "" ">>> with screen.no_animation():\n" @@ -1840,15 +1806,11 @@ msgstr "" "... fd(dist)\n" "... rt(90)" -#, fuzzy -#| msgid "an integer or ``None``" msgid "a nonnegative integer or ``None``" -msgstr "یک عدد صحیح یا ``None``" +msgstr "یک عدد صحیح نامنفی یا ``None``" -#, fuzzy -#| msgid "Set or return the drawing *delay* in milliseconds. (This is approximately the time interval between two consecutive canvas updates.) The longer the drawing delay, the slower the animation." msgid "Return or set the drawing delay in milliseconds. This is approximately the time interval between two consecutive canvas updates. The longer the drawing delay, the slower the animation." -msgstr "*تأخیر* ترسیم را بر حسب میلی‌ثانیه تنظیم می‌کند یا برمی‌گرداند. (این مقدار تقریباً بازه‌ی زمانی بین دو به‌روزرسانی متوالی بوم است.) هرچه تأخیر ترسیم طولانی‌تر باشد، پویانمایی کندتر خواهد بود." +msgstr "تأخیر ترسیم را بر حسب میلی‌ثانیه تنظیم می‌کند یا برمی‌گرداند. این مقدار تقریباً بازه‌ی زمانی بین دو به‌روزرسانی متوالی بوم است. هرچه تأخیر ترسیم طولانی‌تر باشد، پویانمایی کندتر خواهد بود." msgid "" ">>> screen.delay()\n" @@ -1863,10 +1825,8 @@ msgstr "" ">>> screen.delay()\n" "5" -#, fuzzy -#| msgid "Turn turtle animation on/off and set delay for update drawings. If *n* is given, only each n-th regular screen update is really performed. (Can be used to accelerate the drawing of complex graphics.) When called without arguments, returns the currently stored value of n. Second argument sets delay value (see :func:`delay`)." msgid "Turn turtle animation on or off and set the drawing delay. If *n* is given, only every n-th regular screen update is performed, which can be used to speed up the drawing of complex graphics. If *n* is 0, animation is turned off and the screen is only updated by calling :func:`update`. If *delay* is given, it sets the drawing delay, see :func:`delay`. When called without arguments, return the current value of *n*." -msgstr "روشن/خاموش کردن پویانمایی turtle و تنظیم تأخیر برای به‌روزرسانی ترسیم‌ها. اگر *n* داده شود، تنها هر n-امین به‌روزرسانی منظم صفحه واقعاً انجام می‌شود. (می‌تواند برای تسریع ترسیم گرافیک‌های پیچیده استفاده شود.) هنگامی که بدون آرگومان فراخوانی شود، مقدار ذخیره‌شده‌ی کنونی n را برمی‌گرداند. آرگومان دوم مقدار تأخیر را تنظیم می‌کند (به :func:`delay` مراجعه کنید)." +msgstr "پویانمایی turtle را روشن یا خاموش کنید و تأخیر ترسیم را تنظیم کنید. اگر *n* داده شود، تنها هر n-امین به‌روزرسانی منظم صفحه انجام می‌شود، که می‌تواند برای تسریع ترسیم گرافیک‌های پیچیده استفاده شود. اگر *n* برابر ۰ باشد، پویانمایی خاموش می‌شود و صفحه تنها با فراخوانی :func:`update` به‌روزرسانی می‌شود. اگر *delay* داده شود، تأخیر ترسیم را تنظیم می‌کند، :func:`delay` را ببینید. هنگامی که بدون آرگومان فراخوانی شود، مقدار فعلی *n* را برمی‌گرداند." msgid "" ">>> screen.tracer(8, 25)\n" @@ -1936,7 +1896,7 @@ msgstr "" ">>> screen.listen()" msgid "Bind *fun* to mouse-click events on this screen. *fun* is called with the coordinates of the clicked point on the canvas. If *fun* is ``None``, existing bindings are removed. *btn* is the number of the mouse button and defaults to 1, the left mouse button. If *add* is ``True``, a new binding is added, otherwise it replaces a former binding." -msgstr "" +msgstr "*fun* را به رویدادهای کلیک ماوس روی این صفحه متصل کنید. *fun* با مختصات نقطه‌ی کلیک‌شده روی بوم فراخوانی می‌شود. اگر *fun* ``None`` باشد، اتصال‌های موجود حذف می‌شوند. *btn* شماره‌ی دکمه‌ی ماوس است و به‌طور پیش‌فرض ۱ است، یعنی دکمه‌ی چپ ماوس. اگر *add* ``True`` باشد، یک اتصال جدید اضافه می‌شود، در غیر این صورت یک اتصال پیشین را جایگزین می‌کند." msgid "Example for a TurtleScreen instance named ``screen`` and a Turtle instance named ``turtle``:" msgstr "مثالی برای نمونه‌ای از TurtleScreen به نام ``screen`` و نمونه‌ای از Turtle به نام ``turtle``:" @@ -1981,31 +1941,23 @@ msgstr "" ">>> f() ### makes the turtle march around\n" ">>> running = False" -#, fuzzy -#| msgid "Starts event loop - calling Tkinter's mainloop function. Must be the last statement in a turtle graphics program. Must *not* be used if a script is run from within IDLE in -n mode (No subprocess) - for interactive use of turtle graphics. ::" msgid "Start the event loop by calling Tkinter's :meth:`~tkinter.Misc.mainloop` method. Must be the last statement in a turtle graphics program. Must *not* be used if a script is run from within IDLE in -n mode (see :ref:`idle-no-subprocess`)." -msgstr "حلقه‌ی رویداد را با فراخوانی تابع mainloop از Tkinter آغاز می‌کند. باید آخرین دستور در یک برنامه‌ی گرافیک turtle باشد. برای استفاده‌ی تعاملی از گرافیک turtle، اگر یک اسکریپت از داخل IDLE در حالت -n (بدون subprocess) اجرا شود، *نباید* از آن استفاده شود. ::" +msgstr "حلقه‌ی رویداد را با فراخوانی متد :meth:`~tkinter.Misc.mainloop` از Tkinter آغاز می‌کند. باید آخرین دستور در یک برنامه‌ی گرافیک turtle باشد. اگر یک اسکریپت از داخل IDLE در حالت -n اجرا شود، *نباید* از آن استفاده شود (`:ref:`idle-no-subprocess`` را ببینید)." msgid "Input methods" msgstr "متدهای ورودی" -#, fuzzy -#| msgid "string" msgid "a string" -msgstr "رشته" +msgstr "یک رشته" -#, fuzzy -#| msgid "Pop up a dialog window for input of a string. Parameter title is the title of the dialog window, prompt is a text mostly describing what information to input. Return the string input. If the dialog is canceled, return ``None``. ::" msgid "Pop up a dialog window for input of a string. *title* is the title of the dialog window and *prompt* is a text describing what information to input. Return the string entered. If the dialog is canceled, return ``None``. ::" -msgstr "یک پنجره‌ی محاوره برای دریافت یک رشته باز می‌کند. پارامتر title عنوان پنجره‌ی محاوره است و prompt متنی است که عمدتاً توضیح می‌دهد چه اطلاعاتی باید وارد شود. رشته‌ی ورودی را برمی‌گرداند. اگر پنجره‌ی محاوره لغو شود، ``None`` برمی‌گرداند. ::" +msgstr "یک پنجره‌ی محاوره برای دریافت یک رشته باز می‌کند. *title* عنوان پنجره‌ی محاوره است و *prompt* متنی است که توصیف می‌کند چه اطلاعاتی باید وارد شود. رشته‌ی ورودی را برمی‌گرداند. اگر پنجره‌ی محاوره لغو شود، ``None`` برمی‌گرداند. ::" msgid ">>> screen.textinput(\"NIM\", \"Name of first player:\")" msgstr ">>> screen.textinput(\"NIM\", \"Name of first player:\")" -#, fuzzy -#| msgid "Pop up a dialog window for input of a number. title is the title of the dialog window, prompt is a text mostly describing what numerical information to input. default: default value, minval: minimum value for input, maxval: maximum value for input. The number input must be in the range minval .. maxval if these are given. If not, a hint is issued and the dialog remains open for correction. Return the number input. If the dialog is canceled, return ``None``. ::" msgid "Pop up a dialog window for input of a number. *title* is the title of the dialog window and *prompt* is a text describing what numerical information to input. *default* is the default value, *minval* and *maxval* are the minimum and maximum values for input. If these are given, the number entered must be between *minval* and *maxval*. If not, a hint is issued and the dialog remains open for correction. Return the number entered. If the dialog is canceled, return ``None``. ::" -msgstr "یک پنجره محاوره برای دریافت یک عدد باز می‌کند. title عنوان پنجره محاوره است، prompt متنی است که عمدتاً توضیح می‌دهد چه اطلاعات عددی باید وارد شود. default: مقدار پیش‌فرض، minval: حداقل مقدار برای ورودی، maxval: حداکثر مقدار برای ورودی. اگر این مقادیر داده شده باشند، عدد ورودی باید در بازه minval .. maxval باشد. در غیر این صورت، یک راهنمایی نمایش داده می‌شود و پنجره محاوره برای اصلاح باز می‌ماند. عدد ورودی را برمی‌گرداند. اگر پنجره محاوره لغو شود، ``None`` برگردانده می‌شود. ::" +msgstr "یک پنجره‌ی محاوره برای دریافت یک عدد باز می‌کند. *title* عنوان پنجره‌ی محاوره است و *prompt* متنی است که توصیف می‌کند چه اطلاعات عددی باید وارد شود. *default* مقدار پیش‌فرض است، *minval* و *maxval* حداقل و حداکثر مقدار برای ورودی هستند. اگر این مقادیر داده شده باشند، عدد ورودی باید بین *minval* و *maxval* باشد. در غیر این صورت، یک راهنمایی نمایش داده می‌شود و پنجره‌ی محاوره برای اصلاح باز می‌ماند. عدد ورودی را برمی‌گرداند. اگر پنجره‌ی محاوره لغو شود، ``None`` برگردانده می‌شود. ::" msgid ">>> screen.numinput(\"Poker\", \"Your stakes:\", 1000, minval=10, maxval=10000)" msgstr ">>> screen.numinput(\"Poker\", \"Your stakes:\", 1000, minval=10, maxval=10000)" @@ -2013,20 +1965,14 @@ msgstr ">>> screen.numinput(\"Poker\", \"Your stakes:\", 1000, minval=10, maxval msgid "Settings and special methods" msgstr "تنظیمات و متدهای ویژه" -#, fuzzy -#| msgid "an integer or ``None``" msgid "a string or ``None``" -msgstr "یک عدد صحیح یا ``None``" +msgstr "یک رشته یا ``None``" -#, fuzzy -#| msgid "Set turtle mode (\"standard\", \"logo\" or \"world\") and perform reset. If mode is not given, current mode is returned." msgid "Set the turtle mode and perform a reset. *mode* is one of the strings \"standard\", \"logo\" or \"world\". If *mode* is not given, return the current mode." -msgstr "حالت turtle را (\"standard\"، \"logo\" یا \"world\") تنظیم کنید و بازنشانی را انجام دهید. اگر حالتی داده نشود، حالت کنونی برگردانده می‌شود." +msgstr "حالت turtle را تنظیم کنید و بازنشانی را انجام دهید. *mode* یکی از رشته‌های \"standard\"، \"logo\" یا \"world\" است. اگر حالتی داده نشود، حالت فعلی برگردانده می‌شود." -#, fuzzy -#| msgid "Mode \"standard\" is compatible with old :mod:`!turtle`. Mode \"logo\" is compatible with most Logo turtle graphics. Mode \"world\" uses user-defined \"world coordinates\". **Attention**: in this mode angles appear distorted if ``x/y`` unit-ratio doesn't equal 1." msgid "Mode \"standard\" is compatible with the old :mod:`!turtle` module. Mode \"logo\" is compatible with most Logo turtle graphics. Mode \"world\" uses user-defined world coordinates, see :func:`setworldcoordinates`. In this mode, angles appear distorted if the x and y units are not of equal length." -msgstr "حالت «standard» با ماژول قدیمی :mod:`!turtle` سازگار است. حالت «logo» با بیشتر گرافیک‌های لاک‌پشتی Logo سازگار است. حالت «world» از «مختصات جهان» تعریف‌شده توسط کاربر استفاده می‌کند. **توجه**: در این حالت، اگر نسبت واحد ``x/y`` برابر با ۱ نباشد، زاویه‌ها اعوجاج‌یافته به نظر می‌رسند." +msgstr "حالت \"standard\" با ماژول قدیمی :mod:`!turtle` سازگار است. حالت \"logo\" با بیشتر گرافیک‌های لاک‌پشتی Logo سازگار است. حالت \"world\" از مختصات جهانی تعریف‌شده توسط کاربر استفاده می‌کند، :func:`setworldcoordinates` را ببینید. در این حالت، اگر واحدهای x و y هم‌طول نباشند، زاویه‌ها اعوجاج‌یافته به نظر می‌رسند." msgid "Mode" msgstr "حالت" @@ -2055,24 +2001,17 @@ msgstr "رو به بالا (شمال)" msgid "clockwise" msgstr "در جهت عقربه‌های ساعت" -#, fuzzy -#| msgid "" -#| ">>> mode(\"logo\") # resets turtle heading to north\n" -#| ">>> mode()\n" -#| "'logo'" msgid "" ">>> mode(\"logo\") # resets turtle heading to north\n" ">>> mode()\n" "'logo'" msgstr "" -">>> mode(\"logo\") # resets turtle heading to north\n" +">>> mode(\"logo\") # resets turtle heading to north\n" ">>> mode()\n" "'logo'" -#, fuzzy -#| msgid "Return the colormode or set it to 1.0 or 255. Subsequently *r*, *g*, *b* values of color triples have to be in the range 0..*cmode*." msgid "Return the colormode or set it to 1.0 or 255. After setting it, the *r*, *g* and *b* values of color triples have to be between 0 and *cmode*." -msgstr "colormode را برمی‌گرداند یا آن را روی 1.0 یا 255 تنظیم می‌کند. پس از آن، مقادیر *r*، *g* و *b* در سه‌تایی‌های رنگ باید در بازه‌ی 0..*cmode* باشند." +msgstr "colormode را برمی‌گرداند یا آن را روی 1.0 یا 255 تنظیم می‌کند. پس از آن، مقادیر *r*، *g* و *b* در سه‌تایی‌های رنگ باید بین 0 و *cmode* باشند." msgid "" ">>> screen.colormode(1)\n" @@ -2122,12 +2061,10 @@ msgstr "" "['arrow', 'blank', 'circle', ..., 'turtle']" msgid "a string, a tuple of pairs of numbers, a :class:`Shape` object or ``None``" -msgstr "" +msgstr "یک رشته، یک تاپل از جفت‌های عددی، یک شیء :class:`Shape` یا ``None``" -#, fuzzy -#| msgid "Now add the Shape to the Screen's shapelist and use it:" msgid "Add a turtle shape to the TurtleScreen's shape list. It can be called in four different ways:" -msgstr "اکنون Shape را به shapelistِ Screen اضافه کنید و از آن استفاده کنید:" +msgstr "یک شکل لاک‌پشت به فهرست شکل‌های TurtleScreen اضافه کنید. این تابع می‌تواند به چهار روش مختلف فراخوانی شود:" msgid "*name* is the name of an image file (PNG, GIF, PGM, and PPM) and *shape* is ``None``: Install the corresponding image shape. ::" msgstr "*name* نام یک پرونده تصویری (PNG، GIF، PGM و PPM) است و *shape* برابر ``None`` است: شکل تصویری متناظر نصب می‌شود. ::" @@ -2150,10 +2087,8 @@ msgstr ">>> screen.register_shape(\"triangle\", ((5,-3), (0,5), (-5,-3)))" msgid "*name* is an arbitrary string and *shape* is a (compound) :class:`Shape` object: Install the corresponding compound shape." msgstr "*name* یک رشته دلخواه است و *shape* یک شیء :class:`Shape` (مرکب) است: شکل مرکب متناظر نصب می‌شود." -#, fuzzy -#| msgid "Image shapes *do not* rotate when turning the turtle, so they do not display the heading of the turtle!" msgid "Image shapes do not rotate when turning the turtle, so they do not display the heading of the turtle. To use a registered shape, call :func:`shape` with its name." -msgstr "شکل‌های تصویری هنگام چرخاندن لاک‌پشت *نمی‌چرخند*، بنابراین جهت لاک‌پشت را نمایش نمی‌دهند!" +msgstr "شکل‌های تصویری هنگام چرخاندن لاک‌پشت نمی‌چرخند، بنابراین جهت لاک‌پشت را نمایش نمی‌دهند. برای استفاده از یک شکل ثبت‌شده، :func:`shape` را با نام آن فراخوانی کنید." msgid "Added support for PNG, PGM, and PPM image formats. Both a shape name and an image file name can be specified." msgstr "پشتیبانی از قالب‌های تصویری PNG، PGM و PPM افزوده شد. می‌توان هم نام شکل و هم نام پرونده تصویر را مشخص کرد." @@ -2191,8 +2126,6 @@ msgstr "" msgid "Screen-only methods" msgstr "متدهای مختص Screen" -#, fuzzy -#| msgid "Shut the turtlegraphics window." msgid "Close the turtle graphics window." msgstr "پنجره‌ی گرافیک لاک‌پشتی را ببندید." @@ -2244,10 +2177,8 @@ msgstr "" ">>> screen.setup(width=.75, height=0.5, startx=None, starty=None)\n" ">>> # sets window to 75% of screen by 50% of screen and centers" -#, fuzzy -#| msgid "a string that is shown in the titlebar of the turtle graphics window" msgid "Set the title of the turtle window to *titlestring*. The title is shown in the title bar of the turtle graphics window." -msgstr "رشته‌ای که در نوار عنوان پنجره‌ی گرافیک لاک‌پشتی نمایش داده می‌شود" +msgstr "عنوان پنجره‌ی turtle را روی *titlestring* تنظیم کنید. عنوان در نوار عنوان پنجره‌ی گرافیک لاک‌پشتی نمایش داده می‌شود." msgid ">>> screen.title(\"Welcome to the turtle zoo!\")" msgstr ">>> screen.title(\"Welcome to the turtle zoo!\")" @@ -2271,7 +2202,7 @@ msgid "Provides screen oriented methods like :func:`bgcolor` etc. that are descr msgstr "متدهای صفحه‌محوری مانند :func:`bgcolor` و غیره را فراهم می‌کند که در بالا توضیح داده شده‌اند." msgid "Subclass of :class:`TurtleScreen`, with :ref:`four methods added `. Calling ``Screen()`` returns the single screen object. If it does not exist yet, it is created. Otherwise the existing one is returned." -msgstr "" +msgstr "زیرکلاسی از :class:`TurtleScreen`، با :ref:`چهار متد اضافه‌شده `. فراخوانی ``Screen()`` تنها شیء صفحه را برمی‌گرداند. اگر هنوز وجود نداشته باشد، ایجاد می‌شود. در غیر این صورت شیء موجود برگردانده می‌شود." msgid "some Tkinter widget to contain the ScrolledCanvas, i.e. a Tkinter-canvas with scrollbars added" msgstr "یک ابزارک Tkinter برای دربرگرفتن ScrolledCanvas، یعنی یک بوم Tkinter با نوارهای پیمایش افزوده‌شده" @@ -2280,43 +2211,33 @@ msgid "Used by class Screen, which thus automatically provides a ScrolledCanvas msgstr "توسط کلاس Screen استفاده می‌شود، که بنابراین به‌طور خودکار یک ScrolledCanvas را به‌عنوان زمین بازی برای لاک‌پشت‌ها فراهم می‌کند." msgid "depends on *type_*" -msgstr "" +msgstr "به *type_* بستگی دارد" msgid "Data structure modeling shapes. *type_* is one of the strings \"polygon\", \"image\" or \"compound\". What *data* must be depends on *type_*: for \"polygon\" a tuple of pairs of coordinates, for \"image\" an image (only used internally), and for \"compound\" ``None``, as a compound shape is built up using the :meth:`addcomponent` method." -msgstr "" +msgstr "ساختار داده‌ای که اشکال را مدل‌سازی می‌کند. *type_* یکی از رشته‌های \"polygon\"، \"image\" یا \"compound\" است. اینکه *data* باید چه باشد به *type_* بستگی دارد: برای \"polygon\" یک تاپل از جفت‌های مختصات، برای \"image\" یک تصویر (فقط به‌صورت داخلی استفاده می‌شود)، و برای \"compound\" ``None``، زیرا یک شکل مرکب با استفاده از متد :meth:`addcomponent` ساخته می‌شود." -#, fuzzy -#| msgid "a polygon, i.e. a tuple of pairs of numbers" msgid "a tuple of pairs of numbers" -msgstr "یک چندضلعی، یعنی یک تاپل از جفت‌های عددی" +msgstr "یک تاپل از جفت‌های عددی" msgid "a color" -msgstr "" +msgstr "یک رنگ" -#, fuzzy -#| msgid "a number or ``None``" msgid "a color or ``None``" -msgstr "یک عدد یا ``None``" +msgstr "یک رنگ یا ``None``" msgid "Add a component to a shape of type \"compound\". *poly* is a polygon, a tuple of pairs of numbers. *fill* is the color the polygon is filled with and *outline* is the color of its outline. If *outline* is not given, *fill* is used for it as well." -msgstr "" +msgstr "یک جزء به یک شکل از نوع \"compound\" اضافه کنید. *poly* یک چندضلعی است، یک تاپل از جفت‌های اعداد. *fill* رنگی است که چندضلعی با آن پر می‌شود و *outline* رنگ خط دور آن است. اگر *outline* داده نشده باشد، از *fill* برای آن نیز استفاده می‌شود." msgid "Example:" msgstr "مثال:" -#, fuzzy -#| msgid "" -#| ">>> poly = ((0,0),(10,-5),(0,10),(-10,-5))\n" -#| ">>> s = Shape(\"compound\")\n" -#| ">>> s.addcomponent(poly, \"red\", \"blue\")\n" -#| ">>> # ... add more components and then use register_shape()" msgid "" ">>> poly = ((0,0), (10,-5), (0,10), (-10,-5))\n" ">>> s = Shape(\"compound\")\n" ">>> s.addcomponent(poly, \"red\", \"blue\")\n" ">>> # ... add more components and then use register_shape()" msgstr "" -">>> poly = ((0,0),(10,-5),(0,10),(-10,-5))\n" +">>> poly = ((0,0), (10,-5), (0,10), (-10,-5))\n" ">>> s = Shape(\"compound\")\n" ">>> s.addcomponent(poly, \"red\", \"blue\")\n" ">>> # ... add more components and then use register_shape()" diff --git a/using/configure.po b/using/configure.po index 84608661e..f1f341d51 100644 --- a/using/configure.po +++ b/using/configure.po @@ -14,7 +14,7 @@ msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-10-12 04:25+0000\n" -"PO-Revision-Date: 2026-10-06 20:27+0330\n" +"PO-Revision-Date: 2026-10-15 19:39+0330\n" "Last-Translator: Sepehr Rasouli , 2026\n" "Language-Team: Persian (https://github.com/python/python-docs-fa/)\n" "Language: fa\n" @@ -22,7 +22,7 @@ msgstr "" "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" +"X-Generator: Poedit 3.10\n" msgid "Configure Python" msgstr "پیکربندی پایتون" @@ -937,7 +937,7 @@ msgid "Enable MemorySanitizer allocation error detector, ``msan`` (default is no msgstr "فعال‌سازی آشکارساز خطای تخصیص MemorySanitizer، ``msan`` (پیش‌فرض: خیر)." msgid "MSan reports false positives for memory initialized by libraries that are not built with MSan, so either build all dependencies with MSan or disable the extension modules that use them in :file:`Modules/Setup.local`." -msgstr "" +msgstr "MSan برای حافظه‌ای که توسط کتابخانه‌هایی که با MSan ساخته نشدن مقداردهی اولیه شده، نتایج مثبت کاذب گزارش می‌دهد. بنابراین یا همه‌ی وابستگی‌ها را با MSan بسازید، یا ماژول‌های توسعه‌ای‌ای که از آن‌ها استفاده می‌کنند را در Modules/Setup.local غیرفعال کنید." msgid "Enable UndefinedBehaviorSanitizer undefined behaviour detector, ``ubsan`` (default is no)." msgstr "فعال کردن آشکارساز رفتار تعریف‌نشده UndefinedBehaviorSanitizer، ``ubsan`` (پیش‌فرض: خیر)." From cec9376208503d51d19ae90ded6fae8d8141eac9 Mon Sep 17 00:00:00 2001 From: invincible627 Date: Thu, 15 Oct 2026 20:42:01 +0330 Subject: [PATCH 3/5] Modify line 1944 of file library/turtle.po --- library/turtle.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/turtle.po b/library/turtle.po index c8cc00c5e..eaa15ec88 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -1942,7 +1942,7 @@ msgstr "" ">>> running = False" msgid "Start the event loop by calling Tkinter's :meth:`~tkinter.Misc.mainloop` method. Must be the last statement in a turtle graphics program. Must *not* be used if a script is run from within IDLE in -n mode (see :ref:`idle-no-subprocess`)." -msgstr "حلقه‌ی رویداد را با فراخوانی متد :meth:`~tkinter.Misc.mainloop` از Tkinter آغاز می‌کند. باید آخرین دستور در یک برنامه‌ی گرافیک turtle باشد. اگر یک اسکریپت از داخل IDLE در حالت -n اجرا شود، *نباید* از آن استفاده شود (`:ref:`idle-no-subprocess`` را ببینید)." +msgstr "حلقه‌ی رویداد را با فراخوانی متد :meth:`~tkinter.Misc.mainloop` از Tkinter آغاز می‌کند. باید آخرین دستور در یک برنامه‌ی گرافیک turtle باشد. اگر یک اسکریپت از داخل IDLE در حالت -n اجرا شود، *نباید* از آن استفاده شود (`:ref:`idle-no-subprocess`\ را ببینید)." msgid "Input methods" msgstr "متدهای ورودی" From 4ed31cf0af32b9bec311b3f1b20be5449bae3737 Mon Sep 17 00:00:00 2001 From: invincible627 Date: Thu, 15 Oct 2026 20:49:01 +0330 Subject: [PATCH 4/5] Update turtle.po --- library/turtle.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/turtle.po b/library/turtle.po index eaa15ec88..c8cc00c5e 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -1942,7 +1942,7 @@ msgstr "" ">>> running = False" msgid "Start the event loop by calling Tkinter's :meth:`~tkinter.Misc.mainloop` method. Must be the last statement in a turtle graphics program. Must *not* be used if a script is run from within IDLE in -n mode (see :ref:`idle-no-subprocess`)." -msgstr "حلقه‌ی رویداد را با فراخوانی متد :meth:`~tkinter.Misc.mainloop` از Tkinter آغاز می‌کند. باید آخرین دستور در یک برنامه‌ی گرافیک turtle باشد. اگر یک اسکریپت از داخل IDLE در حالت -n اجرا شود، *نباید* از آن استفاده شود (`:ref:`idle-no-subprocess`\ را ببینید)." +msgstr "حلقه‌ی رویداد را با فراخوانی متد :meth:`~tkinter.Misc.mainloop` از Tkinter آغاز می‌کند. باید آخرین دستور در یک برنامه‌ی گرافیک turtle باشد. اگر یک اسکریپت از داخل IDLE در حالت -n اجرا شود، *نباید* از آن استفاده شود (`:ref:`idle-no-subprocess`` را ببینید)." msgid "Input methods" msgstr "متدهای ورودی" From 6f738468bce805d149ba84bc2b2e89a215b82ae1 Mon Sep 17 00:00:00 2001 From: invincible627 Date: Fri, 16 Oct 2026 16:19:59 +0330 Subject: [PATCH 5/5] Make requested changes to files --- c-api/marshal.po | 2 +- library/turtle.po | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/c-api/marshal.po b/c-api/marshal.po index 5c3271650..97af9c19a 100644 --- a/c-api/marshal.po +++ b/c-api/marshal.po @@ -43,7 +43,7 @@ msgid "This function can fail, in which case it sets the error indicator. Use :c msgstr "این تابع می‌تواند شکست بخورد، که در این صورت نشانگر خطا را تنظیم می‌کند. برای بررسی این موضوع از :c:func:`PyErr_Occurred` استفاده کنید." msgid "In Python 3.15 and earlier, this function does not set the error indicator if writing to *file* fails. The same caveat applies as for :c:func:`PyMarshal_WriteObjectToFile`." -msgstr "در پایتون ۳.۱۵ و قبلتر، این تابع نشانگری برای خطا تنظیم نمی‌کند، اگر نوشتن در *پرونده* شکست بخورد، همان محدودیت مشابه برای :c:func:`PyMarshal_WriteObjectToFile` برقرار است." +msgstr "در پایتون ۳.۱۵ و قبل‌تر، این تابع نشانگری برای خطا تنظیم نمی‌کند، اگر نوشتن در *file* شکست بخورد، همان محدودیت مشابه برای :c:func:`PyMarshal_WriteObjectToFile` برقرار است." msgid "Marshal a Python object, *value*, to *file*. *version* indicates the file format." msgstr "یک شیء پایتون، *value*، را به *file* مارشال کنید. *version* قالب پرونده را مشخص می‌کند." diff --git a/library/turtle.po b/library/turtle.po index c8cc00c5e..3f6ce4e66 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -1942,7 +1942,7 @@ msgstr "" ">>> running = False" msgid "Start the event loop by calling Tkinter's :meth:`~tkinter.Misc.mainloop` method. Must be the last statement in a turtle graphics program. Must *not* be used if a script is run from within IDLE in -n mode (see :ref:`idle-no-subprocess`)." -msgstr "حلقه‌ی رویداد را با فراخوانی متد :meth:`~tkinter.Misc.mainloop` از Tkinter آغاز می‌کند. باید آخرین دستور در یک برنامه‌ی گرافیک turtle باشد. اگر یک اسکریپت از داخل IDLE در حالت -n اجرا شود، *نباید* از آن استفاده شود (`:ref:`idle-no-subprocess`` را ببینید)." +msgstr "حلقه‌ی رویداد را با فراخوانی متد :meth:`~tkinter.Misc.mainloop` از Tkinter آغاز می‌کند. باید آخرین دستور در یک برنامه‌ی گرافیک turtle باشد. اگر یک اسکریپت از داخل IDLE در حالت -n اجرا شود، *نباید* از آن استفاده شود (:ref:`idle-no-subprocess` را ببینید)." msgid "Input methods" msgstr "متدهای ورودی"