8000 Update translations from Transifex · python/python-docs-pt-br@1c16441 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1c16441

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent e6a8622 commit 1c16441

File tree

8 files changed

+803
-800
lines changed

8 files changed

+803
-800
lines changed

howto/gdb_helpers.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
13-
"Project-Id-Version: Python 3.12\n"
13+
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-02-25 01:09+0000\n"
15+
"POT-Creation-Date: 2024-05-17 14:15+0000\n"
1616
"PO-Revision-Date: 2024-02-25 01:11+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"

library/dataclasses.po

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.13\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2024-05-11 02:33+0000\n"
19+
"POT-Creation-Date: 2024-05-17 14:15+0000\n"
2020
"PO-Revision-Date: 2021-06-28 01:03+0000\n"
2121
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
2222
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -784,14 +784,15 @@ msgstr ""
784784
msgid ""
785785
"There is a tiny performance penalty when using ``frozen=True``: :meth:"
786786
"`~object.__init__` cannot use simple assignment to initialize fields, and "
787-
"must use :meth:`!__setattr__`."
787+
"must use :meth:`!object.__setattr__`. .. Make sure to not remove \"object\" "
788+
"from \"object.__setattr__\" in the above markup"
788789
msgstr ""
789790

790-
#: ../../library/dataclasses.rst:623
791+
#: ../../library/dataclasses.rst:624
791792
msgid "Inheritance"
792793
msgstr "Herança"
793794

794-
#: ../../library/dataclasses.rst:625
795+
#: ../../library/dataclasses.rst:626
795796
msgid ""
796797
"When the dataclass is being created by the :func:`@dataclass <dataclass>` "
797798
"decorator, it looks through all of the class's base classes in reverse MRO "
@@ -803,67 +804,67 @@ msgid ""
803804
"order, derived classes override base classes. An example::"
804805
msgstr ""
805806

806-
#: ../../library/dataclasses.rst:645
807+
#: ../../library/dataclasses.rst:646
807808
msgid ""
808809
"The final list of fields is, in order, :attr:`!x`, :attr:`!y`, :attr:`!z`. "
809810
"The final type of :attr:`!x` is :class:`int`, as specified in class :class:`!"
810811
"C`."
811812
msgstr ""
812813

813-
#: ../../library/dataclasses.rst:648
814+
#: ../../library/dataclasses.rst:649
814815
msgid ""
815816
"The generated :meth:`~object.__init__` method for :class:`!C` will look "
816817
"like::"
817818
msgstr ""
818819
< 9E7A br>
819-
#: ../../library/dataclasses.rst:653
820+
#: ../../library/dataclasses.rst:654
820821
msgid "Re-ordering of keyword-only parameters in :meth:`!__init__`"
821822
msgstr ""
822823

823-
#: ../../library/dataclasses.rst:655
824+
#: ../../library/dataclasses.rst:656
824825
msgid ""
825826
"After the parameters needed for :meth:`~object.__init__` are computed, any "
826827
"keyword-only parameters are moved to come after all regular (non-keyword-"
827828
"only) parameters. This is a requirement of how keyword-only parameters are "
828829
"implemented in Python: they must come after non-keyword-only parameters."
829830
msgstr ""
830831

831-
#: ../../library/dataclasses.rst:661
832+
#: ../../library/dataclasses.rst:662
832833
msgid ""
833834
"In this example, :attr:`!Base.y`, :attr:`!Base.w`, and :attr:`!D.t` are "
834835
"keyword-only fields, and :attr:`!Base.x` and :attr:`!D.z` are regular "
835836
"fields::"
836837
msgstr ""
837838

838-
#: ../../library/dataclasses.rst:676
839+
#: ../../library/dataclasses.rst:677
839840
msgid "The generated :meth:`!__init__` method for :class:`!D` will look like::"
840841
msgstr ""
841842

842-
#: ../../library/dataclasses.rst:680
843+
#: ../../library/dataclasses.rst:681
843844
msgid ""
844845
"Note that the parameters have been re-ordered from how they appear in the "
845846
"list of fields: parameters derived from regular fields are followed by "
846847
"parameters derived from keyword-only fields."
847848
msgstr ""
848849

