Skip to content

Commit 8fff84a

Browse files
Translate six new strings from the CPython sync (ctypes, configure, turtle, slice) (#79)
* Translate six new strings from the CPython sync One ctypes note, two configure strings (OpenSSL paragraph, [6]_ citation kept as-is per existing precedent), two turtle strings (image alt text, Screen heading), and the new slice constraint sentence. Closes #78
1 parent bfceecb commit 8fff84a

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎c-api/slice.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ msgid "Adjust start/end slice indices assuming a sequence of the specified lengt
9797
msgstr "اندیس‌های شروع/پایان اسلایس را با فرض دنباله‌ای به طول مشخص‌شده تنظیم می‌کند. اندیس‌های خارج از محدوده به شکلی سازگار با نحوه‌ی برخورد با اسلایس‌های معمولی محدود می‌شوند."
9898

9999
msgid "*length* must not be negative. *step* must not be zero and must not be less than ``-PY_SSIZE_T_MAX``, as guaranteed by :c:func:`PySlice_Unpack`."
100-
msgstr ""
100+
msgstr "*length* نباید منفی باشد. *step* نباید صفر باشد و نباید کمتر از ``-PY_SSIZE_T_MAX`` باشد؛ این موضوع توسط :c:func:`PySlice_Unpack` تضمین شده است."
101101

102102
msgid "Return the length of the slice. Always successful. Doesn't call Python code."
103103
msgstr "طول اسلایس را برمی‌گرداند. همیشه موفق است. کد پایتون را فراخوانی نمی‌کند."

‎library/ctypes.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2352,7 +2352,7 @@ msgid "An instance of :class:`PyDLL` that exposes Python C API functions as attr
23522352
msgstr "نمونه‌ای از :class:`PyDLL` که توابع Python C API را به‌عنوان ویژگی‌ها در دسترس قرار می‌دهد. توجه داشته باشید که فرض می‌شود همه‌ی این توابع مقداری از نوع C :c:expr:`int` را برمی‌گردانند، که البته همیشه درست نیست، بنابراین برای استفاده از این توابع باید ویژگی :attr:`!restype` صحیح را اختصاص دهید."
23532353

23542354
msgid "Note that if the Python interpreter is statically linked, this will be ``None``, as ``dlopen`` is not possible in this case."
2355-
msgstr ""
2355+
msgstr "توجه داشته باشید که اگر مفسر پایتون به‌صورت ایستا پیوند شده باشد، این مقدار ``None`` خواهد بود، زیرا در این حالت ``dlopen`` ممکن نیست."
23562356

23572357
msgid "Loading a library through any of these objects raises an :ref:`auditing event <auditing>` ``ctypes.dlopen`` with string argument ``name``, the name used to load the library."
23582358
msgstr "بارگذاری یک کتابخانه از طریق هر یک از این اشیاء، یک :ref:`رویداد حسابرسی <auditing>` ``ctypes.dlopen`` را با آرگومان رشته‌ای ``name``، نام استفاده‌شده برای بارگذاری کتابخانه، پرتاب می‌کند."

‎library/turtle.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ msgid "Turtle can draw intricate shapes using programs that repeat simple moves.
3434
msgstr "Turtle می‌تواند با استفاده از برنامه‌هایی که حرکات ساده را تکرار می‌کنند، شکل‌های پیچیده‌ای رسم کند."
3535

3636
msgid "A yellow starburst of thin spikes with a red outline, drawn by turtle."
37-
msgstr ""
37+
msgstr "یک ستاره‌ی زرد با پره‌های باریک و حاشیه‌ی قرمز که با turtle رسم شده است."
3838

3939
msgid "Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an ``import turtle``, give it the command ``turtle.forward(15)``, and it moves (on-screen!) 15 pixels in the direction it is facing, drawing a line as it moves. Give it the command ``turtle.right(25)``, and it rotates in-place 25 degrees clockwise."
4040
msgstr "یک لاک‌پشت رباتی را تصور کنید که در مختصات (۰، ۰) در صفحه x-y آغاز می‌کند. پس از یک ``import turtle``، به آن دستور ``turtle.forward(15)`` را بدهید، و آن ۱۵ پیکسل در جهت رو به روی خود حرکت می‌کند (روی صفحه!)، و در حین حرکت یک سطر می‌کشد. به آن دستور ``turtle.right(25)`` را بدهید، و آن ۲۵ درجه در جهت عقربه‌های ساعت در جای خود می‌چرخد."
@@ -1667,7 +1667,7 @@ msgid "The :class:`Shape` class is used internally by the :func:`register_shape`
16671667
msgstr "کلاس :class:`Shape` به‌صورت داخلی توسط متد :func:`register_shape` به روش‌های مختلفی استفاده می‌شود. برنامه‌نویس برنامه *فقط* هنگام استفاده از شکل‌های ترکیبی مانند آنچه در بالا نشان داده شد، باید با کلاس Shape سروکار داشته باشد!"
16681668

16691669
msgid "Screen methods and functions"
1670-
msgstr ""
1670+
msgstr "متدها و توابع Screen"
16711671

16721672
msgid "Most of the examples in this section refer to a TurtleScreen instance called ``screen``."
16731673
msgstr "بیشتر مثال‌های این بخش به یک نمونه از TurtleScreen به نام ``screen`` اشاره می‌کنند."

‎using/configure.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ msgid "`OpenSSL <https://openssl-library.org/>`_"
134134
msgstr "`OpenSSL <https://openssl-library.org/>`_"
135135

136136
msgid "[6]_"
137-
msgstr ""
137+
msgstr "[6]_"
138138

139139
msgid ":mod:`ssl`, :mod:`hashlib` [5]_"
140140
msgstr ":mod:`ssl`, :mod:`hashlib` [5]_"
@@ -191,7 +191,7 @@ msgid "If OpenSSL is not available, the :mod:`hashlib` module will use bundled i
191191
msgstr "اگر OpenSSL در دسترس نباشد، ماژول :mod:`hashlib` از پیاده‌سازی‌های همراه برای چندین تابع هش استفاده خواهد کرد. برای *اجبار* به استفاده از OpenSSL، به :option:`--with-builtin-hashlib-hashes` مراجعه کنید."
192192

193193
msgid "OpenSSL 1.1.1 is the minimum possible version to build against, but the series is end-of-life and no longer receives public security fixes. Use the latest patch release of a currently supported LTS release series (see the `OpenSSL Roadmap <https://openssl-library.org/roadmap/index.html>`__), or the package provided by your operating system if available. Other libraries that offer an API compatible with OpenSSL 1.1.1 or later may work, but are not officially supported."
194-
msgstr ""
194+
msgstr "OpenSSL 1.1.1 حداقل نسخهی ممکن برای ساخت بر مبنای آن است، اما این سری به پایان عمر خود رسیده و دیگر وصلههای امنیتی عمومی دریافت نمیکند. از آخرین نسخهی وصل یکی از سریهای LTS که هماکنون پشتیبانی میشوند استفاده کنید (`نقشهی راه OpenSSL <https://openssl-library.org/roadmap/index.html>`__ را ببینید)، یا در صورت موجود بودن از بستهی ارائهشده توسط سیستمعامل خود استفاده کنید. سایر کتابخانههایی که API سازگار با OpenSSL 1.1.1 یا جدیدتر ارائه میدهند ممکن است کار کنند، اما بهصورت رسمی پشتیبانی نمیشوند."
195195

196196
msgid "Note that the table does not include all optional modules; in particular, platform-specific modules like :mod:`winreg` are not listed here."
197197
msgstr "توجه داشته باشید که این جدول شامل تمام ماژول‌های اختیاری نیست؛ به‌طور خاص، ماژول‌های مخصوص پلتفرم مانند :mod:`winreg` در اینجا فهرست نشده‌اند."

0 commit comments

Comments
 (0)