Skip to content

Commit 8d49eb2

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 080d678 commit 8d49eb2

Some content is hidden

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

98 files changed

+2166
-2870
lines changed

c-api/arg.po

+3-22
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-06-30 14:13+0000\n"
15+
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1717
"Last-Translator: Arihiro TAKASE, 2023\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -823,17 +823,11 @@ msgstr ""
823823
#: ../../c-api/arg.rst:345
824824
msgid ""
825825
"It is possible to pass \"long\" integers (integers whose value exceeds the "
826-
"platform's :const:`LONG_MAX`) however no proper range checking is done --- "
826+
"platform's :c:macro:`LONG_MAX`) however no proper range checking is done --- "
827827
"the most significant bits are silently truncated when the receiving field is "
828828
"too small to receive the value (actually, the semantics are inherited from "
829829
"downcasts in C --- your mileage may vary)."
830830
msgstr ""
831-
"\"\" 整数 (プラットフォームの :const:`LONG_MAX` を超える値の整数) を渡すの"
832-
"は可能です; しかしながら、適切な値域チェックはまったく行われません --- 値を受"
833-
"け取るためのフィールドが、値全てを受け取るには小さすぎる場合、上桁のビット群"
834-
"は暗黙のうちに切り詰められます (実際のところ、このセマンティクスは C のダウン"
835-
"キャスト (downcast) から継承しています --- その恩恵は人それぞれかもしれません"
836-
"が)。"
837831

838832
#: ../../c-api/arg.rst:351
839833
msgid ""
@@ -1024,7 +1018,7 @@ msgstr ""
10241018
msgid ""
10251019
"A simpler form of parameter retrieval which does not use a format string to "
10261020
"specify the types of the arguments. Functions which use this method to "
1027-
"retrieve their parameters should be declared as :const:`METH_VARARGS` in "
1021+
"retrieve their parameters should be declared as :c:macro:`METH_VARARGS` in "
10281022
"function or method tables. The tuple containing the actual parameters "
10291023
"should be passed as *args*; it must actually be a tuple. The length of the "
10301024
"tuple must be at least *min* and no more than *max*; *min* and *max* may be "
@@ -1037,19 +1031,6 @@ msgid ""
10371031
"a tuple or contains the wrong number of elements; an exception will be set "
10381032
"if there was a failure."
10391033
msgstr ""
1040-
"パラメータ取得を簡単にした形式で、引数の型を指定する書式文字列を使いません。"
1041-
"パラメタの取得にこの手法を使う関数は、関数宣言テーブル、またはメソッド宣言"
1042-
"テーブル内で :const:`METH_VARARGS` として宣言しなければなりません。実引数の"
1043-
"入ったタプルは *args* に渡します; このタプルは本当のタプルでなければなりませ"
1044-
"ん。タプルの長さは少なくとも *min* で、 *max* を超えてはなりません; *min* と "
1045-
"*max* が等しくてもかまいません。補助引数を関数に渡さなければならず、各補助引"
1046-
"数は :c:expr:`PyObject*` 変数へのポインタでなければなりません; これらの補助引"
1047-
"数には、 *args* の値が入ります; 値の参照は :term:`借用参照 <borrowed "
1048-
"reference>` です。オプションのパラメタに対応する変数のうち、 *args* に指定し"
1049-
"ていないものには値が入りません; 呼び出し側はそれらの値を初期化しておかなけれ"
1050-
"ばなりません。この関数は成功すると真を返し、 *args* がタプルでない場合や間"
1051-
"違った数の要素が入っている場合に偽を返します; 何らかの失敗が起きた場合には例"
1052-
"外をセットします。"
10531034

10541035
#: ../../c-api/arg.rst:471
10551036
msgid ""

c-api/call.po

+10-10
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.12\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2023-06-30 14:13+0000\n"
17+
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
1818
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1919
"Last-Translator: Takanori Suzuki <takanori@takanory.net>, 2023\n"
2020
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -94,11 +94,11 @@ msgstr ""
9494

