Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit240c4b6

Browse files
author
github-actions
committed
Update translations from Transifex
1 parente02b9d7 commit240c4b6

File tree

9 files changed

+130
-141
lines changed

9 files changed

+130
-141
lines changed

‎faq/extending.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
#,fuzzy
1515
msgid ""
1616
msgstr ""
17-
"Project-Id-Version:Python 3.12\n"
17+
"Project-Id-Version:Python 3.13\n"
1818
"Report-Msgid-Bugs-To:\n"
19-
"POT-Creation-Date:2024-04-26 14:13+0000\n"
19+
"POT-Creation-Date:2024-05-17 14:15+0000\n"
2020
"PO-Revision-Date:2021-06-28 00:52+0000\n"
2121
"Last-Translator:TENMYO Masakazu, 2024\n"
2222
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"

‎faq/general.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
#,fuzzy
1515
msgid ""
1616
msgstr ""
17-
"Project-Id-Version:Python 3.12\n"
17+
"Project-Id-Version:Python 3.13\n"
1818
"Report-Msgid-Bugs-To:\n"
19-
"POT-Creation-Date:2024-04-26 14:13+0000\n"
19+
"POT-Creation-Date:2024-05-17 14:15+0000\n"
2020
"PO-Revision-Date:2021-06-28 00:52+0000\n"
2121
"Last-Translator:TENMYO Masakazu, 2024\n"
2222
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"

‎howto/gdb_helpers.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
#,fuzzy
1010
msgid ""
1111
msgstr ""
12-
"Project-Id-Version:Python 3.12\n"
12+
"Project-Id-Version:Python 3.13\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2024-04-26 14:13+0000\n"
14+
"POT-Creation-Date:2024-05-17 14:15+0000\n"
1515
"PO-Revision-Date:2024-02-25 01:11+0000\n"
1616
"Last-Translator:tomo, 2024\n"
1717
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"

‎library/dataclasses.po

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version:Python 3.13\n"
1616
"Report-Msgid-Bugs-To:\n"
17-
"POT-Creation-Date:2024-05-11 02:33+0000\n"
17+
"POT-Creation-Date:2024-05-17 14:15+0000\n"
1818
"PO-Revision-Date:2021-06-28 01:03+0000\n"
1919
"Last-Translator:Arihiro TAKASE, 2024\n"
2020
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -729,14 +729,15 @@ msgstr ""
729729
msgid""
730730
"There is a tiny performance penalty when using ``frozen=True``: :meth:"
731731
"`~object.__init__` cannot use simple assignment to initialize fields, and "
732-
"must use :meth:`!__setattr__`."
732+
"must use :meth:`!object.__setattr__`. .. Make sure to not remove\"object\" "
733+
"from\"object.__setattr__\" in the above markup"
733734
msgstr""
734735

735-
#:../../library/dataclasses.rst:623
736+
#:../../library/dataclasses.rst:624
736737
msgid"Inheritance"
737738
msgstr"継承"
738739

739-
#:../../library/dataclasses.rst:625
740+
#:../../library/dataclasses.rst:626
740741
msgid""
741742
"When the dataclass is being created by the :func:`@dataclass <dataclass>` "
742743
"decorator, it looks through all of the class's base classes in reverse MRO "
@@ -748,24 +749,24 @@ msgid ""
748749
"order, derived classes override base classes. An example::"
749750
msgstr""
750751

751-
#:../../library/dataclasses.rst:645
752+
#:../../library/dataclasses.rst:646
752753
msgid""
753754
"The final list of fields is, in order, :attr:`!x`, :attr:`!y`, :attr:`!z`. "
754755
"The final type of :attr:`!x` is :class:`int`, as specified in class :class:`!"
755756
"C`."
756757
msgstr""
757758

758-
#:../../library/dataclasses.rst:648
759+
#:../../library/dataclasses.rst:649
759760
msgid""
760761
"The generated :meth:`~object.__init__` method for :class:`!C` will look "
761762
"like::"
762763
msgstr""
763764

764-
#:../../library/dataclasses.rst:653
765+
#:../../library/dataclasses.rst:654
765766
msgid"Re-ordering of keyword-only parameters in :meth:`!__init__`"
766767
msgstr""
767768

768-
#:../../library/dataclasses.rst:655
769+
#:../../library/dataclasses.rst:656
769770
msgid""
770771
"After the parameters needed for :meth:`~object.__init__` are computed, any "
771772
"keyword-only parameters are moved to come after all regular (non-keyword-"
@@ -777,18 +778,18 @@ msgstr ""
777778
"のキーワード専用引数は、非キーワード専用パラメータの末尾にこなければならない"
778779
"という、キーワード専用パラメータのPythonの実装の都合で必要なことです。"
779780

