Skip to content

Commit cac1f21

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent ede1038 commit cac1f21

18 files changed

Lines changed: 296 additions & 54 deletions

‎builtins/exceptions.po‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-10-31 18:01+0000\n"
15+
"POT-Creation-Date: 2026-11-01 18:39+0000\n"
1616
"PO-Revision-Date: 2026-09-13 17:09+0000\n"
1717
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -622,6 +622,9 @@ msgid ""
622622
"POSIX, it is obtained using the C functions :c:func:`!strerror` or :c:func:`!"
623623
"strerror_r`; under Windows, :c:func:`!FormatMessage` is used."
624624
msgstr ""
625+
"オペレーティングシステムが提供する、対応するエラーメッセージです。\n"
626+
"POSIX では C 関数 :c:func:`!strerror` または :c:func:`!strerror_r` で取得し、"
627+
"Windows では :c:func:`!FormatMessage` を使います。"
625628

626629
#: ../../builtins/exceptions.rst:405
627630
msgid ""

‎builtins/functions.po‎

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.15\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2026-10-31 18:01+0000\n"
17+
"POT-Creation-Date: 2026-11-01 18:39+0000\n"
1818
"PO-Revision-Date: 2026-09-13 17:09+0000\n"
1919
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
2020
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -1560,6 +1560,11 @@ msgid ""
15601560
"variables <closure variable>`. The length of the tuple must exactly match "
15611561
"the length of the code object's :attr:`~codeobject.co_freevars` attribute."
15621562
msgstr ""
1563+
"*closure* 引数には、セル変数のタプルであるクロージャを指定します。\n"
1564+
"これは *source* が :term:`自由 (クロージャ) 変数 <closure variable>` を含む"
1565+
"コードオブジェクトである場合にのみ有効です。\n"
1566+
"タプルの長さは、コードオブジェクトの :attr:`~codeobject.co_freevars` 属性の長"
1567+
"さと完全に一致する必要があります。"
15631568

15641569
#: ../../builtins/functions.rst:740
15651570
msgid ""
@@ -3349,6 +3354,14 @@ msgid ""
33493354
"function returns for its instances by defining a :meth:`~object.__repr__` "
33503355
"method."
33513356
msgstr ""
3357+
"オブジェクトの表示可能な表現を含む文字列を返します。\n"
3358+
"多くの型では、:func:`eval` に渡すと元のオブジェクトと同じ値を持つオブジェクト"
3359+
"が得られるような文字列を返そうとします。\n"
3360+
"それ以外の場合、オブジェクトの型名と追加情報を含む、山括弧で囲まれた文字列を"
3361+
"返します。\n"
3362+
"追加情報には、オブジェクトの名前やアドレスが含まれることがよくあります。\n"
3363+
"クラスに :meth:`~object.__repr__` メソッドを定義すると、そのクラスのインスタ"
3364+
"ンスに対してこの関数が返すものを制御できます。"
33523365

33533366
#: ../../builtins/functions.rst:1787
33543367
msgid "This class has a custom representation that can be evaluated::"
@@ -3937,6 +3950,13 @@ msgid ""
39373950
"argument :func:`!super` will not work as expected within nested functions, "
39383951
"including generator expressions, which implicitly create nested functions."
39393952
msgstr ""
3953+
"クラスの通常のメソッド内で直接呼び出す場合、両方の引数を省略できます (「引数"
3954+
"なしの :func:`!super`」)。\n"
3955+
"この場合、*type* はそのメソッドを定義したクラスとなり、*object_or_type* は呼"
3956+
"び出しを直接囲む関数の最初の引数 (通常は ``self``) となります。\n"
3957+
"引数なしの :func:`!super` は、ネストした関数内では期待どおりに動作しませ"
3958+
"ん。\n"
3959+
"これには、暗黙にネストした関数を作成するジェネレータ式も含まれます。"
39403960

39413961
#: ../../builtins/functions.rst:2104
39423962
msgid ""
@@ -4421,6 +4441,10 @@ msgid ""
44214441
"refers to the current package, ``2`` to its parent package, and so on "
44224442
"(see :pep:`328` for details)."
44234443
msgstr ""
4444+
"*level* は絶対インポートと相対インポートのどちらを使うかを指定します。\n"
4445+
"``0`` (デフォルト) は絶対インポートだけを行うことを意味します。\n"
4446+
"相対インポートでは、``1`` が現在のパッケージ、``2`` がその親パッケージを指"
4447+
"し、以降も同様です (詳細は :pep:`328` を参照してください)。"
44244448

44254449
#: ../../builtins/functions.rst:2366
44264450
msgid ""

