Skip to content

Commit 487eba4

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

52 files changed

Lines changed: 496 additions & 756 deletions

Some content is hidden

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

‎c-api/module.po‎

Lines changed: 4 additions & 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-11-03 20:20+0000\n"
16+
"POT-Creation-Date: 2026-11-07 18:23+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/"
@@ -814,21 +814,20 @@ msgstr ""
814814
"つまり、手元のモジュールオブジェクトが自分の拡張モジュールに「属する」かどう"
815815
"か不明な場合は、次のようなコードで確認できます:"
816816

817-
#: ../../c-api/module.rst:554
818817
msgid ""
819-
"PyObject *module = <the module in question>\n"
818+
"PyObject *module = <the module in question>;\n"
820819
"\n"
821820
"void *module_token;\n"
822821
"if (PyModule_GetToken(module, &module_token) < 0) {\n"
823822
" return NULL;\n"
824823
"}\n"
825824
"if (module_token != your_token) {\n"
826-
" PyErr_SetString(PyExc_ValueError, \"unexpected module\")\n"
825+
" PyErr_SetString(PyExc_ValueError, \"unexpected module\");\n"
827826
" return NULL;\n"
828827
"}\n"
829828
"\n"
830829
"// This module's state has the expected memory layout; it's safe to cast\n"
831-
"struct my_state state = (struct my_state*)PyModule_GetState(module)"
830+
"struct my_state *state = (struct my_state*)PyModule_GetState(module);"
832831
msgstr ""
833832

834833
msgid ""

‎c-api/typeobj.po‎

Lines changed: 2 additions & 3 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-11-05 20:53+0000\n"
16+
"POT-Creation-Date: 2026-11-07 18:23+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/"
@@ -5642,7 +5642,6 @@ msgstr ""
56425642
msgid "A type that supports weakrefs, instance dicts, and hashing::"
56435643
msgstr "弱参照やインスタンス辞書、ハッシュをサポートする型::"
56445644

5645-
#: ../../c-api/typeobj.rst:3329
56465645
msgid ""
56475646
"typedef struct {\n"
56485647
" PyObject_HEAD\n"
@@ -5660,7 +5659,7 @@ msgid ""
56605659
" .tp_new = myobj_new,\n"
56615660
" .tp_traverse = (traverseproc)myobj_traverse,\n"
56625661
" .tp_clear = (inquiry)myobj_clear,\n"
5663-
" .tp_alloc = PyType_GenericNew,\n"
5662+
" .tp_alloc = PyType_GenericAlloc,\n"
56645663
" .tp_dealloc = (destructor)myobj_dealloc,\n"
56655664
" .tp_repr = (reprfunc)myobj_repr,\n"
56665665
" .tp_hash = (hashfunc)myobj_hash,\n"

‎extending/embedding.po‎

Lines changed: 9 additions & 10 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-27 19:03+0000\n"
15+
"POT-Creation-Date: 2026-11-07 18:23+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/"
@@ -207,19 +207,18 @@ msgstr ""
207207
"Python 3.13 以降では不要となりましたが、後方互換性のために維持されています。"
208208
"このマクロの説明は :ref:`arg-parsing-string-and-buffers` にあります。"
209209

210-
#: ../../extending/embedding.rst:97
211210
msgid ""
212211
"Setting :c:member:`PyConfig.program_name` should be called "
213212
"before :c:func:`Py_InitializeFromConfig` to inform the interpreter about "
214213
"paths to Python run-time libraries. Next, the Python interpreter is "
215-
"initialized with :c:func:`Py_Initialize`, followed by the execution of a "
216-
"hard-coded Python script that prints the date and time. Afterwards, "
217-
"the :c:func:`Py_FinalizeEx` call shuts the interpreter down, followed by the "
218-
"end of the program. In a real program, you may want to get the Python "
219-
"script from another source, perhaps a text-editor routine, a file, or a "
220-
"database. Getting the Python code from a file can better be done by using "
221-
"the :c:func:`PyRun_SimpleFile` function, which saves you the trouble of "
222-
"allocating memory space and loading the file contents."
214+
"initialized with :c:func:`Py_InitializeFromConfig`, followed by the "
215+
"execution of a hard-coded Python script that prints the date and time. "
216+
"Afterwards, the :c:func:`Py_FinalizeEx` call shuts the interpreter down, "
217+
"followed by the end of the program. In a real program, you may want to get "
218+
"the Python script from another source, perhaps a text-editor routine, a "
219+
"file, or a database. Getting the Python code from a file can better be done "
220+
"by using the :c:func:`PyRun_SimpleFile` function, which saves you the "
221+
"trouble of allocating memory space and loading the file contents."
223222
msgstr ""
224223

225224
#: ../../extending/embedding.rst:112

‎extending/extending.po‎

