Skip to content

Commit 472aa82

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 487eba4 commit 472aa82

63 files changed

Lines changed: 1111 additions & 398 deletions

Some content is hidden

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

‎builtins/functions.po‎

Lines changed: 14 additions & 33 deletions
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-11-01 18:39+0000\n"
17+
"POT-Creation-Date: 2026-11-09 23:13+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/"
@@ -1486,27 +1486,17 @@ msgstr ""
14861486
msgid "*globals* can now be a :class:`frozendict`."
14871487
msgstr "*globals* に :class:`frozendict` も指定できるようになりました。"
14881488

1489-
#: ../../builtins/functions.rst:693
14901489
msgid ""
14911490
"This function supports dynamic execution of Python code. *source* must be "
14921491
"either a string or a code object. If it is a string, the string is parsed "
14931492
"as a suite of Python statements which is then executed (unless a syntax "
1494-
"error occurs). [#]_ If it is a code object, it is simply executed. In all "
1495-
"cases, the code that's executed is expected to be valid as file input (see "
1496-
"the section :ref:`file-input` in the Reference Manual). Be aware that "
1493+
"error occurs). If it is a code object, it is simply executed. In all cases, "
1494+
"the code that's executed is expected to be valid as file input (see the "
1495+
"section :ref:`file-input` in the Reference Manual). Be aware that "
14971496
"the :keyword:`nonlocal`, :keyword:`yield`, and :keyword:`return` statements "
14981497
"may not be used outside of function definitions even within the context of "
14991498
"code passed to the :func:`exec` function. The return value is ``None``."
15001499
msgstr ""
1501-
"この関数は Python コードの動的な実行をサポートします。 *source* は文字列か"
1502-
"コードオブジェクトでなければなりません。文字列の場合、その文字列は一連の "
1503-
"Python 文として解析され、そして (構文エラーにならない限り) 実行されます。 "
1504-
"[#]_ コードオブジェクトの場合は、単純に実行されます。どの場合でも、実行される"
1505-
"コードはファイル入力形式として有効であることが期待されます (リファレンスマ"
1506-
"ニュアルの :ref:`file-input` 節を参照してくださ"
1507-
"い)。 :keyword:`nonlocal`, :keyword:`yield`, および :keyword:`return` 文"
1508-
"は、 :func:`exec` 関数に渡されたコードの文脈中でさえ、関数定義の外側で使うこ"
1509-
"とはできません。戻り値は ``None`` です。"
15101500

15111501
#: ../../builtins/functions.rst:704
15121502
msgid ""
@@ -3534,12 +3524,9 @@ msgstr ""
35343524
"<MISSING>"
35353525

35363526
msgid ""
3537-
"Sentinel objects are truthy and compare equal only to themselves. They are "
3527+
"Sentinel objects are true and compare equal only to themselves. They are "
35383528
"intended to be compared with the :keyword:`is` operator."
35393529
msgstr ""
3540-
"センチネルオブジェクトは真と評価され、自分自身との比較でのみ等しいと判定され"
3541-
"ます。\n"
3542-
"比較には :keyword:`is` 演算子を使うことを想定しています。"
35433530

35443531
msgid "``sentinel`` does not support subclassing."
35453532
msgstr "``sentinel`` はサブクラス化をサポートしません。"
@@ -3574,7 +3561,6 @@ msgstr ""
35743561
"センチネルオブジェクトは、型の式で使うための :ref:`| <bitwise>` 演算子をサ"
35753562
"ポートします。"
35763563

3577-
#: ../../builtins/functions.rst:1900
35783564
msgid ""
35793565
":mod:`Pickling <pickle>` is supported for sentinel objects that are placed "
35803566
"in the global scope of a module under a name matching the sentinel's name, "
@@ -3583,6 +3569,15 @@ msgid ""
35833569
"defined in a function scope, are not picklable. The identity of the sentinel "
35843570
"is preserved after pickling::"
35853571
msgstr ""
3572+
"モジュールのグローバルスコープに置かれたセンチネルオブジェクトは、\n"
3573+
"変数名がセンチネルの名前と一致していれば :mod:`pickle 化 <pickle>` できま"
3574+
"す。\n"
3575+
"クラスのスコープに置かれたセンチネルも、\n"
3576+
"``sentinel()`` に指定した名前がその属性の :term:`修飾名 <qualified name>` と"
3577+
"一致していれば pickle 化できます。\n"
3578+
"関数のスコープで定義されたものなど、それ以外のセンチネルは pickle 化できませ"
3579+
"ん。\n"
3580+
"pickle 化して復元した後も、センチネルの同一性は保たれます。 ::"
35863581