780-
#:../../library/dataclasses.rst:661
781+
#:../../library/dataclasses.rst:662
781782
msgid""
782783
"In this example, :attr:`!Base.y`, :attr:`!Base.w`, and :attr:`!D.t` are "
783784
"keyword-only fields, and :attr:`!Base.x` and :attr:`!D.z` are regular "
784785
"fields::"
785786
msgstr""
786787

787-
#:../../library/dataclasses.rst:676
788+
#:../../library/dataclasses.rst:677
788789
msgid"The generated :meth:`!__init__` method for :class:`!D` will look like::"
789790
msgstr""
790791

791-
#:../../library/dataclasses.rst:680
792+
#:../../library/dataclasses.rst:681
792793
msgid""
793794
"Note that the parameters have been re-ordered from how they appear in the "
794795
"list of fields: parameters derived from regular fields are followed by "
@@ -798,24 +799,24 @@ msgstr ""
798799
"フィールドから派生したパラメータの後に、キーワードのみのフィールドから派生し"
799800
"たパラメータが続きます。"
800801

801-
#:../../library/dataclasses.rst:684
802+
#:../../library/dataclasses.rst:685
802803
msgid""
803804
"The relative ordering of keyword-only parameters is maintained in the re-"
804805
"ordered :meth:`!__init__` parameter list."
805806
msgstr""
806807

807-
#:../../library/dataclasses.rst:689
808+
#:../../library/dataclasses.rst:690
808809
msgid"Default factory functions"
809810
msgstr"デフォルトファクトリ関数"
810811

811-
#:../../library/dataclasses.rst:691
812+
#:../../library/dataclasses.rst:692
812813
msgid""
813814
"If a :func:`field` specifies a *default_factory*, it is called with zero "
814815
"arguments when a default value for the field is needed. For example, to "
815816
"create a new instance of a list, use::"
816817
msgstr""
817818

818-
#:../../library/dataclasses.rst:697
819+
#:../../library/dataclasses.rst:698
819820
msgid""
820821
"If a field is excluded from :meth:`~object.__init__` (using ``init=False``) "
821822
"and the field also specifies *default_factory*, then the default factory "
@@ -824,33 +825,33 @@ msgid ""
824825
"initial value."
825826
msgstr""
826827

827-
#:../../library/dataclasses.rst:704
828+
#:../../library/dataclasses.rst:705
828829
msgid"Mutable default values"
829830
msgstr"可変なデフォルト値"
830831

831-
#:../../library/dataclasses.rst:706
832+
#:../../library/dataclasses.rst:707
832833
msgid""
833834
"Python stores default member variable values in class attributes. Consider "
834835
"this example, not using dataclasses::"
835836
msgstr""
836837
"Python はメンバ変数のデフォルト値をクラス属性に保持します。\n"
837838
"データクラスを使っていない、この例を考えてみましょう::"
838839

839-
#:../../library/dataclasses.rst:721
840+
#:../../library/dataclasses.rst:722
840841
msgid""
841842
"Note that the two instances of class :class:`!C` share the same class "
842843
"variable :attr:`!x`, as expected."
843844
msgstr""
844845

845-
#:../../library/dataclasses.rst:724
846+
#:../../library/dataclasses.rst:725
846847
msgid"Using dataclasses, *if* this code was valid::"
847848
msgstr"データクラスを使っているこのコードが *もし仮に* 有効なものだとしたら::"
848849

849-
#:../../library/dataclasses.rst:732
850+
#:../../library/dataclasses.rst:733
850851
msgid"it would generate code similar to::"
851852
msgstr"データクラスは次のようなコードを生成するでしょう::"
852853

853-
#:../../library/dataclasses.rst:743
854+
#:../../library/dataclasses.rst:744
854855
msgid""
855856
"This has the same issue as the original example using class :class:`!C`. "
856857
"That is, two instances of class :class:`!D` that do not specify a value for :"
@@ -863,46 +864,46 @@ msgid ""
863864
"partial solution, but it does protect against many common errors."
864865
msgstr""
865866

866-
#:../../library/dataclasses.rst:754
867+
#:../../library/dataclasses.rst:755
867868
msgid""
868869
"Using default factory functions is a way to create new instances of mutable "
869870
"types as default values for fields::"
870871
msgstr""
871872
"デフォルトファクトリ関数を使うのが、フィールドのデフォルト値として可変な型の"
872873
"新しいインスタンスを作成する手段です::"
873874

874-
#:../../library/dataclasses.rst:763
875+
#:../../library/dataclasses.rst:764
875876
msgid""
876877
"Instead of looking for and disallowing objects of type :class:`list`, :class:"
877878
"`dict`, or :class:`set`, unhashable objects are now not allowed as default "
878879
"values. Unhashability is used to approximate mutability."
879880
msgstr""
880881

