Skip to content

Commit

Permalink
Update translations from Transifex
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Dec 7, 2024
1 parent 75f57ef commit 6f870aa
Show file tree
Hide file tree
Showing 12 changed files with 470 additions and 478 deletions.
64 changes: 36 additions & 28 deletions c-api/stable.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-29 14:18+0000\n"
"POT-Creation-Date: 2024-12-06 14:18+0000\n"
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
"Last-Translator: qqfunc, 2024\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
Expand Down Expand Up @@ -116,8 +116,8 @@ msgstr ""
#: ../../c-api/stable.rst:67
msgid ""
"Python 3.2 introduced the *Limited API*, a subset of Python's C API. "
"Extensions that only use the Limited API can be compiled once and work with "
"multiple versions of Python. Contents of the Limited API are :ref:`listed "
"Extensions that only use the Limited API can be compiled once and be loaded "
"on multiple versions of Python. Contents of the Limited API are :ref:`listed "
"below <limited-api-list>`."
msgstr ""

Expand All @@ -133,9 +133,8 @@ msgstr ""
msgid ""
"Define ``Py_LIMITED_API`` to the value of :c:macro:`PY_VERSION_HEX` "
"corresponding to the lowest Python version your extension supports. The "
"extension will work without recompilation with all Python 3 releases from "
"the specified one onward, and can use Limited API introduced up to that "
"version."
"extension will be ABI-compatible with all Python 3 releases from the "
"specified one onward, and can use Limited API introduced up to that version."
msgstr ""

#: ../../c-api/stable.rst:83
Expand Down Expand Up @@ -164,17 +163,26 @@ msgstr "Stable ABI"
#: ../../c-api/stable.rst:96
msgid ""
"To enable this, Python provides a *Stable ABI*: a set of symbols that will "
"remain compatible across Python 3.x versions."
"remain ABI-compatible across Python 3.x versions."
msgstr ""

#: ../../c-api/stable.rst:99
#: ../../c-api/stable.rst:101
msgid ""
"The Stable ABI prevents ABI issues, like linker errors due to missing "
"symbols or data corruption due to changes in structure layouts or function "
"signatures. However, other changes in Python can change the *behavior* of "
"extensions. See Python's Backwards Compatibility Policy (:pep:`387`) for "
"details."
msgstr ""

#: ../../c-api/stable.rst:107
msgid ""
"The Stable ABI contains symbols exposed in the :ref:`Limited API <limited-c-"
"api>`, but also other ones – for example, functions necessary to support "
"older versions of the Limited API."
msgstr ""

#: ../../c-api/stable.rst:103
#: ../../c-api/stable.rst:111
msgid ""
"On Windows, extensions that use the Stable ABI should be linked against "
"``python3.dll`` rather than a version-specific library such as ``python39."
Expand All @@ -184,7 +192,7 @@ msgstr ""
"バージョン固有のライブラリではなく、 ``python3.dll`` に対してリンクする必要が"
"あります。"

#: ../../c-api/stable.rst:107
#: ../../c-api/stable.rst:115
msgid ""
"On some platforms, Python will look for and load shared library files named "
"with the ``abi3`` tag (e.g. ``mymodule.abi3.so``). It does not check if such "
Expand All @@ -199,7 +207,7 @@ msgstr ""
"れた拡張モジュールが、それ以下のバージョンの Python にインストールされないこ"
"とを確認する必要があります。"

#: ../../c-api/stable.rst:114
#: ../../c-api/stable.rst:122
msgid ""
"All functions in the Stable ABI are present as functions in Python's shared "
"library, not solely as macros. This makes them usable from languages that "
Expand All @@ -209,19 +217,19 @@ msgstr ""
"イブラリの関数として存在します。そのため、Cプリプロセッサを使用しない言語から"
"使用することができます。"

#: ../../c-api/stable.rst:120
#: ../../c-api/stable.rst:128
msgid "Limited API Scope and Performance"
msgstr "APIスコープとパフォーマンスの制限"