‎builtins/stdtypes.po‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.15\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2026-10-31 18:01+0000\n"
16+
"POT-Creation-Date: 2026-11-01 18:39+0000\n"
1717
"PO-Revision-Date: 2026-09-13 17:09+0000\n"
1818
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
1919
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -6683,6 +6683,8 @@ msgid ""
66836683
"If the :class:`bytearray` needs to grow, all new bytes will be set to null "
66846684
"bytes."
66856685
msgstr ""
6686+
":class:`bytearray` を拡張する場合、追加されるバイトはすべてNULバイトに設定さ"
6687+
"れます。"
66866688

66876689
msgid "This is equivalent to:"
66886690
msgstr "これは次と等価です:"
@@ -9239,6 +9241,9 @@ msgid ""
92399241
"and :meth:`~set.discard` methods may be a set. In this case, an equivalent "
92409242
"frozenset is searched for."
92419243
msgstr ""
9244+
":meth:`~object.__contains__`、:meth:`~set.remove`、:meth:`~set.discard` メ"
9245+
"ソッドの *elem* 引数には、集合(``set``)を渡すこともできます。\n"
9246+
"この場合、それと等価な frozenset を検索します。"
92429247

92439248
msgid ""
92449249
"Sets and frozensets are :ref:`generic <generics>` over the type of their "
@@ -9309,7 +9314,7 @@ msgstr ""
93099314
"'sjoerd': 4127}`` あるいは ``{4098: 'jack', 4127: 'sjoerd'}``"
93109315

93119316
msgid "Use a dict comprehension: ``{x: x ** 2 for x in range(10)}``"
9312-
msgstr ""
9317+
msgstr "辞書内包表記を使う: ``{x: x ** 2 for x in range(10)}``"
93139318

93149319
#: ../../builtins/stdtypes.rst:5649
93159320
msgid ""
@@ -9701,6 +9706,8 @@ msgid ""
97019706
"An equality comparison between two distinct ``dict.values()`` views will "
97029707
"always return ``False``, even for views of the same dictionary::"
97039708
msgstr ""
9709+
"``dict.values()`` で得られる異なる 2 つのビューを等値比較すると、同じ辞書の"
9710+
"ビューであっても常に ``False`` が返ります。 ::"
97049711

97059712
msgid ""
97069713
">>> d = {'a': 1}\n"

‎c-api/code.po‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-10-31 18:01+0000\n"
15+
"POT-Creation-Date: 2026-11-01 18:39+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -471,6 +471,10 @@ msgid ""
471471
"and :c:func:`PyUnstable_Code_SetExtra` to manipulate data on individual code "
472472
"objects."
473473
msgstr ""
474+
"通常、この関数はインタープリタごとに 1 回呼び出します。\n"
475+
"その結果を :c:func:`PyUnstable_Code_GetExtra` "
476+
"と :c:func:`PyUnstable_Code_SetExtra` に渡して、個々のコードオブジェクトの"
477+
"データを操作します。"
474478

475479
msgid ""
476480
"If *free* is not ``NULL``: when a code object is deallocated, *free* will be "

‎c-api/codec.po‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-10-31 18:01+0000\n"
15+
"POT-Creation-Date: 2026-11-01 18:39+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -103,6 +103,11 @@ msgid ""
103103
"mechanism effectively case-insensitive. If no codec is found, "
104104
"a :exc:`LookupError` is set and ``NULL`` returned."
105105
msgstr ""
106+
"以下の関数では、文字列 *encoding* をすべて小文字に変換してから検索します。\n"
107+
"このため、この仕組みによるエンコーディングの検索では実質的に大文字と小文字を"
108+
"区別しません。\n"
109+
"コーデックが見つからなければ :exc:`LookupError` を設定して ``NULL`` を返しま"
110+
"す。"
106111

107112
#: ../../c-api/codec.rst:55
108113
msgid "Get an encoder function for the given *encoding*."

‎c-api/function.po‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-10-31 18:01+0000\n"
15+
"POT-Creation-Date: 2026-11-01 18:39+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -40,6 +40,9 @@ msgid ""
4040
"synchronization if another thread may modify the function. "
4141
"See :ref:`freethreading-extensions-howto`."
4242
msgstr ""
43+
"フリースレッドビルドでは、別のスレッドが関数を変更する可能性がある場合、変更"
44+
"可能なフィールドへの直接アクセスには同期が必要です。\n"
45+
":ref:`freethreading-extensions-howto` を参照してください。"
4346

4447
#: ../../c-api/function.rst:22
4548
msgid ""
@@ -128,6 +131,10 @@ msgid ""
128131
"with :c:func:`Py_XNewRef` immediately, before calling any other Python API. "
129132
"The same applies to :c:func:`PyFunction_GET_MODULE`."
130133
msgstr ""
134+
"フリースレッドビルドで属性が並行して変更される可能性がある場合、他の Python "
135+
"API を呼び出す前に、:c:func:`Py_XNewRef` で借用参照を直ちに強参照へ変換してく"
136+
"ださい。\n"
137+
":c:func:`PyFunction_GET_MODULE` にも同じことが当てはまります。"
131138