881-
#:../../library/dataclasses.rst:770
882+
#:../../library/dataclasses.rst:771
882883
msgid"Descriptor-typed fields"
883884
msgstr""
884885

885-
#:../../library/dataclasses.rst:772
886+
#:../../library/dataclasses.rst:773
886887
msgid""
887888
"Fields that are assigned :ref:`descriptor objects <descriptors>` as their "
888889
"default value have the following special behaviors:"
889890
msgstr""
890891

891-
#:../../library/dataclasses.rst:775
892+
#:../../library/dataclasses.rst:776
892893
msgid""
893894
"The value for the field passed to the dataclass's :meth:`~object.__init__` "
894895
"method is passed to the descriptor's :meth:`~object.__set__` method rather "
895896
"than overwriting the descriptor object."
896897
msgstr""
897898

898-
#:../../library/dataclasses.rst:779
899+
#:../../library/dataclasses.rst:780
899900
msgid""
900901
"Similarly, when getting or setting the field, the descriptor's :meth:"
901902
"`~object.__get__` or :meth:`!__set__` method is called rather than returning "
902903
"or overwriting the descriptor object."
903904
msgstr""
904905

905-
#:../../library/dataclasses.rst:783
906+
#:../../library/dataclasses.rst:784
906907
msgid""
907908
"To determine whether a field contains a default value, :func:`@dataclass "
908909
"<dataclass>` will call the descriptor's :meth:`!__get__` method using its "
@@ -912,7 +913,7 @@ msgid ""
912913
"in this situation, no default value will be provided for the field."
913914
msgstr""
914915

915-
#:../../library/dataclasses.rst:818
916+
#:../../library/dataclasses.rst:819
916917
msgid""
917918
"Note that if a field is annotated with a descriptor type, but is not "
918919
"assigned a descriptor object as its default value, the field will act like a "

‎library/functools.po

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version:Python 3.13\n"
1616
"Report-Msgid-Bugs-To:\n"
17-
"POT-Creation-Date:2024-05-11 02:33+0000\n"
17+
"POT-Creation-Date:2024-05-17 14:15+0000\n"
1818
"PO-Revision-Date:2021-06-28 01:06+0000\n"
1919
"Last-Translator:Arihiro TAKASE, 2023\n"
2020
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -694,20 +694,12 @@ msgid ""
694694
"corresponding attributes from the original function. The default values for "
695695
"these arguments are the module level constants ``WRAPPER_ASSIGNMENTS`` "
696696
"(which assigns to the wrapper function's ``__module__``, ``__name__``, "
697-
"``__qualname__``, ``__annotations__``and ``__doc__``, the documentation "
698-
"string) and ``WRAPPER_UPDATES`` (which updates the wrapper function's "
699-
"``__dict__``, i.e. the instance dictionary)."
697+
"``__qualname__``, ``__annotations__``, ``__type_params__``,and ``__doc__``, "
698+
"the documentationstring) and ``WRAPPER_UPDATES`` (which updates the wrapper "
699+
"function's``__dict__``, i.e. the instance dictionary)."
700700
msgstr""
701-
"*wrapper* 関数を *wrapped* 関数に見えるようにアップデートします。オプション引"
702-
"数はタプルで、元の関数のどの属性がラッパー関数の対応する属性に直接代入される"
703-
"か、またラッパー関数のどの属性が元の関数の対応する属性でアップデートされる"
704-
"か、を指定します。これらの引数のデフォルト値は、モジュールレベル定数 "
705-
"``WRAPPER_ASSIGNMENTS`` (これはラッパー関数の ``__module__``, ``__name__``, "
706-
"``__qualname__``, ``__annotations__`` そしてドキュメンテーション文字列 "
707-
"``__doc__`` に代入する) と ``WRAPPER_UPDATES`` (これはラッパー関数の "
708-
"``__dict__`` すなわちインスタンス辞書をアップデートする) です。"
709701

710-
#:../../library/functools.rst:653
702+
#:../../library/functools.rst:654
711703
msgid""
712704
"To allow access to the original function for introspection and other "
713705
"purposes (e.g. bypassing a caching decorator such as :func:`lru_cache`), "
@@ -718,7 +710,7 @@ msgstr ""
718710
"回避) のために元の関数にアクセスできるように、この関数はラップされている関数"
719711
"を参照するラッパーに自動的に ``__wrapped__`` 属性を追加します。"
720712