849-
#: ../../library/dataclasses.rst:684
850+
#: ../../library/dataclasses.rst:685
850851
msgid ""
851852
"The relative ordering of keyword-only parameters is maintained in the re-"
852853
"ordered :meth:`!__init__` parameter list."
853854
msgstr ""
854855

855-
#: ../../library/dataclasses.rst:689
856+
#: ../../library/dataclasses.rst:690
856857
msgid "Default factory functions"
857858
msgstr "Funções padrão de fábrica"
858859

859-
#: ../../library/dataclasses.rst:691
860+
#: ../../library/dataclasses.rst:692
860861
msgid ""
861862
"If a :func:`field` specifies a *default_factory*, it is called with zero "
862863
"arguments when a default value for the field is needed. For example, to "
863864
"create a new instance of a list, use::"
864865
msgstr ""
865866

866-
#: ../../library/dataclasses.rst:697
867+
#: ../../library/dataclasses.rst:698
867868
msgid ""
868869
"If a field is excluded from :meth:`~object.__init__` (using ``init=False``) "
869870
"and the field also specifies *default_factory*, then the default factory "
@@ -872,31 +873,31 @@ msgid ""
872873
"initial value."
873874
msgstr ""
874875

875-
#: ../../library/dataclasses.rst:704
876+
#: ../../library/dataclasses.rst:705
876877
msgid "Mutable default values"
877878
msgstr "Valores padrão mutáveis"
878879

879-
#: ../../library/dataclasses.rst:706
880+
#: ../../library/dataclasses.rst:707
880881
msgid ""
881882
"Python stores default member variable values in class attributes. Consider "
882883
"this example, not using dataclasses::"
883884
msgstr ""
884885

885-
#: ../../library/dataclasses.rst:721
886+
#: ../../library/dataclasses.rst:722
886887
msgid ""
887888
"Note that the two instances of class :class:`!C` share the same class "
888889
"variable :attr:`!x`, as expected."
889890
msgstr ""
890891

891-
#: ../../library/dataclasses.rst:724
892+
#: ../../library/dataclasses.rst:725
892893
msgid "Using dataclasses, *if* this code was valid::"
893894
msgstr "Usando dataclasses, *se* este código fosse válido::"
894895

895-
#: ../../library/dataclasses.rst:732
896+
#: ../../library/dataclasses.rst:733
896897
msgid "it would generate code similar to::"
897898
msgstr "Geraria código similar a::"
898899

899-
#: ../../library/dataclasses.rst:743
900+
#: ../../library/dataclasses.rst:744
900901
msgid ""
901902
"This has the same issue as the original example using class :class:`!C`. "
902903
"That is, two instances of class :class:`!D` that do not specify a value for :"
@@ -909,44 +910,44 @@ msgid ""
909910
"partial solution, but it does protect against many common errors."
910911
msgstr ""
911912

912-
#: ../../library/dataclasses.rst:754
913+
#: ../../library/dataclasses.rst:755
913914
msgid ""
914915
"Using default factory functions is a way to create new instances of mutable "
915916
"types as default values for fields::"
916917
msgstr ""
917918

918-
#: ../../library/dataclasses.rst:763
919+
#: ../../library/dataclasses.rst:764
919920
msgid ""
920921
"Instead of looking for and disallowing objects of type :class:`list`, :class:"
921922
"`dict`, or :class:`set`, unhashable objects are now not allowed as default "
922923
"values. Unhashability is used to approximate mutability."
923924
msgstr ""
924925

925-
#: ../../library/dataclasses.rst:770
926+
#: ../../library/dataclasses.rst:771
926927
msgid "Descriptor-typed fields"
927928
msgstr ""
928929

929-
#: ../../library/dataclasses.rst:772
930+
#: ../../library/dataclasses.rst:773
930931
msgid ""
931932
"Fields that are assigned :ref:`descriptor objects <descriptors>` as their "
932933
"default value have the following special behaviors:"
933934
msgstr ""
934935

935-
#: ../../library/dataclasses.rst:775
936+
#: ../../library/dataclasses.rst:776
936937
msgid ""
937938
"The value for the field passed to the dataclass's :meth:`~object.__init__` "
938939
"method is passed to the descriptor's :meth:`~object.__set__` method rather "
939940
"than overwriting the descriptor object."
940941
msgstr ""
941942