Lines changed: 2 additions & 3 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-11-01 18:39+0000\n"
15+
"POT-Creation-Date: 2026-11-07 18:23+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/"
@@ -2147,10 +2147,9 @@ msgstr ""
21472147
" return 0;\n"
21482148
"}"
21492149

2150-
#: ../../extending/extending.rst:1033
21512150
msgid ""
21522151
"Note that ``PySpam_API`` is declared ``static``; otherwise the pointer array "
2153-
"would disappear when :c:func:`!PyInit_spam` terminates!"
2152+
"would disappear when :c:func:`!spam_module_exec` terminates!"
21542153
msgstr ""
21552154

21562155
#: ../../extending/extending.rst:1036

‎howto/descriptor.po‎

Lines changed: 2 additions & 3 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-11-05 20:53+0000\n"
16+
"POT-Creation-Date: 2026-11-07 18:23+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/"
@@ -2577,14 +2577,13 @@ msgstr ""
25772577
":meth:`!type.__new__` メソッドが、クラス変数にメンバーオブジェクトを追加しま"
25782578
"す。"
25792579

2580-
#: ../../howto/descriptor.rst:1674
25812580
msgid ""
25822581
"class Type(type):\n"
25832582
" 'Simulate how the type metaclass adds member objects for slots'\n"
25842583
"\n"
25852584
" def __new__(mcls, clsname, bases, mapping, **kwargs):\n"
25862585
" 'Emulate type_new() in Objects/typeobject.c'\n"
2587-
" # type_new() calls PyTypeReady() which calls add_methods()\n"
2586+
" # type_new() calls PyType_Ready() which calls add_methods()\n"
25882587
" slot_names = mapping.get('slot_names', [])\n"
25892588
" for offset, name in enumerate(slot_names):\n"
25902589
" mapping[name] = Member(name, clsname, offset)\n"

‎howto/instrumentation.po‎

Lines changed: 3 additions & 22 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-11-03 20:20+0000\n"
15+
"POT-Creation-Date: 2026-11-07 18:23+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/"
@@ -771,12 +771,11 @@ msgstr ""
771771
"共有ライブラリを使わない CPython のビルドを対象とする tapset ファイルの例を示"
772772
"します:"
773773

774-
#: ../../howto/instrumentation.rst:428
775774
msgid ""
776775
"/*\n"
777776
" Provide a higher-level wrapping around the function__entry and\n"
778777
" function__return markers:\n"
779-
" \\*/\n"
778+
" */\n"
780779
"probe python.function.entry = process(\"python\").mark(\"function__entry\")\n"
781780
"{\n"
782781
" filename = user_string($arg1);\n"
@@ -874,7 +873,7 @@ msgid ""
874873
"}\n"
875874
"\n"
876875
"probe timer.ms(1000) {\n"
877-
" printf(\"\\033[2J\\033[1;1H\") /* clear screen \\*/\n"
876+
" printf(\"\\033[2J\\033[1;1H\") /* clear screen */\n"
878877
" printf(\"%6s %80s %6s %30s %6s\\n\",\n"
879878
" \"PID\", \"FILENAME\", \"LINE\", \"FUNCTION\", \"CALLS\")\n"
880879
" foreach ([pid, filename, funcname, lineno] in fn_calls- limit 20) {\n"
@@ -885,21 +884,3 @@ msgid ""
885884
" delete fn_calls;\n"
886885
"}"
887886
msgstr ""
888-
"global fn_calls;\n"
889-
"\n"
890-
"probe python.function.entry\n"
891-
"{\n"
892-
" fn_calls[pid(), filename, funcname, lineno] += 1;\n"
893-
"}\n"
894-
"\n"
895-
"probe timer.ms(1000) {\n"
896-
" printf(\"\\033[2J\\033[1;1H\") /* clear screen \\*/\n"
897-
" printf(\"%6s %80s %6s %30s %6s\\n\",\n"
898-
" \"PID\", \"FILENAME\", \"LINE\", \"FUNCTION\", \"CALLS\")\n"
899-
" foreach ([pid, filename, funcname, lineno] in fn_calls- limit 20) {\n"
900-
" printf(\"%6d %80s %6d %30s %6d\\n\",\n"
901-
" pid, filename, lineno, funcname,\n"
902-
" fn_calls[pid, filename, funcname, lineno]);\n"
903-
" }\n"
904-
" delete fn_calls;\n"
905-
"}"

‎howto/isolating-extensions.po‎

Lines changed: 3 additions & 4 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-11-05 20:53+0000\n"
16+
"POT-Creation-Date: 2026-11-07 18:23+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/"
@@ -1025,7 +1025,6 @@ msgstr ""
10251025
msgid "For example::"
10261026
msgstr "例えば::"
10271027

