Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b9bb852

Browse files
Update translations
1 parent 9c5839b commit b9bb852

28 files changed

+1028
-940
lines changed

c-api/init.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-01-17 14:51+0000\n"
15+
"POT-Creation-Date: 2025-02-14 14:53+0000\n"
1616
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1717
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -844,10 +844,11 @@ msgstr ""
844844
"programa. Nenhum código no interpretador Python mudará o conteúdo deste "
845845
"armazenamento."
846846

847-
#: ../../c-api/init.rst:494
847+
#: ../../c-api/init.rst:494 ../../c-api/init.rst:760 ../../c-api/init.rst:796
848+
#: ../../c-api/init.rst:822
848849
msgid ""
849850
"Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a :c:expr:"
850-
"`wchar_t *` string."
851+
"`wchar_t*` string."
851852
msgstr ""
852853

853854
#: ../../c-api/init.rst:504
@@ -977,8 +978,7 @@ msgid ""
977978
"required after calling :c:func:`Py_Initialize`."
978979
msgstr ""
979980

980-
#: ../../c-api/init.rst:645 ../../c-api/init.rst:760 ../../c-api/init.rst:796
981-
#: ../../c-api/init.rst:822
981+
#: ../../c-api/init.rst:645
982982
msgid ""
983983
"Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a :c:expr:"
984984
"`wchar_*` string."

c-api/typeobj.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-01-10 14:49+0000\n"
14+
"POT-Creation-Date: 2025-02-14 14:53+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -2930,8 +2930,8 @@ msgstr ""
29302930

29312931
#: ../../c-api/typeobj.rst:1824
29322932
msgid ""
2933-
"It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` bit "
2934-
"and :c:member:`~PyTypeObject.tp_dictoffset`."
2933+
"It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_DICT` bit and :c:"
2934+
"member:`~PyTypeObject.tp_dictoffset`."
29352935
msgstr ""
29362936

29372937
#: ../../c-api/typeobj.rst:1829

c-api/unicode.po

Lines changed: 43 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-01-24 14:52+0000\n"
14+
"POT-Creation-Date: 2025-02-14 14:53+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -1609,44 +1609,50 @@ msgid ""
16091609
"will be stored in *consumed*."
16101610
msgstr ""
16111611

1612-
#: ../../c-api/unicode.rst:1335
1612+
#: ../../c-api/unicode.rst:1336
1613+
msgid ""
1614+
"Similar to :c:func:`PyUnicode_DecodeMBCSStateful`, except uses the code page "
1615+
"specified by *code_page*."
1616+
msgstr ""
1617+
1618+
#: ../../c-api/unicode.rst:1342
16131619
msgid ""
16141620
"Encode a Unicode object using MBCS and return the result as Python bytes "
16151621
"object. Error handling is \"strict\". Return ``NULL`` if an exception was "
16161622
"raised by the codec."
16171623
msgstr ""
16181624

1619-
#: ../../c-api/unicode.rst:1342
1625+
#: ../../c-api/unicode.rst:1349
16201626
msgid ""
16211627
"Encode the Unicode object using the specified code page and return a Python "
16221628
"bytes object. Return ``NULL`` if an exception was raised by the codec. Use :"
16231629
"c:macro:`!CP_ACP` code page to get the MBCS encoder."
16241630
msgstr ""
16251631

1626-
#: ../../c-api/unicode.rst:1350
1632+
#: ../../c-api/unicode.rst:1357
16271633
msgid "Methods & Slots"
16281634
msgstr ""
16291635

1630-
#: ../../c-api/unicode.rst:1356
1636+
#: ../../c-api/unicode.rst:1363
16311637
msgid "Methods and Slot Functions"
16321638
msgstr ""
16331639

1634-
#: ../../c-api/unicode.rst:1358
1640+
#: ../../c-api/unicode.rst:1365
16351641
msgid ""
16361642
"The following APIs are capable of handling Unicode objects and strings on "
16371643
"input (we refer to them as strings in the descriptions) and return Unicode "
16381644
"objects or integers as appropriate."
16391645
msgstr ""
16401646

1641-
#: ../../c-api/unicode.rst:1362
1647+
#: ../../c-api/unicode.rst:1369
16421648
msgid "They all return ``NULL`` or ``-1`` if an exception occurs."
16431649
msgstr ""
16441650

1645-
#: ../../c-api/unicode.rst:1367
1651+
#: ../../c-api/unicode.rst:1374
16461652
msgid "Concat two strings giving a new Unicode string."
16471653
msgstr ""
16481654

1649-
#: ../../c-api/unicode.rst:1372
1655+
#: ../../c-api/unicode.rst:1379
16501656
msgid ""
16511657
"Split a string giving a list of Unicode strings. If *sep* is ``NULL``, "
16521658
"splitting will be done at all whitespace substrings. Otherwise, splits "
@@ -1655,27 +1661,27 @@ msgid ""
16551661
"list."
16561662
msgstr ""
16571663