35873582
msgid ""
35883583
"import pickle\n"
@@ -4535,20 +4530,6 @@ msgstr ""
45354530
"コマンドラインオプション :option:`-E` または :option:`-I` が使われている場"
45364531
"合、環境変数 :envvar:`PYTHONCASEOK` は無視されるようになりました。"
45374532

4538-
#: ../../builtins/functions.rst:2406
4539-
msgid "Footnotes"
4540-
msgstr "脚注"
4541-
4542-
#: ../../builtins/functions.rst:2407
4543-
msgid ""
4544-
"Note that the parser only accepts the Unix-style end of line convention. If "
4545-
"you are reading the code from a file, make sure to use newline conversion "
4546-
"mode to convert Windows or Mac-style newlines."
4547-
msgstr ""
4548-
"なお、パーサは Unix スタイルの行末の記法しか受け付けません。コードをファイル"
4549-
"から読んでいるなら、必ず、改行変換モードで Windows や Mac スタイルの改行を変"
4550-
"換してください。"
4551-
45524533
#: ../../builtins/functions.rst:158
45534534
msgid "Boolean"
45544535
msgstr "Boolean"

‎builtins/stdtypes.po‎

Lines changed: 22 additions & 41 deletions
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-11-05 20:53+0000\n"
17+
"POT-Creation-Date: 2026-11-09 23:13+0000\n"
1818
"PO-Revision-Date: 2026-09-13 17:09+0000\n"
1919
"Last-Translator: Takanori Suzuki <takanori@takanory.net>, 2026\n"
2020
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -2139,13 +2139,12 @@ msgstr ""
21392139
"で :exc:`GeneratorExit` を送出する待ち受け可能オブジェクトを返します "
21402140
"(``athrow(GeneratorExit)`` の呼び出しと等価です)。"
21412141

2142-
#: ../../builtins/stdtypes.rst:1225
21432142
msgid ""
21442143
"If the asynchronous generator function then exits gracefully, is already "
21452144
"closed, or raises :exc:`GeneratorExit` (by not catching the exception), then "
2146-
"the returned awaitable will raise a :exc:`StopIteration` exception. Any "
2147-
"further awaitables returned by subsequent calls to the asynchronous "
2148-
"generator will raise a :exc:`StopAsyncIteration` exception."
2145+
"the returned awaitable will raise a :exc:`StopIteration` exception. "
2146+
"Awaitables returned by subsequent calls to :meth:`~agen.__anext__` "
2147+
"or :meth:`~agen.asend` will raise a :exc:`StopAsyncIteration` exception."
21492148
msgstr ""
21502149

21512150
msgid ""
@@ -4164,30 +4163,23 @@ msgstr ""
41644163
">>> 'Py' in 'Python'\n"
41654164
"True"
41664165

4167-
#: ../../builtins/stdtypes.rst:2304
41684166
msgid ""
41694167
"Perform a string formatting operation. The string on which this method is "
41704168
"called can contain literal text or replacement fields delimited by braces "
4171-
"``{}``. Each replacement field contains either the numeric index of a "
4172-
"positional argument, or the name of a keyword argument. Returns a copy of "
4173-
"the string where each replacement field is replaced with the string value of "
4174-
"the corresponding argument. For example:"
4169+
"``{}``. Each replacement field refers to a positional argument (numbered "
4170+
"explicitly or automatically) or a keyword argument. Returns a copy of the "
4171+
"string where each replacement field is replaced with the string value of the "
4172+
"corresponding argument. For example:"
41754173
msgstr ""
41764174