9595
#: ../../c-api/call.rst:62
9696
msgid ""
97-
"The :const:`Py_TPFLAGS_HAVE_VECTORCALL` flag is now removed from a class "
97+
"The :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` flag is now removed from a class "
9898
"when the class's :py:meth:`~object.__call__` method is reassigned. (This "
9999
"internally sets :c:member:`~PyTypeObject.tp_call` only, and thus may make it "
100100
"behave differently than the vectorcall function.) In earlier Python "
101-
"versions, vectorcall should only be used with :const:`immutable "
101+
"versions, vectorcall should only be used with :c:macro:`immutable "
102102
"<Py_TPFLAGS_IMMUTABLETYPE>` or static types."
103103
msgstr ""
104104

@@ -112,7 +112,7 @@ msgstr ""
112112

113113
#: ../../c-api/call.rst:74
114114
msgid ""
115-
"Classes can implement the vectorcall protocol by enabling the :const:"
115+
"Classes can implement the vectorcall protocol by enabling the :c:macro:"
116116
"`Py_TPFLAGS_HAVE_VECTORCALL` flag and setting :c:member:`~PyTypeObject."
117117
"tp_vectorcall_offset` to the offset inside the object structure where a "
118118
"*vectorcallfunc* appears. This is a pointer to a function with the following "
@@ -140,7 +140,7 @@ msgstr ""
140140

141141
#: ../../c-api/call.rst:87
142142
msgid ""
143-
":const:`PY_VECTORCALL_ARGUMENTS_OFFSET` flag. To get the actual number of "
143+
":c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` flag. To get the actual number of "
144144
"positional arguments from *nargsf*, use :c:func:`PyVectorcall_NARGS`."
145145
msgstr ""
146146

@@ -172,7 +172,7 @@ msgstr ""
172172
#: ../../c-api/call.rst:106
173173
msgid ""
174174
"Whenever they can do so cheaply (without additional allocation), callers are "
175-
"encouraged to use :const:`PY_VECTORCALL_ARGUMENTS_OFFSET`. Doing so will "
175+
"encouraged to use :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`. Doing so will "
176176
"allow callables such as bound methods to make their onward calls (which "
177177
"include a prepended *self* argument) very efficiently."
178178
msgstr ""
@@ -254,7 +254,7 @@ msgstr ""
254254
msgid ""
255255
"This is a specialized function, intended to be put in the :c:member:"
256256
"`~PyTypeObject.tp_call` slot or be used in an implementation of ``tp_call``. "
257-
"It does not check the :const:`Py_TPFLAGS_HAVE_VECTORCALL` flag and it does "
257+
"It does not check the :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` flag and it does "
258258
"not fall back to ``tp_call``."
259259
msgstr ""
260260

@@ -583,15 +583,15 @@ msgid ""
583583
"method is given as a Python string *name*. The object whose method is called "
584584
"is *args[0]*, and the *args* array starting at *args[1]* represents the "
585585
"arguments of the call. There must be at least one positional argument. "
586-
"*nargsf* is the number of positional arguments including *args[0]*, plus :"
587-
"const:`PY_VECTORCALL_ARGUMENTS_OFFSET` if the value of ``args[0]`` may "
586+
"*nargsf* is the number of positional arguments including *args[0]*, plus :c:"
587+
"macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` if the value of ``args[0]`` may "
588588
"temporarily be changed. Keyword arguments can be passed just like in :c:func:"
589589
"`PyObject_Vectorcall`."
590590
msgstr ""
591591

592592
#: ../../c-api/call.rst:399
593593
msgid ""
594-
"If the object has the :const:`Py_TPFLAGS_METHOD_DESCRIPTOR` feature, this "
594+
"If the object has the :c:macro:`Py_TPFLAGS_METHOD_DESCRIPTOR` feature, this "
595595
"will call the unbound method object with the full *args* vector as arguments."
596596
msgstr ""
597597