#: ../../c-api/stable.rst:122
#: ../../c-api/stable.rst:130
msgid ""
"The goal for the Limited API is to allow everything that is possible with "
"the full C API, but possibly with a performance penalty."
msgstr ""
"Limited API の目標は、フル C API で可能なすべてのことを実現することですが、お"
"そらく性能上の制約があります。"

#: ../../c-api/stable.rst:125
#: ../../c-api/stable.rst:133
msgid ""
"For example, while :c:func:`PyList_GetItem` is available, its “unsafe” macro "
"variant :c:func:`PyList_GET_ITEM` is not. The macro can be faster because it "
Expand All @@ -232,7 +240,7 @@ msgstr ""
"トのバージョン固有の実装の詳細に依存することができるため、より高速に処理する"
"ことができます。"

#: ../../c-api/stable.rst:130
#: ../../c-api/stable.rst:138
msgid ""
"Without ``Py_LIMITED_API`` defined, some C API functions are inlined or "
"replaced by macros. Defining ``Py_LIMITED_API`` disables this inlining, "
Expand All @@ -244,7 +252,7 @@ msgstr ""
"イン化が無効になり、 Python のデータ構造が改善されても安定した動作が可能にな"
"りますが、性能が低下する可能性があります。"

#: ../../c-api/stable.rst:135
#: ../../c-api/stable.rst:143
msgid ""
"By leaving out the ``Py_LIMITED_API`` definition, it is possible to compile "
"a Limited API extension with a version-specific ABI. This can improve "
Expand All @@ -260,19 +268,19 @@ msgstr ""
"きない場合、例えば、次期 Python バージョンのプレリリースに対応した拡張モ"
"ジュールを配布することができるようになります。"

#: ../../c-api/stable.rst:144
#: ../../c-api/stable.rst:152
msgid "Limited API Caveats"
msgstr "制限付きAPIの注意点"

#: ../../c-api/stable.rst:146
#: ../../c-api/stable.rst:154
msgid ""
"Note that compiling with ``Py_LIMITED_API`` is *not* a complete guarantee "
"that code conforms to the :ref:`Limited API <limited-c-api>` or the :ref:"
"`Stable ABI <stable-abi>`. ``Py_LIMITED_API`` only covers definitions, but "
"an API also includes other issues, such as expected semantics."
msgstr ""

#: ../../c-api/stable.rst:151
#: ../../c-api/stable.rst:159
msgid ""
"One issue that ``Py_LIMITED_API`` does not guard against is calling a "
"function with arguments that are invalid in a lower Python version. For "
Expand All @@ -287,15 +295,15 @@ msgstr ""
"Python 3.8 ではこの引数は直接使用され、 ``NULL`` の参照外れを起こしクラッシュ"
"します。同様の引数は、構造体のフィールドに対しても機能します。"

#: ../../c-api/stable.rst:158
#: ../../c-api/stable.rst:166
msgid ""
"Another issue is that some struct fields are currently not hidden when "
"``Py_LIMITED_API`` is defined, even though they're part of the Limited API."
msgstr ""
"もう一つの問題は、一部の構造体フィールドがLimited APIの一部であるにもかかわら"
"ず、 ``Py_LIMITED_API`` が定義されたときに現在非表示になっていないことです。"

#: ../../c-api/stable.rst:161
#: ../../c-api/stable.rst:169
msgid ""
"For these reasons, we recommend testing an extension with *all* minor Python "
"versions it supports, and preferably to build with the *lowest* such version."
Expand All @@ -304,7 +312,7 @@ msgstr ""
"Python バージョンでテストすること、そしてできれば *最も低い* バージョンでビル"
"ドすることを推奨します。"

#: ../../c-api/stable.rst:164
#: ../../c-api/stable.rst:172
msgid ""
"We also recommend reviewing documentation of all used API to check if it is "
"explicitly part of the Limited API. Even with ``Py_LIMITED_API`` defined, a "
Expand All @@ -316,7 +324,7 @@ msgstr ""
"が定義されていても、技術的な理由で(あるいはバグとして意図せず)いくつかのプラ"
"イベート宣言が公開されることがあります。"

#: ../../c-api/stable.rst:169
#: ../../c-api/stable.rst:177
msgid ""
"Also note that the Limited API is not necessarily stable: compiling with "
"``Py_LIMITED_API`` with Python 3.8 means that the extension will run with "
Expand All @@ -329,19 +337,19 @@ msgstr ""
"らないことに注意してください。特に、Limited API の一部は、 Stable ABI が安定"
"している限り、非推奨で削除されるかもしれません。"

#: ../../c-api/stable.rst:179
#: ../../c-api/stable.rst:187
msgid "Platform Considerations"
msgstr "プラットフォームで考慮すべき点"

#: ../../c-api/stable.rst:181
#: ../../c-api/stable.rst:189
msgid ""
"ABI stability depends not only on Python, but also on the compiler used, "
"lower-level libraries and compiler options. For the purposes of the :ref:"
"`Stable ABI <stable-abi>`, these details define a “platform”. They usually "
"depend on the OS type and processor architecture"
msgstr ""

#: ../../c-api/stable.rst:186
#: ../../c-api/stable.rst:194
msgid ""
"It is the responsibility of each particular distributor of Python to ensure "
"that all Python versions on a particular platform are built in a way that "
Expand All @@ -353,11 +361,11 @@ msgstr ""
"これは ``python.org`` や多くのサードパーティーの配布元からの Windows と "
"macOS のリリースの場合です。"

#: ../../c-api/stable.rst:196
#: ../../c-api/stable.rst:204
msgid "Contents of Limited API"
msgstr "限定版APIの内容"

#: ../../c-api/stable.rst:199
#: ../../c-api/stable.rst:207
msgid ""
"Currently, the :ref:`Limited API <limited-c-api>` includes the following "
"items:"
Expand Down
10 changes: 5 additions & 5 deletions c-api/type.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-22 14:17+0000\n"
"POT-Creation-Date: 2024-12-06 14:18+0000\n"
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
"Last-Translator: qqfunc, 2024\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
Expand Down Expand Up @@ -622,24 +622,24 @@ msgid ""
"`PyType_FromSpecWithBases` instead."
msgstr ""

#: ../../c-api/type.rst:517
#: ../../c-api/type.rst:515
msgid "Slots in :c:type:`PyBufferProcs` may be set in the unlimited API."
msgstr ""

#: ../../c-api/type.rst:519
#: ../../c-api/type.rst:518
msgid ""
":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs."
"bf_releasebuffer` are now available under the :ref:`limited API <limited-c-"
"api>`."
msgstr ""

#: ../../c-api/type.rst:526
#: ../../c-api/type.rst:525
msgid ""
"The desired value of the slot. In most cases, this is a pointer to a "
"function."
msgstr ""

#: ../../c-api/type.rst:529
#: ../../c-api/type.rst:528
msgid "Slots other than ``Py_tp_doc`` may not be ``NULL``."
msgstr ""

Expand Down
10 changes: 6 additions & 4 deletions howto/gdb_helpers.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-19 01:00+0000\n"
"POT-Creation-Date: 2024-12-06 14:18+0000\n"
"PO-Revision-Date: 2024-02-25 01:11+0000\n"
"Last-Translator: tomo, 2024\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
Expand Down Expand Up @@ -303,13 +303,15 @@ msgstr ""
#: ../../howto/gdb_helpers.rst:183
msgid ""
"The internal structure can be revealed with a cast to :c:expr:`PyLongObject "
"*`:"
"*`::"
msgstr ""

#: ../../howto/gdb_helpers.rst:185
msgid ""
"(gdb) p *(PyLongObject*)some_python_integer $5 = {ob_base = {ob_base = "
"{ob_refcnt = 8, ob_type = 0x3dad39f5e0}, ob_size = 1}, ob_digit = {42}}"
"(gdb) p *(PyLongObject*)some_python_integer\n"
"$5 = {ob_base = {ob_base = {ob_refcnt = 8, ob_type = 0x3dad39f5e0}, ob_size "
"= 1},\n"
"ob_digit = {42}}"
msgstr ""

