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

Skip to content

Commit 4e6ea77

Browse files
Update translations
1 parent 1bdfb0d commit 4e6ea77

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+334
-309
lines changed

c-api/exceptions.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2024
7+
# Rafael Fontenelle <[email protected]>, 2025
88
#
99
#, fuzzy
1010
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-03 18:16+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1818
"teams/5390/pt_BR/)\n"
1919
"Language: pt_BR\n"

c-api/module.po

Lines changed: 51 additions & 36 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-17 14:51+0000\n"
14+
"POT-Creation-Date: 2025-02-03 18:16+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -59,6 +59,11 @@ msgid ""
5959
"but :attr:`!__name__` are set to ``None``). The caller is responsible for "
6060
"setting a :attr:`~module.__file__` attribute."
6161
msgstr ""
62+
"Retorna um novo objeto de módulo com :attr:`module.__name__` definido como "
63+
"*name*. Os atributos :attr:`!__name__`, :attr:`~module.__doc__`, :attr:"
64+
"`~module.__package__` e :attr:`~module.__loader__` do módulo são preenchidos "
65+
"(todos, exceto :attr:`!__name__`, são definidos como ``None``). O chamador é "
66+
"responsável por definir um atributo :attr:`~module.__file__`."
6267

6368
#: ../../c-api/module.rst:46 ../../c-api/module.rst:272
6469
#: ../../c-api/module.rst:447
@@ -70,6 +75,8 @@ msgid ""
7075
":attr:`~module.__package__` and :attr:`~module.__loader__` are now set to "
7176
"``None``."
7277
msgstr ""
78+
":attr:`~module.__package__` e :attr:`~module.__loader__` agora estão "
79+
"definidos como ``None``."
7380

7481
#: ../../c-api/module.rst:57
7582
msgid ""
@@ -107,6 +114,9 @@ msgid ""
107114
"provide one, or if it is not a string, :exc:`SystemError` is raised and "
108115
"``NULL`` is returned."
109116
msgstr ""
117+
"Retorna o valor :attr:`~module.__name__` do *module*. Se o módulo não "
118+
"fornecer um, ou se não for uma string, :exc:`SystemError` é levantada e "
119+
"``NULL`` é retornado."
110120

111121
#: ../../c-api/module.rst:90
112122
msgid ""
@@ -141,6 +151,10 @@ msgid ""
141151
"a string, raise :exc:`SystemError` and return ``NULL``; otherwise return a "
142152
"reference to a Unicode object."
143153
msgstr ""
154+
"Retorna o nome do arquivo do qual o *module* foi carregado usando o "
155+
"atributo :attr:`~module.__file__` do *module*. Se não estiver definido, ou "
156+
"se não for uma string unicode, levanta :exc:`SystemError` e retorna "
157+
"``NULL``; Caso contrário, retorna uma referência a um objeto Unicode."
144158

145159
#: ../../c-api/module.rst:122
146160
msgid ""
@@ -644,17 +658,11 @@ msgid ""
644658
"On success, return ``0``. On error, raise an exception and return ``-1``."
645659
msgstr ""
646660

647-
#: ../../c-api/module.rst:499
648-
msgid ""
649-
"Return ``-1`` if *value* is ``NULL``. It must be called with an exception "
650-
"raised in this case."
651-
msgstr ""
652-
653-
#: ../../c-api/module.rst:502 ../../c-api/module.rst:559
661+
#: ../../c-api/module.rst:499 ../../c-api/module.rst:560
654662
msgid "Example usage::"
655663
msgstr "Exemplo de uso::"
656664

657-
#: ../../c-api/module.rst:504
665+
#: ../../c-api/module.rst:501
658666
msgid ""
659667
"static int\n"
660668
"add_spam(PyObject *module, int value)\n"
@@ -669,15 +677,22 @@ msgid ""
669677
" }"
670678
msgstr ""
671679

672-
#: ../../c-api/module.rst:516 ../../c-api/module.rst:577
680+
#: ../../c-api/module.rst:513
681+
msgid ""
682+
"To be convenient, the function accepts ``NULL`` *value* with an exception "
683+
"set. In this case, return ``-1`` and just leave the raised exception "
684+
"unchanged."
685+
msgstr ""
686+
687+
#: ../../c-api/module.rst:517 ../../c-api/module.rst:578
673688
msgid ""
674689
"The example can also be written without checking explicitly if *obj* is "
675690
"``NULL``::"
676691
msgstr ""
677692
"O exemplo também pode ser escrito sem verificar explicitamente se *obj* é "
678693
"``NULL``::"
679694