942-
#: ../../library/dataclasses.rst:779
943+
#: ../../library/dataclasses.rst:780
943944
msgid ""
944945
"Similarly, when getting or setting the field, the descriptor's :meth:"
945946
"`~object.__get__` or :meth:`!__set__` method is called rather than returning "
946947
"or overwriting the descriptor object."
947948
msgstr ""
948949

949-
#: ../../library/dataclasses.rst:783
950+
#: ../../library/dataclasses.rst:784
950951
msgid ""
951952
"To determine whether a field contains a default value, :func:`@dataclass "
952953
"<dataclass>` will call the descriptor's :meth:`!__get__` method using its "
@@ -956,7 +957,7 @@ msgid ""
956957
"in this situation, no default value will be provided for the field."
957958
msgstr ""
958959

959-
#: ../../library/dataclasses.rst:818
960+
#: ../../library/dataclasses.rst:819
960961
msgid ""
961962
"Note that if a field is annotated with a descriptor type, but is not "
962963
"assigned a descriptor object as its default value, the field will act like a "

library/exceptions.po

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,17 @@
1010
# Marco Rougeth <marco@rougeth.com>, 2023
1111
# Patricia Mortada, 2023
1212
# Adorilson Bezerra <adorilson@gmail.com>, 2024
13-
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
1413
# Leandro Cavalcante Damascena <leandro.damascena@gmail.com>, 2024
14+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
1515
#
1616
#, fuzzy
1717
msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.13\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2024-05-11 18:37+0000\n"
21+
"POT-Creation-Date: 2024-05-17 14:15+0000\n"
2222
"PO-Revision-Date: 2021-06-28 01:05+0000\n"
23-
"Last-Translator: Leandro Cavalcante Damascena <leandro.damascena@gmail.com>, "
24-
"2024\n"
23+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
2524
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2625
"teams/5390/pt_BR/)\n"
2726
"MIME-Version: 1.0\n"
@@ -693,7 +692,7 @@ msgid ""
693692
msgstr ""
694693
"Este exceção é derivada de :exc:`RuntimeError`. É levantada quando uma "
695694
"operação é bloqueada durante o encerramento do interpretador e também "
696-
"conhecido como :term:`finalização do Python <interpretador shutdown>`."
695+
"conhecido como :term:`finalização do Python <interpreter shutdown>`."
697696

698697
#: ../../library/exceptions.rst:425
699698
msgid ""
@@ -713,7 +712,7 @@ msgstr ":func:`os.fork`."
713712

714713
#: ../../library/exceptions.rst:431
715714
msgid "See also the :func:`sys.is_finalizing` function."
716-
msgstr "veja também a função :func:`sys.is_finalizing`."
715+
msgstr "Veja também a função :func:`sys.is_finalizing`."
717716

718717
#: ../../library/exceptions.rst:433 ../../library/exceptions.rst:443
719718
msgid "Previously, a plain :exc:`RuntimeError` was raised."

library/functools.po

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.13\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2024-05-11 02:33+0000\n"
18+
"POT-Creation-Date: 2024-05-17 14:15+0000\n"
1919
"PO-Revision-Date: 2021-06-28 01:06+0000\n"
2020
"Last-Translator: i17obot <i17obot@rougeth.com>, 2021\n"
2121
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -601,20 +601,20 @@ msgid ""
601601
"corresponding attributes from the original function. The default values for "
602602
"these arguments are the module level constants ``WRAPPER_ASSIGNMENTS`` "
603603
"(which assigns to the wrapper function's ``__module__``, ``__name__``, "
604-
"``__qualname__``, ``__annotations__`` and ``__doc__``, the documentation "
605-
"string) and ``WRAPPER_UPDATES`` (which updates the wrapper function's "
606-
"``__dict__``, i.e. the instance dictionary)."
604+
"``__qualname__``, ``__annotations__``, ``__type_params__``, and ``__doc__``, "
605+
"the documentation string) and ``WRAPPER_UPDATES`` (which updates the wrapper "
606+
"function's ``__dict__``, i.e. the instance dictionary)."
607607
msgstr ""
608608