41774175
msgid ""
4178-
">>> \"The sum of 1 + 2 is {0}\".format(1+2)\n"
4179-
"'The sum of 1 + 2 is 3'\n"
4180-
">>> \"The sum of {a} + {b} is {answer}\".format(answer=1+2, a=1, b=2)\n"
4176+
">>> \"The sum of {} + {} is {}\".format(1, 2, 1+2)\n"
41814177
"'The sum of 1 + 2 is 3'\n"
41824178
">>> \"{1} expects the {0} Inquisition!\".format(\"Spanish\", \"Nobody\")\n"
4183-
"'Nobody expects the Spanish Inquisition!'"
4184-
msgstr ""
4185-
">>> \"The sum of 1 + 2 is {0}\".format(1+2)\n"
4186-
"'The sum of 1 + 2 is 3'\n"
4179+
"'Nobody expects the Spanish Inquisition!'\n"
41874180
">>> \"The sum of {a} + {b} is {answer}\".format(answer=1+2, a=1, b=2)\n"
4188-
"'The sum of 1 + 2 is 3'\n"
4189-
">>> \"{1} expects the {0} Inquisition!\".format(\"Spanish\", \"Nobody\")\n"
4190-
"'Nobody expects the Spanish Inquisition!'"
4181+
"'The sum of 1 + 2 is 3'"
4182+
msgstr ""
41914183

41924184
#: ../../builtins/stdtypes.rst:2320
41934185
msgid ""
@@ -5590,18 +5582,13 @@ msgstr ""
55905582
"文字のマッピングを好みに合わせてより柔軟に変更する方法について"
55915583
"は、:mod:`codecs` モジュールも参照してください。"
55925584

5593-
#: ../../builtins/stdtypes.rst:3171
55945585
msgid ""
55955586
"Return a copy of the string with all the cased characters [4]_ converted to "
55965587
"uppercase. Note that ``s.upper().isupper()`` might be ``False`` if ``s`` "
5597-
"contains uncased characters or if the Unicode category of the resulting "
5588+
"contains no cased characters or if the Unicode category of the resulting "
55985589
"character(s) is not \"Lu\" (Letter, uppercase), but e.g. \"Lt\" (Letter, "
55995590
"titlecase)."
56005591
msgstr ""
5601-
"全ての大小文字の区別のある文字 [4]_ が大文字に変換された、文字列のコピーを返"
5602-
"します。なお ``s.upper().isupper()`` は、 ``s`` が大小文字の区別のある文字を"
5603-
"含まなかったり、結果の文字の Unicode カテゴリが \"Lu\" ではなく例えば \"Lt\" "
5604-
"(Letter, titlecase) などであったら、 ``False`` になりえます。"
56055592

56065593
msgid ""
56075594
"The uppercasing algorithm used is `described in section 3.13.2 'Default Case "
@@ -6263,11 +6250,10 @@ msgstr "``'%'``"
62636250
msgid "No argument is converted, results in a ``'%'`` character in the result."
62646251
msgstr "引数を変換せず、返される文字列中では文字 ``'%'`` になります。"
62656252

6266-
#: ../../builtins/stdtypes.rst:3530
62676253
msgid ""
6268-
"For floating-point formats, the result should be correctly rounded to a "
6269-
"given precision ``p`` of digits after the decimal point. The rounding mode "
6270-
"matches that of the :func:`round` builtin."
6254+
"For floating-point formats, the result should be correctly rounded to the "
6255+
"specified precision. The rounding mode matches that of the :func:`round` "
6256+
"builtin."
62716257
msgstr ""
62726258

62736259
#: ../../builtins/stdtypes.rst:3537 ../../builtins/stdtypes.rst:4839
@@ -9772,10 +9758,10 @@ msgstr ""
97729758
msgid "Dictionaries are now reversible."
97739759
msgstr "辞書がリバース可能になりました。"
97749760

9775-
#: ../../builtins/stdtypes.rst:5900
97769761
msgid ""
9777-
":class:`frozendict` and :class:`types.MappingProxyType` can be used to "
9778-
"create a read-only view of a :class:`dict`."
9762+
":class:`types.MappingProxyType` can be used to create a read-only view of "
9763+
"a :class:`dict`. :class:`frozendict` is an immutable version "
9764+
"of :class:`dict`."
97799765
msgstr ""
97809766

97819767
msgid ""
@@ -10045,11 +10031,10 @@ msgstr ""
1004510031
"辞書と同様に、frozendict はキーと値の型をそれぞれ表す二つの型について :ref:`"
1004610032
"ジェネリック <generics>` です。"
1004710033

10048-
#: ../../builtins/stdtypes.rst:6052
1004910034
msgid ""
1005010035
"Similar to :meth:`dict.fromkeys`, but call again the type constructor with "
1005110036
"an initialized :class:`frozendict` if the type is a :class:`frozendict` "
10052-
"subclass or if the constructor returned a :class:`frozendict`."
10037+
"subclass."
1005310038
msgstr ""
1005410039

1005510040
#: ../../builtins/stdtypes.rst:6063
@@ -11013,15 +10998,11 @@ msgstr ""
1101310998
" File \"<stdin>\", line 1, in <module>\n"
1101410999
"TypeError: cannot create 'typing.Union' instances"
1101511000

11016-
#: ../../builtins/stdtypes.rst:6503
1101711001
msgid ""
1101811002
"The :meth:`!__or__` method for type objects was added to support the syntax "
11019-
"``X | Y``. If a metaclass implements :meth:`!__or__`, the Union may "
11020-
"override it:"
11003+
"``X | Y``. If a metaclass implements :meth:`!__or__`, it may override the "
11004+
"default behavior of creating a union:"
1102111005
msgstr ""
11022-
"``X | Y`` 構文をサポートするために、型オブジェクトに :meth:`!__or__` メソッド"
11023-
"が追加されました。メタクラスで :meth:`!__or__` を実装するとUnionをオーバーラ"
11024-
"イドする場合があります::"
1102511006

1102611007
msgid ""
1102711008
">>> class M(type):\n"

‎c-api/module.po‎

Lines changed: 15 additions & 1 deletion
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-11-07 18:23+0000\n"
16+
"POT-Creation-Date: 2026-11-09 23:13+0000\n"
1717
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1818
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
1919
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -829,6 +829,20 @@ msgid ""
829829
"// This module's state has the expected memory layout; it's safe to cast\n"
830830
"struct my_state *state = (struct my_state*)PyModule_GetState(module);"
831831
msgstr ""
832+
"PyObject *module = <the module in question>;\n"
833+
"\n"
834+
"void *module_token;\n"
835+
"if (PyModule_GetToken(module, &module_token) < 0) {\n"
836+
" return NULL;\n"
837+
"}\n"
838+
"if (module_token != your_token) {\n"
839+
" PyErr_SetString(PyExc_ValueError, \"unexpected module\");\n"
840+
" return NULL;\n"
841+
"}\n"
842+
"\n"
843+
"// このモジュール状態のメモリレイアウトは想定どおりなので、安全にキャストでき"
844+
"る\n"
845+
"struct my_state *state = (struct my_state*)PyModule_GetState(module);"
832846

833847
msgid ""
834848
"A module's token -- and the *your_token* value to use in the above code -- "

‎c-api/typeobj.po‎

Lines changed: 23 additions & 1 deletion
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-11-07 18:23+0000\n"
16+
"POT-Creation-Date: 2026-11-09 23:13+0000\n"
1717
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1818
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
1919
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -5666,6 +5666,28 @@ msgid ""
56665666
" .tp_richcompare = PyBaseObject_Type.tp_richcompare,\n"
56675667
"};"
56685668
msgstr ""
5669+
"typedef struct {\n"
5670+
" PyObject_HEAD\n"
5671+
" const char *data;\n"
5672+
"} MyObject;\n"
5673+
"\n"
5674+
"static PyTypeObject MyObject_Type = {\n"
5675+
" PyVarObject_HEAD_INIT(NULL, 0)\n"
5676+
" .tp_name = \"mymod.MyObject\",\n"
5677+
" .tp_basicsize = sizeof(MyObject),\n"
5678+
" .tp_doc = PyDoc_STR(\"My objects\"),\n"
5679+
" .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE |\n"
5680+
" Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_MANAGED_DICT |\n"
5681+
" Py_TPFLAGS_MANAGED_WEAKREF,\n"
5682+
" .tp_new = myobj_new,\n"
5683+
" .tp_traverse = (traverseproc)myobj_traverse,\n"
5684+
" .tp_clear = (inquiry)myobj_clear,\n"
5685+
" .tp_alloc = PyType_GenericAlloc,\n"
5686+
" .tp_dealloc = (destructor)myobj_dealloc,\n"
5687+
" .tp_repr = (reprfunc)myobj_repr,\n"
5688+
" .tp_hash = (hashfunc)myobj_hash,\n"
5689+
" .tp_richcompare = PyBaseObject_Type.tp_richcompare,\n"
5690+
"};"
56695691