132139
#: ../../c-api/function.rst:77
133140
msgid ""

‎c-api/gcsupport.po‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-10-31 18:01+0000\n"
15+
"POT-Creation-Date: 2026-11-01 18:39+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -237,6 +237,10 @@ msgid ""
237237
"resized object of type ``TYPE*`` (refers to any C type) or ``NULL`` on "
238238
"failure."
239239
msgstr ""
240+
":c:macro:`PyObject_GC_NewVar` で割り当てたオブジェクトのサイズを変更しま"
241+
"す。\n"
242+
"サイズ変更後のオブジェクトを ``TYPE*`` 型 (任意の C 型を指します) で返し、失"
243+
"敗した場合は ``NULL`` を返します。"
240244

241245
msgid ""
242246
"*op* must be of type :c:expr:`PyVarObject *` and must not be tracked by the "

‎c-api/reflection.po‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-10-31 18:01+0000\n"
15+
"POT-Creation-Date: 2026-11-01 18:39+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -156,6 +156,12 @@ msgid ""
156156
"thread state or executing Python code if the name may be modified "
157157
"concurrently."
158158
msgstr ""
159+
"Python の関数やメソッドの場合、返されたポインタはその関数の名前を指します。\n"
160+
"名前を変更する可能性のある操作をまたいで、このポインタを保持してはいけませ"
161+
"ん。\n"
162+
"フリースレッドビルドで名前が並行して変更される可能性がある場合、スレッド状態"
163+
"をデタッチしたり Python コードを実行したりする前に文字列をコピーしてくださ"
164+
"い。"
159165

160166
msgid ""
161167
"Return a description string, depending on the type of *func*. Return values "

‎extending/extending.po‎

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-10-31 18:01+0000\n"
15+
"POT-Creation-Date: 2026-11-01 18:39+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -719,11 +719,24 @@ msgid ""
719719
"/* Here maybe use the result */\n"
720720
"Py_DECREF(result);"
721721
msgstr ""
722+
"PyObject *arglist;\n"
723+
"...\n"
724+
"arglist = Py_BuildValue(\"(l)\", eventcode);\n"
725+
"if (arglist == NULL)\n"
726+
" return NULL;\n"
727+
"result = PyObject_CallObject(my_callback, arglist);\n"
728+
"Py_DECREF(arglist);\n"
729+
"if (result == NULL)\n"
730+
" return NULL; /* 呼び出し元にエラーを返す */\n"
731+
"/* 必要ならここで結果を使う */\n"
732+
"Py_DECREF(result);"
722733

723734
msgid ""
724735
"Note the placement of ``Py_DECREF(arglist)`` immediately after the call, "
725736
"before the error check!"
726737
msgstr ""
738+
"``Py_DECREF(arglist)`` が呼び出しの直後、エラーチェックより前に置かれているこ"
739+
"とに注意してください。"
727740

728741
msgid ""
729742
"You may also call a function with keyword arguments by "
@@ -754,6 +767,23 @@ msgid ""
754767
"/* Here maybe use the result */\n"
755768
"Py_DECREF(result);"
756769
msgstr ""
770+
"PyObject *arglist, *dict;\n"
771+
"...\n"
772+
"arglist = PyTuple_New(0);\n"
773+
"if (arglist == NULL)\n"
774+
" return NULL;\n"
775+
"dict = Py_BuildValue(\"{s:i}\", \"name\", val);\n"
776+
"if (dict == NULL) {\n"
777+
" Py_DECREF(arglist);\n"
778+
" return NULL;\n"
779+
"}\n"
780+
"result = PyObject_Call(my_callback, arglist, dict);\n"
781+
"Py_DECREF(arglist);\n"
782+
"Py_DECREF(dict);\n"
783+
"if (result == NULL)\n"
784+
" return NULL; /* 呼び出し元にエラーを返す */\n"
785+
"/* 必要ならここで結果を使う */\n"
786+
"Py_DECREF(result);"
757787

758788
#: ../../extending/extending.rst:368
759789
msgid "Extracting Parameters in Extension Functions"

‎extending/first-extension-module.po‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-10-31 18:01+0000\n"
15+
"POT-Creation-Date: 2026-11-01 18:39+0000\n"
1616
"PO-Revision-Date: 2026-05-08 18:36+0000\n"
1717
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -716,6 +716,8 @@ msgid ""
716716
"Next, we'll add the method to the module. Add a :c:data:`Py_mod_methods` "
717717
"slot to your :c:type:`PySlot` array:"
718718
msgstr ""
719+
"次に、モジュールにメソッドを追加します。\n"
720+
":c:type:`PySlot` 配列に :c:data:`Py_mod_methods` スロットを追加してください:"
719721

720722
msgid ""
721723
"\n"

0 commit comments

Comments
 (0)