Skip to content

Commit 2f5dfb7

Browse files
Update Farsi translations from Transifex
1 parent 374745b commit 2f5dfb7

26 files changed

+17373
-17014
lines changed

c-api/allocation.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.14\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2025-05-23 14:20+0000\n"
18+
"POT-Creation-Date: 2025-05-30 14:22+0000\n"
1919
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
2020
"Last-Translator: Danial Behzadi <dani.behzi@ubuntu.com>, 2025\n"
2121
"Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/"
@@ -202,8 +202,8 @@ msgstr ""
202202
"این شی ارزیابی می شود، دسترسی پیدا کند."
203203

204204
#: ../../c-api/allocation.rst:156
205-
msgid ":c:func:`PyModule_Create`"
206-
msgstr ":c:func:`PyModule_Create`"
205+
msgid ":ref:`moduleobjects`"
206+
msgstr ""
207207

208208
#: ../../c-api/allocation.rst:157
209209
msgid "To allocate and create extension modules."

c-api/code.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-05-09 14:19+0000\n"
14+
"POT-Creation-Date: 2025-05-30 14:22+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1616
"Last-Translator: Alireza Shabani (Revisto) <theRevisto@gmail.com>, 2025\n"
1717
"Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/"
@@ -217,7 +217,7 @@ msgstr ""
217217
#: ../../c-api/code.rst:184
218218
msgid ""
219219
"If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked after "
220-
"`co` has been fully initialized. Otherwise, the callback is invoked before "
220+
"*co* has been fully initialized. Otherwise, the callback is invoked before "
221221
"the destruction of *co* takes place, so the prior state of *co* can be "
222222
"inspected."
223223
msgstr ""

c-api/function.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-05-09 14:19+0000\n"
14+
"POT-Creation-Date: 2025-05-30 14:22+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1616
"Last-Translator: Alireza Shabani (Revisto) <theRevisto@gmail.com>, 2025\n"
1717
"Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/"
@@ -205,7 +205,7 @@ msgstr ""
205205
#: ../../c-api/function.rst:171
206206
msgid ""
207207
"If *event* is ``PyFunction_EVENT_CREATE``, then the callback is invoked "
208-
"after `func` has been fully initialized. Otherwise, the callback is invoked "
208+
"after *func* has been fully initialized. Otherwise, the callback is invoked "
209209
"before the modification to *func* takes place, so the prior state of *func* "
210210
"can be inspected. The runtime is permitted to optimize away the creation of "
211211
"function objects when possible. In such cases no event will be emitted. "

c-api/intro.po

Lines changed: 77 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-05-23 14:20+0000\n"
15+
"POT-Creation-Date: 2025-05-30 14:22+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
1717
"Last-Translator: Danial Behzadi <dani.behzi@ubuntu.com>, 2025\n"
1818
"Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/"
@@ -197,15 +197,15 @@ msgstr ""
197197
#: ../../c-api/intro.rst:129
198198
msgid ""
199199
"static struct PyModuleDef spam_module = {\n"
200-
" PyModuleDef_HEAD_INIT,\n"
200+
" .m_base = PyModuleDef_HEAD_INIT,\n"
201201
" .m_name = \"spam\",\n"
202202
" ...\n"
203203
"};\n"
204204
"\n"
205205
"PyMODINIT_FUNC\n"
206206
"PyInit_spam(void)\n"
207207
"{\n"
208-
" return PyModule_Create(&spam_module);\n"
208+
" return PyModuleDef_Init(&spam_module);\n"
209209
"}"
210210
msgstr ""
211211

@@ -1025,6 +1025,80 @@ msgid ""
10251025
"distribution for more detailed information."
10261026
msgstr ""
10271027