c-api/complex.po

+3-7
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-07-07 14:14+0000\n"
15+
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1717
"Last-Translator: tomo, 2023\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -97,10 +97,8 @@ msgstr "二つの複素数の商を C の :c:type:`Py_complex` 型で返しま
9797
#: ../../c-api/complex.rst:66
9898
msgid ""
9999
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
100-
"c:data:`EDOM`."
100+
"c:macro:`EDOM`."
101101
msgstr ""
102-
"*divisor* が null の場合は、このメソッドはゼロを返し、 :c:data:`errno` に :c:"
103-
"data:`EDOM` をセットします。"
104102

105103
#: ../../c-api/complex.rst:72
106104
msgid ""
@@ -111,10 +109,8 @@ msgstr "指数 *exp* の *num* 乗を C の :c:type:`Py_complex` 型で返しま
111109
#: ../../c-api/complex.rst:75
112110
msgid ""
113111
"If *num* is null and *exp* is not a positive real number, this method "
114-
"returns zero and sets :c:data:`errno` to :c:data:`EDOM`."
112+
"returns zero and sets :c:data:`errno` to :c:macro:`EDOM`."
115113
msgstr ""
116-
"*num* が null で *exp* が正の実数でない場合は、このメソッドはゼロを返し、 :c:"
117-
"data:`errno` に :c:data:`EDOM` をセットします。"
118114

119115
#: ../../c-api/complex.rst:80
120116
msgid "Complex Numbers as Python Objects"

c-api/exceptions.po

+12-36
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.12\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2023-07-14 14:14+0000\n"
18+
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
1919
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
2020
"Last-Translator: tomo, 2023\n"
2121
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -274,22 +274,12 @@ msgid ""
274274
"constructs a tuple object whose first item is the integer :c:data:`errno` "
275275
"value and whose second item is the corresponding error message (gotten from :"
276276
"c:func:`strerror`), and then calls ``PyErr_SetObject(type, object)``. On "
277-
"Unix, when the :c:data:`errno` value is :const:`EINTR`, indicating an "
277+
"Unix, when the :c:data:`errno` value is :c:macro:`EINTR`, indicating an "
278278
"interrupted system call, this calls :c:func:`PyErr_CheckSignals`, and if "
279279
"that set the error indicator, leaves it set to that. The function always "
280280
"returns ``NULL``, so a wrapper function around a system call can write "
281281
"``return PyErr_SetFromErrno(type);`` when the system call returns an error."
282282
msgstr ""
283-
"Cライブラリ関数がエラーを返してC変数 :c:data:`errno` を設定したときに、これは"
284-
"例外を発生させるために便利な関数です。第一要素が整数 :c:data:`errno` 値で、第"
285-
"二要素が (:c:func:`strerror` から得られる)対応するエラーメッセージであるタプ"
286-
"ルオブジェクトを構成します。それから、 ``PyErr_SetObject(type, object)`` を呼"
287-
"び出します。 Unixでは、 :c:data:`errno` 値が :const:`EINTR` であるとき、すな"
288-
"わち割り込まれたシステムコールを表しているとき、これは :c:func:"
289-
"`PyErr_CheckSignals` を呼び出し、それがエラーインジケータを設定した場合は設定"
290-
"されたままにしておきます。関数は常に ``NULL`` を返します。したがって、システ"
291-
"ムコールがエラーを返したとき、システムコールのラッパー関数は ``return "
292-
"PyErr_SetFromErrno(type);`` と書くことができます。"
293283

294284
#: ../../c-api/exceptions.rst:177
295285
msgid ""
@@ -866,14 +856,14 @@ msgstr ""
866856

