Skip to content

Commit 70108d1

Browse files
Update Farsi translations from Transifex
1 parent a0aac62 commit 70108d1

18 files changed

Lines changed: 16936 additions & 16591 deletions

c-api/exceptions.po

Lines changed: 202 additions & 170 deletions
Large diffs are not rendered by default.

c-api/init.po

Lines changed: 392 additions & 408 deletions
Large diffs are not rendered by default.

c-api/typeobj.po

Lines changed: 514 additions & 487 deletions
Large diffs are not rendered by default.

c-api/unicode.po

Lines changed: 38 additions & 27 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-30 14:22+0000\n"
15+
"POT-Creation-Date: 2025-06-13 14:21+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:50+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/"
@@ -2176,10 +2176,10 @@ msgid "Write the single Unicode character *ch* into *writer*."
21762176
msgstr ""
21772177

21782178
#: ../../c-api/unicode.rst:1786 ../../c-api/unicode.rst:1796
2179-
#: ../../c-api/unicode.rst:1808 ../../c-api/unicode.rst:1817
2180-
#: ../../c-api/unicode.rst:1824 ../../c-api/unicode.rst:1831
2181-
#: ../../c-api/unicode.rst:1842 ../../c-api/unicode.rst:1849
2182-
#: ../../c-api/unicode.rst:1868
2179+
#: ../../c-api/unicode.rst:1811 ../../c-api/unicode.rst:1823
2180+
#: ../../c-api/unicode.rst:1832 ../../c-api/unicode.rst:1839
2181+
#: ../../c-api/unicode.rst:1846 ../../c-api/unicode.rst:1857
2182+
#: ../../c-api/unicode.rst:1864 ../../c-api/unicode.rst:1883
21832183
msgid ""
21842184
"On success, return ``0``. On error, set an exception, leave the writer "
21852185
"unchanged, and return ``-1``."
@@ -2191,7 +2191,8 @@ msgid ""
21912191
"*writer*."
21922192
msgstr ""
21932193

2194-
#: ../../c-api/unicode.rst:1793 ../../c-api/unicode.rst:1857
2194+
#: ../../c-api/unicode.rst:1793 ../../c-api/unicode.rst:1805
2195+
#: ../../c-api/unicode.rst:1872
21952196
msgid ""
21962197
"*size* is the string length in bytes. If *size* is equal to ``-1``, call "
21972198
"``strlen(str)`` to get the string length."
@@ -2202,115 +2203,125 @@ msgid "See also :c:func:`PyUnicodeWriter_DecodeUTF8Stateful`."
22022203
msgstr ""
22032204

22042205
#: ../../c-api/unicode.rst:1803
2205-
msgid "Writer the wide string *str* into *writer*."
2206+
msgid "Write the ASCII string *str* into *writer*."
22062207
msgstr ""
22072208

2208-
#: ../../c-api/unicode.rst:1805
2209+
#: ../../c-api/unicode.rst:1808
2210+
msgid ""
2211+
"*str* must only contain ASCII characters. The behavior is undefined if *str* "
2212+
"contains non-ASCII characters."
2213+
msgstr ""
2214+
2215+
#: ../../c-api/unicode.rst:1818
2216+
msgid "Write the wide string *str* into *writer*."
2217+
msgstr ""
2218+
2219+
#: ../../c-api/unicode.rst:1820
22092220
msgid ""
22102221
"*size* is a number of wide characters. If *size* is equal to ``-1``, call "
22112222
"``wcslen(str)`` to get the string length."
22122223
msgstr ""
22132224

2214-
#: ../../c-api/unicode.rst:1813
2225+
#: ../../c-api/unicode.rst:1828
22152226
msgid "Writer the UCS4 string *str* into *writer*."
22162227
msgstr ""
22172228

2218-
#: ../../c-api/unicode.rst:1815
2229+
#: ../../c-api/unicode.rst:1830
22192230
msgid "*size* is a number of UCS4 characters."
22202231
msgstr ""
22212232

2222-
#: ../../c-api/unicode.rst:1822
2233+
#: ../../c-api/unicode.rst:1837
22232234
msgid ""
22242235
"Call :c:func:`PyObject_Str` on *obj* and write the output into *writer*."
22252236
msgstr ""
22262237

2227-
#: ../../c-api/unicode.rst:1829
2238+
#: ../../c-api/unicode.rst:1844
22282239
msgid ""
22292240
"Call :c:func:`PyObject_Repr` on *obj* and write the output into *writer*."
22302241
msgstr ""
22312242

2232-
#: ../../c-api/unicode.rst:1836
2243+
#: ../../c-api/unicode.rst:1851
22332244
msgid "Write the substring ``str[start:end]`` into *writer*."
22342245
msgstr ""
22352246

2236-
#: ../../c-api/unicode.rst:1838
2247+
#: ../../c-api/unicode.rst:1853
22372248
msgid ""
22382249
"*str* must be Python :class:`str` object. *start* must be greater than or "
22392250
"equal to 0, and less than or equal to *end*. *end* must be less than or "
22402251
"equal to *str* length."
22412252
msgstr ""
22422253

2243-
#: ../../c-api/unicode.rst:1847
2254+
#: ../../c-api/unicode.rst:1862
22442255
msgid ""
22452256
"Similar to :c:func:`PyUnicode_FromFormat`, but write the output directly "
22462257
"into *writer*."
22472258
msgstr ""
22482259

2249-
#: ../../c-api/unicode.rst:1854
2260+
#: ../../c-api/unicode.rst:1869
22502261
msgid ""
22512262
"Decode the string *str* from UTF-8 with *errors* error handler and write the "
22522263
"output into *writer*."
22532264
msgstr ""
22542265