609-
#: ../../library/functools.rst:653
609+
#: ../../library/functools.rst:654
610610
msgid ""
611611
"To allow access to the original function for introspection and other "
612612
"purposes (e.g. bypassing a caching decorator such as :func:`lru_cache`), "
613613
"this function automatically adds a ``__wrapped__`` attribute to the wrapper "
614614
"that refers to the function being wrapped."
615615
msgstr ""
616616

617-
#: ../../library/functools.rst:658
617+
#: ../../library/functools.rst:659
618618
msgid ""
619619
"The main intended use for this function is in :term:`decorator` functions "
620620
"which wrap the decorated function and return the wrapper. If the wrapper "
@@ -623,7 +623,7 @@ msgid ""
623623
"is typically less than helpful."
624624
msgstr ""
625625

626-
#: ../../library/functools.rst:664
626+
#: ../../library/functools.rst:665
627627
msgid ""
628628
":func:`update_wrapper` may be used with callables other than functions. Any "
629629
"attributes named in *assigned* or *updated* that are missing from the object "
@@ -632,64 +632,68 @@ msgid ""
632632
"wrapper function itself is missing any attributes named in *updated*."
633633
msgstr ""
634634

635-
#: ../../library/functools.rst:670
635+
#: ../../library/functools.rst:671
636636
msgid ""
637637
"The ``__wrapped__`` attribute is now automatically added. The "
638638
"``__annotations__`` attribute is now copied by default. Missing attributes "
639639
"no longer trigger an :exc:`AttributeError`."
640640
msgstr ""
641641

642-
#: ../../library/functools.rst:675
642+
#: ../../library/functools.rst:676
643643
msgid ""
644644
"The ``__wrapped__`` attribute now always refers to the wrapped function, "
645645
"even if that function defined a ``__wrapped__`` attribute. (see :issue:"
646646
"`17482`)"
647647
msgstr ""
648648

649-
#: ../../library/functools.rst:683
649+
#: ../../library/functools.rst:681
650+
msgid "The ``__type_params__`` attribute is now copied by default."
651+
msgstr ""
652+
653+
#: ../../library/functools.rst:687
650654
msgid ""
651655
"This is a convenience function for invoking :func:`update_wrapper` as a "
652656
"function decorator when defining a wrapper function. It is equivalent to "
653657
"``partial(update_wrapper, wrapped=wrapped, assigned=assigned, "
654658
"updated=updated)``. For example::"
655659
msgstr ""
656660

657-
#: ../../library/functools.rst:709
661+
#: ../../library/functools.rst:713
658662
msgid ""
659663
"Without the use of this decorator factory, the name of the example function "
660664
"would have been ``'wrapper'``, and the docstring of the original :func:"
661665
"`example` would have been lost."
662666
msgstr ""
663667

664-
#: ../../library/functools.rst:717
668+
#: ../../library/functools.rst:721
665669
msgid ":class:`partial` Objects"
666670
msgstr "Objetos :class:`partial`"
667671

668-
#: ../../library/functools.rst:719
672+
#: ../../library/functools.rst:723
669673
msgid ""
670674
":class:`partial` objects are callable objects created by :func:`partial`. "
671675
"They have three read-only attributes:"
672676
msgstr ""
673677

674-
#: ../../library/functools.rst:725
678+
#: ../../library/functools.rst:729
675679
msgid ""
676680
"A callable object or function. Calls to the :class:`partial` object will be "
677681
"forwarded to :attr:`func` with new arguments and keywords."
678682
msgstr ""
679683

680-
#: ../../library/functools.rst:731
684+
#: ../../library/functools.rst:735
681685
msgid ""
682686
"The leftmost positional arguments that will be prepended to the positional "
683687
"arguments provided to a :class:`partial` object call."
684688
msgstr ""
685689

686-
#: ../../library/functools.rst:737
690+
#: ../../library/functools.rst:741
687691
msgid ""
688692
"The keyword arguments that will be supplied when the :class:`partial` object "
689693
"is called."
690694
msgstr ""
691695

692-
#: ../../library/functools.rst:740
696+
#: ../../library/functools.rst:744
693697
msgid ""
694698
":class:`partial` objects are like :class:`function` objects in that they are "
695699
"callable, weak referenceable, and can have attributes. There are some "

0 commit comments

Comments
 (0)
0