867857
#: ../../c-api/exceptions.rst:634
868858
msgid ""
869-
"The default Python signal handler for :const:`SIGINT` raises the :exc:"
859+
"The default Python signal handler for :c:macro:`SIGINT` raises the :exc:"
870860
"`KeyboardInterrupt` exception."
871861
msgstr ""
872862

873863
#: ../../c-api/exceptions.rst:645
874864
msgid ""
875-
"Simulate the effect of a :const:`SIGINT` signal arriving. This is equivalent "
876-
"to ``PyErr_SetInterruptEx(SIGINT)``."
865+
"Simulate the effect of a :c:macro:`SIGINT` signal arriving. This is "
866+
"equivalent to ``PyErr_SetInterruptEx(SIGINT)``."
877867
msgstr ""
878868

879869
#: ../../c-api/exceptions.rst:649 ../../c-api/exceptions.rst:676
@@ -902,11 +892,9 @@ msgstr ""
902892

903893
#: ../../c-api/exceptions.rst:668
904894
msgid ""
905-
"If the given signal isn't handled by Python (it was set to :data:`signal."
906-
"SIG_DFL` or :data:`signal.SIG_IGN`), it will be ignored."
895+
"If the given signal isn't handled by Python (it was set to :py:const:`signal."
896+
"SIG_DFL` or :py:const:`signal.SIG_IGN`), it will be ignored."
907897
msgstr ""
908-
"与えられたシグナルが Python に対処されなかった (:data:`signal.SIG_DFL` また"
909-
"は :data:`signal.SIG_IGN` に設定されていた) 場合、無視されます。"
910898

911899
#: ../../c-api/exceptions.rst:671
912900
msgid ""
@@ -1031,25 +1019,17 @@ msgstr ""
10311019

10321020
#: ../../c-api/exceptions.rst:757
10331021
msgid ""
1034-
"Return the cause (either an exception instance, or :const:`None`, set by "
1022+
"Return the cause (either an exception instance, or ``None``, set by "
10351023
"``raise ... from ...``) associated with the exception as a new reference, as "
10361024
"accessible from Python through :attr:`__cause__`."
10371025
msgstr ""
1038-
"Python で :attr:`__cause__` 属性からアクセスできるものと同じ、例外に関する原"
1039-
"因 (``raise ... from ...`` によってセットされる例外インスタンス、もしくは :"
1040-
"const:`None`) の新しい参照を返します。"
10411026

10421027
#: ../../c-api/exceptions.rst:764
10431028
msgid ""
10441029
"Set the cause associated with the exception to *cause*. Use ``NULL`` to "
10451030
"clear it. There is no type check to make sure that *cause* is either an "
1046-
"exception instance or :const:`None`. This steals a reference to *cause*."
1031+
"exception instance or ``None``. This steals a reference to *cause*."
10471032
msgstr ""
1048-
"例外に関係する原因に *cause* をセットします。\n"
1049-
"クリアするには ``NULL`` を使用してください。\n"
1050-
"*cause* が例外インスタンスか :const:`None` のどちらかであることを確かめる型"
1051-
"チェックは行われません。\n"
1052-
"これは *cause* への参照を盗みます。"
10531033

10541034
#: ../../c-api/exceptions.rst:768
10551035
msgid ""
@@ -1175,14 +1155,10 @@ msgstr "C レベルの再帰呼び出しをしようとしているところに
11751155

11761156
#: ../../c-api/exceptions.rst:877
11771157
msgid ""
1178-
"If :const:`USE_STACKCHECK` is defined, this function checks if the OS stack "
1179-
"overflowed using :c:func:`PyOS_CheckStack`. In this is the case, it sets a :"
1180-
"exc:`MemoryError` and returns a nonzero value."
1158+
"If :c:macro:`USE_STACKCHECK` is defined, this function checks if the OS "
1159+
"stack overflowed using :c:func:`PyOS_CheckStack`. In this is the case, it "
1160+
"sets a :exc:`MemoryError` and returns a nonzero value."
11811161
msgstr ""
1182-
":const:`USE_STACKCHECK` が定義されている場合、 OS のスタックがオーバーフロー"
1183-
"がしたかどうかを :c:func:`PyOS_CheckStack` を使ってチェックします。もしオー"
1184-
"バーフローしているなら、 :exc:`MemoryError` をセットしゼロでない値を返しま"
1185-
"す。"
11861162