1658-
#: ../../c-api/unicode.rst:1380
1664+
#: ../../c-api/unicode.rst:1387
16591665
msgid ""
16601666
"Split a Unicode string at line breaks, returning a list of Unicode strings. "
16611667
"CRLF is considered to be one line break. If *keepends* is ``0``, the Line "
16621668
"break characters are not included in the resulting strings."
16631669
msgstr ""
16641670

1665-
#: ../../c-api/unicode.rst:1387
1671+
#: ../../c-api/unicode.rst:1394
16661672
msgid ""
16671673
"Join a sequence of strings using the given *separator* and return the "
16681674
"resulting Unicode string."
16691675
msgstr ""
16701676

1671-
#: ../../c-api/unicode.rst:1394
1677+
#: ../../c-api/unicode.rst:1401
16721678
msgid ""
16731679
"Return ``1`` if *substr* matches ``unicode[start:end]`` at the given tail "
16741680
"end (*direction* == ``-1`` means to do a prefix match, *direction* == ``1`` "
16751681
"a suffix match), ``0`` otherwise. Return ``-1`` if an error occurred."
16761682
msgstr ""
16771683

1678-
#: ../../c-api/unicode.rst:1402
1684+
#: ../../c-api/unicode.rst:1409
16791685
msgid ""
16801686
"Return the first position of *substr* in ``unicode[start:end]`` using the "
16811687
"given *direction* (*direction* == ``1`` means to do a forward search, "
@@ -1684,7 +1690,7 @@ msgid ""
16841690
"``-2`` indicates that an error occurred and an exception has been set."
16851691
msgstr ""
16861692

1687-
#: ../../c-api/unicode.rst:1412
1693+
#: ../../c-api/unicode.rst:1419
16881694
msgid ""
16891695
"Return the first position of the character *ch* in ``unicode[start:end]`` "
16901696
"using the given *direction* (*direction* == ``1`` means to do a forward "
@@ -1694,89 +1700,89 @@ msgid ""
16941700
"set."
16951701
msgstr ""
16961702

1697-
#: ../../c-api/unicode.rst:1420
1703+
#: ../../c-api/unicode.rst:1427
16981704
msgid ""
16991705
"*start* and *end* are now adjusted to behave like ``unicode[start:end]``."
17001706
msgstr ""
17011707

1702-
#: ../../c-api/unicode.rst:1427
1708+
#: ../../c-api/unicode.rst:1434
17031709
msgid ""
17041710
"Return the number of non-overlapping occurrences of *substr* in "
17051711
"``unicode[start:end]``. Return ``-1`` if an error occurred."
17061712
msgstr ""
17071713

1708-
#: ../../c-api/unicode.rst:1434
1714+
#: ../../c-api/unicode.rst:1441
17091715
msgid ""
17101716
"Replace at most *maxcount* occurrences of *substr* in *unicode* with "
17111717
"*replstr* and return the resulting Unicode object. *maxcount* == ``-1`` "
17121718
"means replace all occurrences."
17131719
msgstr ""
17141720

1715-
#: ../../c-api/unicode.rst:1441
1721+
#: ../../c-api/unicode.rst:1448
17161722
msgid ""
17171723
"Compare two strings and return ``-1``, ``0``, ``1`` for less than, equal, "
17181724
"and greater than, respectively."
17191725
msgstr ""
17201726

1721-
#: ../../c-api/unicode.rst:1444
1727+
#: ../../c-api/unicode.rst:1451
17221728
msgid ""
17231729
"This function returns ``-1`` upon failure, so one should call :c:func:"
17241730
"`PyErr_Occurred` to check for errors."
17251731
msgstr ""
17261732

1727-
#: ../../c-api/unicode.rst:1450
1733+
#: ../../c-api/unicode.rst:1457
17281734
msgid ""
17291735
"Compare a Unicode object, *unicode*, with *string* and return ``-1``, ``0``, "
17301736
"``1`` for less than, equal, and greater than, respectively. It is best to "
17311737
"pass only ASCII-encoded strings, but the function interprets the input "
17321738
"string as ISO-8859-1 if it contains non-ASCII characters."
17331739
msgstr ""
17341740

1735-
#: ../../c-api/unicode.rst:1455
1741+
#: ../../c-api/unicode.rst:1462
17361742
msgid "This function does not raise exceptions."
17371743
msgstr ""
17381744

1739-
#: ../../c-api/unicode.rst:1460
1745+
#: ../../c-api/unicode.rst:1467
17401746
msgid "Rich compare two Unicode strings and return one of the following:"
17411747
msgstr ""
17421748