1028-
#: ../../howto/isolating-extensions.rst:540
10291028
msgid ""
10301029
"static PyObject *\n"
10311030
"example_method(PyObject *self,\n"
@@ -1047,9 +1046,9 @@ msgid ""
10471046
" {\"example_method\",\n"
10481047
" (PyCFunction)(void(*)(void))example_method,\n"
10491048
" METH_METHOD|METH_FASTCALL|METH_KEYWORDS,\n"
1050-
" example_method_doc}\n"
1049+
" example_method_doc},\n"
10511050
" {NULL},\n"
1052-
"}"
1051+
"};"
10531052
msgstr ""
10541053

10551054
msgid "Module State Access from Slot Methods, Getters and Setters"

‎howto/logging-cookbook.po‎

Lines changed: 2 additions & 3 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-07 18:23+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/"
@@ -2200,7 +2200,6 @@ msgstr ""
22002200
"ションがどのように動作するかを模擬的にあらわしています - すなわち各リクエスト"
22012201
"はスレッドで処理される状況です:"
22022202

2203-
#: ../../howto/logging-cookbook.rst:1061
22042203
msgid ""
22052204
"# main.py\n"
22062205
"import argparse\n"
@@ -2230,7 +2229,7 @@ msgid ""
22302229
"pick\n"
22312230
"# from this list randomly. Note that all GET requests are from "
22322231
"192.168.2.XXX\n"
2233-
"# addresses, whereas POST requests are from 192.16.3.XXX addresses. Three "
2232+
"# addresses, whereas POST requests are from 192.168.3.XXX addresses. Three "
22342233
"users\n"
22352234
"# are represented in the sample requests.\n"
22362235
"\n"

‎library/annotationlib.po‎

Lines changed: 2 additions & 3 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-07 18:23+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/"
@@ -1129,13 +1129,12 @@ msgstr ""
11291129
msgid "Or used as the annotate function for an object:"
11301130
msgstr "また、オブジェクトの annotate 関数としても使えます。"
11311131

1132-
#: ../../library/annotationlib.rst:578
11331132
msgid ""
11341133
">>> from annotationlib import get_annotations, Format\n"
11351134
">>> class C:\n"
11361135
"... pass\n"
11371136
">>> C.__annotate__ = Annotate()\n"
1138-
">>> get_annotations(Annotate(), format=Format.STRING)\n"
1137+
">>> get_annotations(C, format=Format.STRING)\n"
11391138
"{'x': 'MyType'}"
11401139
msgstr ""
11411140

‎library/argparse.po‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.15\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2026-11-03 20:20+0000\n"
18+
"POT-Creation-Date: 2026-11-07 18:23+0000\n"
1919
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
2020
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
2121
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -1465,18 +1465,17 @@ msgstr ""
14651465
"metavar_ のデフォルトは、この名前を大文字にしたものです。\n"
14661466
"例えば次のようになります。 ::"
14671467

1468-
#: ../../library/argparse.rst:744
14691468
msgid ""
14701469
">>> parser = argparse.ArgumentParser(prog='PROG')\n"
14711470
">>> parser.add_argument('--foo-bar')\n"
14721471
">>> parser.parse_args(['--foo-bar', 'FOO-BAR'])\n"
14731472
"Namespace(foo_bar='FOO-BAR')\n"
14741473
">>> parser.print_help()\n"
1475-
"usage: [-h] [--foo-bar FOO-BAR]\n"
1474+
"usage: [-h] [--foo-bar FOO_BAR]\n"
14761475
"\n"
14771476
"optional arguments:\n"
14781477
" -h, --help show this help message and exit\n"
1479-
" --foo-bar FOO-BAR"
1478+
" --foo-bar FOO_BAR"
14801479
msgstr ""
14811480

14821481
msgid "``action``"
@@ -2721,7 +2720,6 @@ msgstr ""
27212720
"す。\n"
27222721
"以下の例でこの動作を示します。 ::"
27232722

2724-
#: ../../library/argparse.rst:1361
27252723
msgid ""
27262724
">>> parser = argparse.ArgumentParser()\n"
27272725
">>> parser.add_argument('-f', '--foo-bar', '--foo')\n"
@@ -2730,7 +2728,7 @@ msgid ""
27302728
">>> parser.parse_args('-f 1 -q 2 -x 3'.split())\n"
27312729
"Namespace(foo_bar='1', quz='2', x='3')\n"
27322730
">>> parser.parse_args('--foo 1 -quz 2 -y 3'.split())\n"
2733-
"Namespace(foo_bar='1', quz='2', x='2')"
2731+
"Namespace(foo_bar='1', quz='2', x='3')"
27342732
msgstr ""
27352733

27362734
#: ../../library/argparse.rst:1370

0 commit comments

Comments
 (0)