680-
#: ../../c-api/module.rst:519
695+
#: ../../c-api/module.rst:520
681696
msgid ""
682697
"static int\n"
683698
"add_spam(PyObject *module, int value)\n"
@@ -689,13 +704,13 @@ msgid ""
689704
" }"
690705
msgstr ""
691706

692-
#: ../../c-api/module.rst:528 ../../c-api/module.rst:593
707+
#: ../../c-api/module.rst:529 ../../c-api/module.rst:594
693708
msgid ""
694709
"Note that ``Py_XDECREF()`` should be used instead of ``Py_DECREF()`` in this "
695710
"case, since *obj* can be ``NULL``."
696711
msgstr ""
697712

698-
#: ../../c-api/module.rst:531
713+
#: ../../c-api/module.rst:532
699714
msgid ""
700715
"The number of different *name* strings passed to this function should be "
701716
"kept small, usually by only using statically allocated strings as *name*. "
@@ -705,32 +720,32 @@ msgid ""
705720
"internally to create a key object."
706721
msgstr ""
707722

708-
#: ../../c-api/module.rst:544
723+
#: ../../c-api/module.rst:545
709724
msgid ""
710725
"Similar to :c:func:`PyModule_AddObjectRef`, but steals a reference to "
711726
"*value* on success (if it returns ``0``)."
712727
msgstr ""
713728

714-
#: ../../c-api/module.rst:547
729+
#: ../../c-api/module.rst:548
715730
msgid ""
716731
"The new :c:func:`PyModule_AddObjectRef` function is recommended, since it is "
717732
"easy to introduce reference leaks by misusing the :c:func:"
718733
"`PyModule_AddObject` function."
719734
msgstr ""
720735

721-
#: ../../c-api/module.rst:553
736+
#: ../../c-api/module.rst:554
722737
msgid ""
723738
"Unlike other functions that steal references, ``PyModule_AddObject()`` only "
724739
"releases the reference to *value* **on success**."
725740
msgstr ""
726741

727-
#: ../../c-api/module.rst:556
742+
#: ../../c-api/module.rst:557
728743
msgid ""
729744
"This means that its return value must be checked, and calling code must :c:"
730745
"func:`Py_DECREF` *value* manually on error."
731746
msgstr ""
732747

733-
#: ../../c-api/module.rst:561
748+
#: ../../c-api/module.rst:562
734749
msgid ""
735750
"static int\n"
736751
"add_spam(PyObject *module, int value)\n"
@@ -749,7 +764,7 @@ msgid ""
749764
"}"
750765
msgstr ""
751766

752-
#: ../../c-api/module.rst:580
767+
#: ../../c-api/module.rst:581
753768
msgid ""
754769
"static int\n"
755770
"add_spam(PyObject *module, int value)\n"
@@ -765,73 +780,73 @@ msgid ""
765780
"}"
766781
msgstr ""
767782

768-
#: ../../c-api/module.rst:599
783+
#: ../../c-api/module.rst:600
769784
msgid ""
770785
"Add an integer constant to *module* as *name*. This convenience function "
771786
"can be used from the module's initialization function. Return ``-1`` with an "
772787
"exception set on error, ``0`` on success."
773788
msgstr ""
774789

775-
#: ../../c-api/module.rst:603
790+
#: ../../c-api/module.rst:604
776791
msgid ""
777792
"This is a convenience function that calls :c:func:`PyLong_FromLong` and :c:"
778793
"func:`PyModule_AddObjectRef`; see their documentation for details."
779794
msgstr ""
780795

781-
#: ../../c-api/module.rst:609
796+
#: ../../c-api/module.rst:610
782797
msgid ""
783798
"Add a string constant to *module* as *name*. This convenience function can "
784799
"be used from the module's initialization function. The string *value* must "
785800
"be ``NULL``-terminated. Return ``-1`` with an exception set on error, ``0`` "
786801
"on success."
787802
msgstr ""
788803

789-
#: ../../c-api/module.rst:614
804+
#: ../../c-api/module.rst:615
790805
msgid ""
791806
"This is a convenience function that calls :c:func:"
792807
"`PyUnicode_InternFromString` and :c:func:`PyModule_AddObjectRef`; see their "
793808
"documentation for details."
794809
msgstr ""
795810

796-
#: ../../c-api/module.rst:621
811+
#: ../../c-api/module.rst:622
797812
msgid ""
798813
"Add an int constant to *module*. The name and the value are taken from "
799814
"*macro*. For example ``PyModule_AddIntMacro(module, AF_INET)`` adds the int "
800815
"constant *AF_INET* with the value of *AF_INET* to *module*. Return ``-1`` "
801816
"with an exception set on error, ``0`` on success."
802817
msgstr ""
803818