56705692
msgid ""
56715693
"A str subclass that cannot be subclassed and cannot be called to create "

‎extending/embedding.po‎

Lines changed: 13 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-11-07 18:23+0000\n"
15+
"POT-Creation-Date: 2026-11-09 23:13+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/"
@@ -220,6 +220,18 @@ msgid ""
220220
"by using the :c:func:`PyRun_SimpleFile` function, which saves you the "
221221
"trouble of allocating memory space and loading the file contents."
222222
msgstr ""
223+
"Python のランタイムライブラリのパスをインタープリタに知らせるた"
224+
"め、:c:func:`Py_InitializeFromConfig` を呼び出す前"
225+
"に :c:member:`PyConfig.program_name` を設定してください。\n"
226+
"次に :c:func:`Py_InitializeFromConfig` で Python インタープリタを初期化し、日"
227+
"時を表示する、プログラムに直接記述された Python スクリプトを実行します。\n"
228+
"その後、:c:func:`Py_FinalizeEx` の呼び出しでインタープリタを終了し、プログラ"
229+
"ムを終えます。\n"
230+
"実際のプログラムでは、テキストエディターのルーチン、ファイル、データベースな"
231+
"ど、別の場所から Python スクリプトを取得したい場合もあるでしょう。\n"
232+
"ファイルから Python コードを取得するには :c:func:`PyRun_SimpleFile` 関数を使"
233+
"うと便利です。\n"
234+
"メモリ領域を割り当ててファイルの内容を読み込む手間が省けます。"
223235

224236
#: ../../extending/embedding.rst:112
225237
msgid "Beyond Very High Level Embedding: An overview"

‎extending/extending.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-11-07 18:23+0000\n"
15+
"POT-Creation-Date: 2026-11-09 23:13+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/"
@@ -2151,6 +2151,9 @@ msgid ""
21512151
"Note that ``PySpam_API`` is declared ``static``; otherwise the pointer array "
21522152
"would disappear when :c:func:`!spam_module_exec` terminates!"
21532153
msgstr ""
2154+
"``PySpam_API`` が ``static`` として宣言されている点に注意してください。\n"
2155+
"そうしないと、:c:func:`!spam_module_exec` が終了した時点でポインターの配列が"
2156+
"消えてしまいます。"
21542157

21552158
#: ../../extending/extending.rst:1036
21562159
msgid ""

‎faq/design.po‎

Lines changed: 1 addition & 5 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-25 17:19+0000\n"
16+
"POT-Creation-Date: 2026-11-09 23:13+0000\n"
1717
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1818
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
1919
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -28,10 +28,6 @@ msgstr ""
2828
msgid "Design and History FAQ"
2929
msgstr "デザインと歴史 FAQ"
3030

31-
#: ../../faq/design.rst:6
32-
msgid "Contents"
33-
msgstr "内容"
34-
3531
#: ../../faq/design.rst:11
3632
msgid "Why does Python use indentation for grouping of statements?"
3733
msgstr "Python はなぜ文のグループ化にインデントを使うのですか?"

‎faq/extending.po‎

Lines changed: 1 addition & 5 deletions
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-25 17:19+0000\n"
15+
"POT-Creation-Date: 2026-11-09 23:13+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/"
@@ -27,10 +27,6 @@ msgstr ""
2727
msgid "Extending/Embedding FAQ"
2828
msgstr "拡張と埋め込み FAQ"
2929

30-
#: ../../faq/extending.rst:6
31-
msgid "Contents"
32-
msgstr "内容"
33-
3430
#: ../../faq/extending.rst:16
3531
msgid "Can I create my own functions in C?"
3632
msgstr "C で独自の関数を作ることはできますか?"

0 commit comments

Comments
 (0)