721-
#:../../library/functools.rst:658
713+
#:../../library/functools.rst:659
722714
msgid""
723715
"The main intended use for this function is in :term:`decorator` functions "
724716
"which wrap the decorated function and return the wrapper. If the wrapper "
@@ -731,7 +723,7 @@ msgstr ""
731723
"すると、返される関数のメタデータは元の関数の定義ではなくラッパー関数の定義を"
732724
"反映してしまい、これは通常あまり有益ではありません。"
733725

734-
#:../../library/functools.rst:664
726+
#:../../library/functools.rst:665
735727
msgid""
736728
":func:`update_wrapper` may be used with callables other than functions. Any "
737729
"attributes named in *assigned* or *updated* that are missing from the object "
@@ -745,14 +737,14 @@ msgstr ""
745737
"とは試みられません)。しかし、 *updated* で指名された属性がラッパー関数自身に"
746738
"存在しないなら :exc:`AttributeError` が送出されます。"
747739

748-
#:../../library/functools.rst:670
740+
#:../../library/functools.rst:671
749741
msgid""
750742
"The ``__wrapped__`` attribute is now automatically added. The "
751743
"``__annotations__`` attribute is now copied by default. Missing attributes "
752744
"no longer trigger an :exc:`AttributeError`."
753745
msgstr""
754746

755-
#:../../library/functools.rst:675
747+
#:../../library/functools.rst:676
756748
msgid""
757749
"The ``__wrapped__`` attribute now always refers to the wrapped function, "
758750
"even if that function defined a ``__wrapped__`` attribute. (see :issue:"
@@ -762,7 +754,11 @@ msgstr ""
762754
"``__wrapped__`` が常にラップされた関数を参照するようになりました。(:issue:"
763755
"`17482` を参照)"
764756

765-
#:../../library/functools.rst:683
757+
#:../../library/functools.rst:681
758+
msgid"The ``__type_params__`` attribute is now copied by default."
759+
msgstr""
760+
761+
#:../../library/functools.rst:687
766762
msgid""
767763
"This is a convenience function for invoking :func:`update_wrapper` as a "
768764
"function decorator when defining a wrapper function. It is equivalent to "
@@ -773,7 +769,7 @@ msgstr ""
773769
"して呼び出す便宜関数です。これは ``partial(update_wrapper, wrapped=wrapped, "
774770
"assigned=assigned, updated=updated)`` と等価です。例えば::"
775771

776-
#:../../library/functools.rst:709
772+
#:../../library/functools.rst:713
777773
msgid""
778774
"Without the use of this decorator factory, the name of the example function "
779775
"would have been ``'wrapper'``, and the docstring of the original :func:"
@@ -783,42 +779,42 @@ msgstr ""
783779
"``'wrapper'`` となり、元の :func:`example` のドキュメンテーション文字列は失わ"
784780
"れてしまいます。"
785781

786-
#:../../library/functools.rst:717
782+
#:../../library/functools.rst:721
787783
msgid":class:`partial` Objects"
788784
msgstr":class:`partial` オブジェクト"
789785

790-
#:../../library/functools.rst:719
786+
#:../../library/functools.rst:723
791787
msgid""
792788
":class:`partial` objects are callable objects created by :func:`partial`. "
793789
"They have three read-only attributes:"
794790
msgstr""
795791
":class:`partial` オブジェクトは、 :func:`partial` 関数によって作られる呼び出"
796792
"し可能オブジェクトです。オブジェクトには読み出し専用の属性が三つあります:"
797793

798-
#:../../library/functools.rst:725
794+
#:../../library/functools.rst:729
799795
msgid""
800796
"A callable object or function. Calls to the :class:`partial` object will be "
801797
"forwarded to :attr:`func` with new arguments and keywords."
802798
msgstr""
803799
"呼び出し可能オブジェクトまたは関数です。 :class:`partial` オブジェクトの呼び"
804800
"出しは新しい引数とキーワードと共に :attr:`func` に転送されます。"
805801

806-
#:../../library/functools.rst:731
802+
#:../../library/functools.rst:735
807803
msgid""
808804
"The leftmost positional arguments that will be prepended to the positional "
809805
"arguments provided to a :class:`partial` object call."
810806
msgstr""
811807
"最左の位置引数で、 :class:`partial` オブジェクトの呼び出し時にその呼び出しの"
812808
"際の位置引数の前に追加されます。"
813809

814-
#:../../library/functools.rst:737
810+
#:../../library/functools.rst:741
815811
msgid""
816812
"The keyword arguments that will be supplied when the :class:`partial` object "
817813
"is called."
818814
msgstr""
819815
":class:`partial` オブジェクトの呼び出し時に渡されるキーワード引数です。"
820816

821-
#:../../library/functools.rst:740
817+
#:../../library/functools.rst:744
822818
msgid""
823819
":class:`partial` objects are like :class:`function` objects in that they are "
824820
"callable, weak referenceable, and can have attributes. There are some "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp