Skip to content

Commit 0f76204

Browse files
committed
Translation of the bool file in the c-api folder
1 parent 258ffb8 commit 0f76204

1 file changed

Lines changed: 19 additions & 5 deletions

File tree

c-api/bool.po

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#: ../../c-api/bool.rst:6
2222
msgid "Boolean Objects"
23-
msgstr ""
23+
msgstr "اشیاء بولی"
2424

2525
#: ../../c-api/bool.rst:8
2626
msgid ""
@@ -29,49 +29,63 @@ msgid ""
2929
"normal creation and deletion functions don't apply to booleans. The "
3030
"following macros are available, however."
3131
msgstr ""
32+
"مقدارهای بولین (Boolean) در پایتون به‌عنوان زیرکلاسی از اعداد صحیح پیاده‌سازی شده‌اند. "
33+
"تنها دو مقدار بولین وجود دارد: :c:data:`Py_False` و :c:data:`Py_True`. بنابراین، "
34+
"توابع معمول ایجاد و حذف برای مقدارهای بولین کاربرد ندارند. با این حال، "
35+
"ماکروهای زیر در دسترس هستند."
3236

3337
#: ../../c-api/bool.rst:16
3438
msgid ""
3539
"This instance of :c:type:`PyTypeObject` represents the Python boolean type; "
3640
"it is the same object as :class:`bool` in the Python layer."
3741
msgstr ""
42+
"این نمونه از :c:type:`PyTypeObject` نوع داده‌ی بولین پایتون را نشان می‌دهد؛ "
43+
"این همان شیء‌ای است که در لایه‌ی پایتون با نام :class:`bool` شناخته می‌شود."
3844

3945
#: ../../c-api/bool.rst:22
4046
msgid ""
4147
"Return true if *o* is of type :c:data:`PyBool_Type`. This function always "
4248
"succeeds."
4349
msgstr ""
50+
"اگر *o* از نوع :c:data:`PyBool_Type` باشد، مقدار ``true`` را برمی‌گرداند. "
51+
"این تابع همیشه با موفقیت اجرا می‌شود."
4452

4553
#: ../../c-api/bool.rst:28
4654
msgid ""
4755
"The Python ``False`` object. This object has no methods and "
4856
"is :term:`immortal`."
4957
msgstr ""
58+
"شیء ``False`` در پایتون. این شیء هیچ متدی ندارد و "
59+
":term:`جاودان (immortal)` است."
5060

5161
#: ../../c-api/bool.rst:31
5262
msgid ":c:data:`Py_False` is :term:`immortal`."
53-
msgstr ""
63+
msgstr ":c:data:`Py_False` :term:`جاودان (immortal)` است."
5464

5565
#: ../../c-api/bool.rst:37
5666
msgid ""
5767
"The Python ``True`` object. This object has no methods and "
5868
"is :term:`immortal`."
5969
msgstr ""
70+
"شیء ``True`` در پایتون. این شیء هیچ متدی ندارد و "
71+
":term:`جاودان (immortal)` است."
6072

6173
#: ../../c-api/bool.rst:40
6274
msgid ":c:data:`Py_True` is :term:`immortal`."
63-
msgstr ""
75+
msgstr ":c:data:`Py_True` :term:`جاودان (immortal)` است."
6476

6577
#: ../../c-api/bool.rst:46
6678
msgid "Return :c:data:`Py_False` from a function."
67-
msgstr ""
79+
msgstr ":c:data:`Py_False` را از یک تابع برگردانید."
6880

6981
#: ../../c-api/bool.rst:51
7082
msgid "Return :c:data:`Py_True` from a function."
71-
msgstr ""
83+
msgstr ":c:data:`Py_True` را از یک تابع برگردانید."
7284

7385
#: ../../c-api/bool.rst:56
7486
msgid ""
7587
"Return :c:data:`Py_True` or :c:data:`Py_False`, depending on the truth value "
7688
"of *v*."
7789
msgstr ""
90+
":c:data:`Py_True` یا :c:data:`Py_False` را، بسته به مقدار صحت (truth value) "
91+
"*v*، برگردانید."

0 commit comments

Comments
 (0)