1028+
#: ../../c-api/intro.rst:852
1029+
msgid "Recommended third party tools"
1030+
msgstr ""
1031+
1032+
#: ../../c-api/intro.rst:854
1033+
msgid ""
1034+
"The following third party tools offer both simpler and more sophisticated "
1035+
"approaches to creating C, C++ and Rust extensions for Python:"
1036+
msgstr ""
1037+
1038+
#: ../../c-api/intro.rst:857
1039+
msgid "`Cython <https://cython.org/>`_"
1040+
msgstr ""
1041+
1042+
#: ../../c-api/intro.rst:858
1043+
msgid "`cffi <https://cffi.readthedocs.io>`_"
1044+
msgstr ""
1045+
1046+
#: ../../c-api/intro.rst:859
1047+
msgid "`HPy <https://hpyproject.org/>`_"
1048+
msgstr ""
1049+
1050+
#: ../../c-api/intro.rst:860
1051+
msgid "`nanobind <https://github.com/wjakob/nanobind>`_ (C++)"
1052+
msgstr ""
1053+
1054+
#: ../../c-api/intro.rst:861
1055+
msgid "`Numba <https://numba.pydata.org/>`_"
1056+
msgstr ""
1057+
1058+
#: ../../c-api/intro.rst:862
1059+
msgid "`pybind11 <https://pybind11.readthedocs.io/>`_ (C++)"
1060+
msgstr ""
1061+
1062+
#: ../../c-api/intro.rst:863
1063+
msgid "`PyO3 <https://pyo3.rs/>`_ (Rust)"
1064+
msgstr ""
1065+
1066+
#: ../../c-api/intro.rst:864
1067+
msgid "`SWIG <https://www.swig.org>`_"
1068+
msgstr ""
1069+
1070+
#: ../../c-api/intro.rst:866
1071+
msgid ""
1072+
"Using tools such as these can help avoid writing code that is tightly bound "
1073+
"to a particular version of CPython, avoid reference counting errors, and "
1074+
"focus more on your own code than on using the CPython API. In general, new "
1075+
"versions of Python can be supported by updating the tool, and your code will "
1076+
"often use newer and more efficient APIs automatically. Some tools also "
1077+
"support compiling for other implementations of Python from a single set of "
1078+
"sources."
1079+
msgstr ""
1080+
1081+
#: ../../c-api/intro.rst:873
1082+
msgid ""
1083+
"These projects are not supported by the same people who maintain Python, and "
1084+
"issues need to be raised with the projects directly. Remember to check that "
1085+
"the project is still maintained and supported, as the list above may become "
1086+
"outdated."
1087+
msgstr ""
1088+
1089+
#: ../../c-api/intro.rst:880
1090+
msgid ""
1091+
"`Python Packaging User Guide: Binary Extensions <https://packaging.python."
1092+
"org/guides/packaging-binary-extensions/>`_"
1093+
msgstr ""
1094+
1095+
#: ../../c-api/intro.rst:881
1096+
msgid ""
1097+
"The Python Packaging User Guide not only covers several available tools that "
1098+
"simplify the creation of binary extensions, but also discusses the various "
1099+
"reasons why creating an extension module may be desirable in the first place."
1100+
msgstr ""
1101+
10281102
#: ../../c-api/intro.rst:298
10291103
msgid "object"
10301104
msgstr ""

c-api/typeobj.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-05-23 14:20+0000\n"
15+
"POT-Creation-Date: 2025-05-30 14:22+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1717
"Last-Translator: Alireza Shabani (Revisto) <theRevisto@gmail.com>, 2025\n"
1818
"Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/"
@@ -2273,8 +2273,9 @@ msgstr ""
22732273

22742274
#: ../../c-api/typeobj.rst:1241
22752275
msgid ""
2276-
"This bit indicates that instances of the class have a `~object.__dict__` "
2277-
"attribute, and that the space for the dictionary is managed by the VM."
2276+
"This bit indicates that instances of the class have a :attr:`~object."
2277+
"__dict__` attribute, and that the space for the dictionary is managed by the "
2278+
"VM."
22782279
msgstr ""
22792280

22802281
#: ../../c-api/typeobj.rst:1244

0 commit comments

Comments
 (0)