11871163
#: ../../c-api/exceptions.rst:881
11881164
msgid ""

c-api/file.po

+4-9
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.12\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2023-06-30 14:13+0000\n"
18+
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
1919
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
2020
"Last-Translator: tomo, 2023\n"
2121
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -180,15 +180,10 @@ msgstr ""
180180
#: ../../c-api/file.rst:95
181181
msgid ""
182182
"Write object *obj* to file object *p*. The only supported flag for *flags* "
183-
"is :const:`Py_PRINT_RAW`; if given, the :func:`str` of the object is written "
184-
"instead of the :func:`repr`. Return ``0`` on success or ``-1`` on failure; "
185-
"the appropriate exception will be set."
183+
"is :c:macro:`Py_PRINT_RAW`; if given, the :func:`str` of the object is "
184+
"written instead of the :func:`repr`. Return ``0`` on success or ``-1`` on "
185+
"failure; the appropriate exception will be set."
186186
msgstr ""
187-
"オブジェクト *obj* をファイルオブジェクト *p* に書き込みます。 *flags* がサ"
188-
"ポートするフラグは :const:`Py_PRINT_RAW` だけです; このフラグを指定すると、オ"
189-
"ブジェクトに :func:`repr` ではなく :func:`str` を適用した結果をファイルに書き"
190-
"出します。成功した場合には ``0`` を返し、失敗すると ``-1`` を返して適切な例外"
191-
"をセットします。"
192187

193188
#: ../../c-api/file.rst:103
194189
msgid ""

c-api/float.po

+7-7
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-07-07 14:14+0000\n"
16+
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1818
"Last-Translator: tomo, 2023\n"
1919
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -162,9 +162,9 @@ msgid ""
162162
"The pack routines write 2, 4 or 8 bytes, starting at *p*. *le* is an :c:expr:"
163163
"`int` argument, non-zero if you want the bytes string in little-endian "
164164
"format (exponent last, at ``p+1``, ``p+3``, or ``p+6`` ``p+7``), zero if you "
165-
"want big-endian format (exponent first, at *p*). The :c:data:`PY_BIG_ENDIAN` "
166-
"constant can be used to use the native endian: it is equal to ``1`` on big "
167-
"endian processor, or ``0`` on little endian processor."
165+
"want big-endian format (exponent first, at *p*). The :c:macro:"
166+
"`PY_BIG_ENDIAN` constant can be used to use the native endian: it is equal "
167+
"to ``1`` on big endian processor, or ``0`` on little endian processor."
168168
msgstr ""
169169

170170
#: ../../c-api/float.rst:116
@@ -206,9 +206,9 @@ msgid ""
206206
"The unpack routines read 2, 4 or 8 bytes, starting at *p*. *le* is an :c:"
207207
"expr:`int` argument, non-zero if the bytes string is in little-endian format "
208208
"(exponent last, at ``p+1``, ``p+3`` or ``p+6`` and ``p+7``), zero if big-"
209-
"endian (exponent first, at *p*). The :c:data:`PY_BIG_ENDIAN` constant can be "
210-
"used to use the native endian: it is equal to ``1`` on big endian processor, "
211-
"or ``0`` on little endian processor."
209+
"endian (exponent first, at *p*). The :c:macro:`PY_BIG_ENDIAN` constant can "
210+
"be used to use the native endian: it is equal to ``1`` on big endian "
211+
"processor, or ``0`` on little endian processor."
212212
msgstr ""
213213

214214
#: ../../c-api/float.rst:147

0 commit comments

Comments
 (0)