1743-
#: ../../c-api/unicode.rst:1462
1749+
#: ../../c-api/unicode.rst:1469
17441750
msgid "``NULL`` in case an exception was raised"
17451751
msgstr ""
17461752

1747-
#: ../../c-api/unicode.rst:1463
1753+
#: ../../c-api/unicode.rst:1470
17481754
msgid ":c:data:`Py_True` or :c:data:`Py_False` for successful comparisons"
17491755
msgstr ""
17501756

1751-
#: ../../c-api/unicode.rst:1464
1757+
#: ../../c-api/unicode.rst:1471
17521758
msgid ":c:data:`Py_NotImplemented` in case the type combination is unknown"
17531759
msgstr ""
17541760

1755-
#: ../../c-api/unicode.rst:1466
1761+
#: ../../c-api/unicode.rst:1473
17561762
msgid ""
17571763
"Possible values for *op* are :c:macro:`Py_GT`, :c:macro:`Py_GE`, :c:macro:"
17581764
"`Py_EQ`, :c:macro:`Py_NE`, :c:macro:`Py_LT`, and :c:macro:`Py_LE`."
17591765
msgstr ""
17601766

1761-
#: ../../c-api/unicode.rst:1472
1767+
#: ../../c-api/unicode.rst:1479
17621768
msgid ""
17631769
"Return a new string object from *format* and *args*; this is analogous to "
17641770
"``format % args``."
17651771
msgstr ""
17661772

1767-
#: ../../c-api/unicode.rst:1478
1773+
#: ../../c-api/unicode.rst:1485
17681774
msgid ""
17691775
"Check whether *substr* is contained in *unicode* and return true or false "
17701776
"accordingly."
17711777
msgstr ""
17721778

1773-
#: ../../c-api/unicode.rst:1481
1779+
#: ../../c-api/unicode.rst:1488
17741780
msgid ""
17751781
"*substr* has to coerce to a one element Unicode string. ``-1`` is returned "
17761782
"if there was an error."
17771783
msgstr ""
17781784

1779-
#: ../../c-api/unicode.rst:1487
1785+
#: ../../c-api/unicode.rst:1494
17801786
msgid ""
17811787
"Intern the argument :c:expr:`*p_unicode` in place. The argument must be the "
17821788
"address of a pointer variable pointing to a Python Unicode string object. "
@@ -1787,47 +1793,47 @@ msgid ""
17871793
"interns it."
17881794
msgstr ""
17891795

1790-
#: ../../c-api/unicode.rst:1494
1796+
#: ../../c-api/unicode.rst:1501
17911797
msgid ""
17921798
"(Clarification: even though there is a lot of talk about references, think "
17931799
"of this function as reference-neutral. You must own the object you pass in; "
17941800
"after the call you no longer own the passed-in reference, but you newly own "
17951801
"the result.)"
17961802
msgstr ""
17971803

1798-
#: ../../c-api/unicode.rst:1499
1804+
#: ../../c-api/unicode.rst:1506
17991805
msgid ""
18001806
"This function never raises an exception. On error, it leaves its argument "
18011807
"unchanged without interning it."
18021808
msgstr ""
18031809

1804-
#: ../../c-api/unicode.rst:1502
1810+
#: ../../c-api/unicode.rst:1509
18051811
msgid ""
18061812
"Instances of subclasses of :py:class:`str` may not be interned, that is, :c:"
18071813
"expr:`PyUnicode_CheckExact(*p_unicode)` must be true. If it is not, then -- "
18081814
"as with any other error -- the argument is left unchanged."
18091815
msgstr ""
18101816

1811-
#: ../../c-api/unicode.rst:1506
1817+
#: ../../c-api/unicode.rst:1513
18121818
msgid ""
18131819
"Note that interned strings are not “immortal”. You must keep a reference to "
18141820
"the result to benefit from interning."
18151821
msgstr ""
18161822

1817-
#: ../../c-api/unicode.rst:1512
1823+
#: ../../c-api/unicode.rst:1519
18181824
msgid ""
18191825
"A combination of :c:func:`PyUnicode_FromString` and :c:func:"
18201826
"`PyUnicode_InternInPlace`, meant for statically allocated strings."
18211827
msgstr ""
18221828

1823-
#: ../../c-api/unicode.rst:1515
1829+
#: ../../c-api/unicode.rst:1522
18241830
msgid ""
18251831
"Return a new (\"owned\") reference to either a new Unicode string object "
18261832
"that has been interned, or an earlier interned string object with the same "
18271833
"value."
18281834
msgstr ""
18291835

1830-
#: ../../c-api/unicode.rst:1519
1836+
#: ../../c-api/unicode.rst:1526
18311837
msgid ""
18321838
"Python may keep a reference to the result, or prevent it from being garbage-"
18331839
"collected promptly. For interning an unbounded number of different strings, "

0 commit comments

Comments
 (0)