804-
#: ../../c-api/module.rst:629
819+
#: ../../c-api/module.rst:630
805820
msgid "Add a string constant to *module*."
806821
msgstr ""
807822

808-
#: ../../c-api/module.rst:633
823+
#: ../../c-api/module.rst:634
809824
msgid ""
810825
"Add a type object to *module*. The type object is finalized by calling "
811826
"internally :c:func:`PyType_Ready`. The name of the type object is taken from "
812827
"the last component of :c:member:`~PyTypeObject.tp_name` after dot. Return "
813828
"``-1`` with an exception set on error, ``0`` on success."
814829
msgstr ""
815830

816-
#: ../../c-api/module.rst:643
831+
#: ../../c-api/module.rst:644
817832
msgid "Module lookup"
818833
msgstr "Pesquisa por módulos"
819834

820-
#: ../../c-api/module.rst:645
835+
#: ../../c-api/module.rst:646
821836
msgid ""
822837
"Single-phase initialization creates singleton modules that can be looked up "
823838
"in the context of the current interpreter. This allows the module object to "
824839
"be retrieved later with only a reference to the module definition."
825840
msgstr ""
826841

827-
#: ../../c-api/module.rst:649
842+
#: ../../c-api/module.rst:650
828843
msgid ""
829844
"These functions will not work on modules created using multi-phase "
830845
"initialization, since multiple such modules can be created from a single "
831846
"definition."
832847
msgstr ""
833848

834-
#: ../../c-api/module.rst:654
849+
#: ../../c-api/module.rst:655
835850
msgid ""
836851
"Returns the module object that was created from *def* for the current "
837852
"interpreter. This method requires that the module object has been attached "
@@ -840,18 +855,18 @@ msgid ""
840855
"to the interpreter state yet, it returns ``NULL``."
841856
msgstr ""
842857

843-
#: ../../c-api/module.rst:661
858+
#: ../../c-api/module.rst:662
844859
msgid ""
845860
"Attaches the module object passed to the function to the interpreter state. "
846861
"This allows the module object to be accessible via :c:func:"
847862
"`PyState_FindModule`."
848863
msgstr ""
849864

850-
#: ../../c-api/module.rst:664
865+
#: ../../c-api/module.rst:665
851866
msgid "Only effective on modules created using single-phase initialization."
852867
msgstr ""
853868

854-
#: ../../c-api/module.rst:666
869+
#: ../../c-api/module.rst:667
855870
msgid ""
856871
"Python calls ``PyState_AddModule`` automatically after importing a module, "
857872
"so it is unnecessary (but harmless) to call it from module initialization "
@@ -862,17 +877,17 @@ msgid ""
862877
"state updates)."
863878
msgstr ""
864879

865-
#: ../../c-api/module.rst:674 ../../c-api/module.rst:685
880+
#: ../../c-api/module.rst:675 ../../c-api/module.rst:686
866881
msgid "The caller must hold the GIL."
867882
msgstr ""
868883

869-
#: ../../c-api/module.rst:676
884+
#: ../../c-api/module.rst:677
870885
msgid "Return ``-1`` with an exception set on error, ``0`` on success."
871886
msgstr ""
872887
"Retorna ``-1`` com uma exceção definida em caso de erro, ``0`` em caso de "
873888
"sucesso."
874889

875-
#: ../../c-api/module.rst:682
890+
#: ../../c-api/module.rst:683
876891
msgid ""
877892
"Removes the module object created from *def* from the interpreter state. "
878893
"Return ``-1`` with an exception set on error, ``0`` on success."

library/_thread.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2024
7+
# Rafael Fontenelle <[email protected]>, 2025
88
#
99
#, fuzzy
1010
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-03 18:16+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1818
"teams/5390/pt_BR/)\n"
1919
"Language: pt_BR\n"

library/asyncio-eventloop.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2024
7+
# Rafael Fontenelle <[email protected]>, 2025
88
#
99
#, fuzzy
1010
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-03 18:16+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1818
"teams/5390/pt_BR/)\n"
1919
"Language: pt_BR\n"

library/asyncio-policy.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2024
7+
# Rafael Fontenelle <[email protected]>, 2025
88
#
99
#, fuzzy
1010
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-03 18:16+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1818
"teams/5390/pt_BR/)\n"
1919
"Language: pt_BR\n"

library/asyncio-stream.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2024
7+
# Rafael Fontenelle <[email protected]>, 2025
88
#
99
#, fuzzy
1010
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-03 18:16+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1818
"teams/5390/pt_BR/)\n"
1919
"Language: pt_BR\n"

0 commit comments

Comments
 (0)