#: ../../howto/gdb_helpers.rst:189
Expand Down
16 changes: 9 additions & 7 deletions library/asyncio-sync.po
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-19 01:00+0000\n"
"POT-Creation-Date: 2024-12-06 14:18+0000\n"
"PO-Revision-Date: 2021-06-28 00:55+0000\n"
"Last-Translator: qqfunc, 2024\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
Expand Down Expand Up @@ -427,8 +427,9 @@ msgstr ""
#: ../../library/asyncio-sync.rst:260
msgid ""
"Note that a task *may* return from this call spuriously, which is why the "
"caller should always re-check the state and be prepared to :meth:`wait` "
"again. For this reason, you may prefer to use :meth:`wait_for` instead."
"caller should always re-check the state and be prepared to :meth:`~Condition."
"wait` again. For this reason, you may prefer to use :meth:`~Condition."
"wait_for` instead."
msgstr ""

#: ../../library/asyncio-sync.rst:267
Expand All @@ -438,8 +439,8 @@ msgstr "引数 predicate の条件が *真* になるまで待機します。"
#: ../../library/asyncio-sync.rst:269
msgid ""
"The predicate must be a callable which result will be interpreted as a "
"boolean value. The method will repeatedly :meth:`wait` until the predicate "
"evaluates to *true*. The final value is the return value."
"boolean value. The method will repeatedly :meth:`~Condition.wait` until the "
"predicate evaluates to *true*. The final value is the return value."
msgstr ""

#: ../../library/asyncio-sync.rst:276
Expand Down Expand Up @@ -667,8 +668,9 @@ msgstr ""
#: ../../library/asyncio-sync.rst:436
msgid ""
"Put the barrier into a broken state. This causes any active or future calls "
"to :meth:`wait` to fail with the :class:`BrokenBarrierError`. Use this for "
"example if one of the tasks needs to abort, to avoid infinite waiting tasks."
"to :meth:`~Barrier.wait` to fail with the :class:`BrokenBarrierError`. Use "
"this for example if one of the tasks needs to abort, to avoid infinite "
"waiting tasks."
msgstr ""

#: ../../library/asyncio-sync.rst:443
Expand Down
15 changes: 4 additions & 11 deletions library/collections.po
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-29 14:18+0000\n"
"POT-Creation-Date: 2024-12-06 14:18+0000\n"
"PO-Revision-Date: 2021-06-28 00:56+0000\n"
"Last-Translator: qqfunc, 2024\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
Expand Down Expand Up @@ -1279,20 +1279,13 @@ msgstr ""
msgid ""
"When each key is encountered for the first time, it is not already in the "
"mapping; so an entry is automatically created using the :attr:`~defaultdict."
"default_factory` function which returns an empty :class:`list`. The :meth:"
"`list.append` operation then attaches the value to the new list. When keys "
"default_factory` function which returns an empty :class:`list`. The :meth:`!"
"list.append` operation then attaches the value to the new list. When keys "
"are encountered again, the look-up proceeds normally (returning the list for "
"that key) and the :meth:`list.append` operation adds another value to the "
"that key) and the :meth:`!list.append` operation adds another value to the "
"list. This technique is simpler and faster than an equivalent technique "
"using :meth:`dict.setdefault`:"
msgstr ""
"それぞれのキーが最初に登場したとき、マッピングにはまだ存在しません。そのため"
"エントリは :attr:`~defaultdict.default_factory` 関数が返す空の :class:`list` "
"を使って自動的に作成されます。 :meth:`list.append` 操作は新しいリストに紐付け"
"られます。キーが再度出現した場合には、通常の参照動作が行われます(そのキーに対"
"応するリストが返ります)。そして :meth:`list.append` 操作で別の値をリストに追"
"加します。このテクニックは :meth:`dict.setdefault` を使った等価なものよりシン"
"プルで速いです:"

#: ../../library/collections.rst:799
msgid ""
Expand Down
Loading

0 comments on commit 6f870aa

Please sign in to comment.