2255-
#: ../../c-api/unicode.rst:1860
2266+
#: ../../c-api/unicode.rst:1875
22562267
msgid ""
22572268
"*errors* is an :ref:`error handler <error-handlers>` name, such as "
22582269
"``\"replace\"``. If *errors* is ``NULL``, use the strict error handler."
22592270
msgstr ""
22602271

2261-
#: ../../c-api/unicode.rst:1863
2272+
#: ../../c-api/unicode.rst:1878
22622273
msgid ""
22632274
"If *consumed* is not ``NULL``, set *\\*consumed* to the number of decoded "
22642275
"bytes on success. If *consumed* is ``NULL``, treat trailing incomplete UTF-8 "
22652276
"byte sequences as an error."
22662277
msgstr ""
22672278

2268-
#: ../../c-api/unicode.rst:1871
2279+
#: ../../c-api/unicode.rst:1886
22692280
msgid "See also :c:func:`PyUnicodeWriter_WriteUTF8`."
22702281
msgstr ""
22712282

2272-
#: ../../c-api/unicode.rst:1874
2283+
#: ../../c-api/unicode.rst:1889
22732284
msgid "Deprecated API"
22742285
msgstr ""
22752286

2276-
#: ../../c-api/unicode.rst:1876
2287+
#: ../../c-api/unicode.rst:1891
22772288
msgid "The following API is deprecated."
22782289
msgstr ""
22792290

2280-
#: ../../c-api/unicode.rst:1880
2291+
#: ../../c-api/unicode.rst:1895
22812292
msgid ""
22822293
"This is a typedef of :c:type:`wchar_t`, which is a 16-bit type or 32-bit "
22832294
"type depending on the platform. Please use :c:type:`wchar_t` directly "
22842295
"instead."
22852296
msgstr ""
22862297

2287-
#: ../../c-api/unicode.rst:1884
2298+
#: ../../c-api/unicode.rst:1899
22882299
msgid ""
22892300
"In previous versions, this was a 16-bit type or a 32-bit type depending on "
22902301
"whether you selected a \"narrow\" or \"wide\" Unicode version of Python at "
22912302
"build time."
22922303
msgstr ""
22932304

2294-
#: ../../c-api/unicode.rst:1894
2305+
#: ../../c-api/unicode.rst:1909
22952306
msgid ""
22962307
"Do nothing and return ``0``. This API is kept only for backward "
22972308
"compatibility, but there are no plans to remove it."
22982309
msgstr ""
22992310

2300-
#: ../../c-api/unicode.rst:1900
2311+
#: ../../c-api/unicode.rst:1915
23012312
msgid ""
23022313
"This API does nothing since Python 3.12. Previously, this needed to be "
23032314
"called for each string created using the old API (:c:func:`!"
23042315
"PyUnicode_FromUnicode` or similar)."
23052316
msgstr ""
23062317

2307-
#: ../../c-api/unicode.rst:1908
2318+
#: ../../c-api/unicode.rst:1923
23082319
msgid ""
23092320
"Do nothing and return ``1``. This API is kept only for backward "
23102321
"compatibility, but there are no plans to remove it."
23112322
msgstr ""
23122323

2313-
#: ../../c-api/unicode.rst:1914
2324+
#: ../../c-api/unicode.rst:1929
23142325
msgid ""
23152326
"This API does nothing since Python 3.12. Previously, this could be called to "
23162327
"check if :c:func:`PyUnicode_READY` is necessary."

library/concurrency.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.14\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-05-30 14:22+0000\n"
11+
"POT-Creation-Date: 2025-06-13 14:21+0000\n"
1212
"PO-Revision-Date: 2021-06-28 00:57+0000\n"
1313
"Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/"
1414
"fa/)\n"
@@ -31,6 +31,6 @@ msgid ""
3131
"an overview:"
3232
msgstr ""
3333

34-
#: ../../library/concurrency.rst:27
34+
#: ../../library/concurrency.rst:28
3535
msgid "The following are support modules for some of the above services:"
3636
msgstr ""

library/concurrent.po

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.14\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-05-30 14:22+0000\n"
11+
"POT-Creation-Date: 2025-06-13 14:21+0000\n"
1212
"PO-Revision-Date: 2021-06-28 00:57+0000\n"
1313
"Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/"
1414
"fa/)\n"
@@ -23,9 +23,14 @@ msgid "The :mod:`!concurrent` package"
2323
msgstr ""
2424

2525
#: ../../library/concurrent.rst:4
26-
msgid "Currently, there is only one module in this package:"
26+
msgid "This package contains the following modules:"
2727
msgstr ""
2828

2929
#: ../../library/concurrent.rst:6
3030
msgid ":mod:`concurrent.futures` -- Launching parallel tasks"
3131
msgstr ""
32+
33+
#: ../../library/concurrent.rst:7
34+
msgid ""
35+
":mod:`concurrent.interpreters` -- Multiple interpreters in the same process"
36+
msgstr ""

library/csv.po

Lines changed: 2 additions & 2 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-06-06 14:20+0000\n"
15+
"POT-Creation-Date: 2025-06-13 14:21+0000\n"
1616
"PO-Revision-Date: 2021-06-28 01:03+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/"
@@ -753,7 +753,7 @@ msgid ""
753753
" for row in reader:\n"
754754
" print(row)\n"
755755
" except csv.Error as e:\n"
756-
" sys.exit('file {}, line {}: {}'.format(filename, reader.line_num, e))"
756+
" sys.exit(f'file {filename}, line {reader.line_num}: {e}')"
757757
msgstr ""
758758

759759
#: ../../library/csv.rst:614

0 commit comments

Comments
 (0)