8000 Update translations from Transifex · python/python-docs-ja@ca98146 · GitHub
[go: up one dir, main page]

Skip to content

Commit ca98146

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 5370643 commit ca98146

File tree

13 files changed

+189
-294
lines changed

13 files changed

+189
-294
lines changed

c-api/complex.po

Lines changed: 9 additions & 17 deletions
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-07 14:14+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/"
@@ -175,25 +175,17 @@ msgstr "複素数値 *op* から :c:type:`Py_complex` 型を生成します。"
175175

176176
#: ../../c-api/complex.rst:130
177177
msgid ""
178-
"If *op* is not a Python complex number object but has a :meth:`__complex__` "
179-
"method, this method will first be called to convert *op* to a Python complex "
180-
"number object. If ``__complex__()`` is not defined then it falls back to :"
181-
"meth:`__float__`. If ``__float__()`` is not defined then it falls back to :"
182-
"meth:`__index__`. Upon failure, this method returns ``-1.0`` as a real "
183-
"value."
178+
"If *op* is not a Python complex number object but has a :meth:`~object."
179+
"__complex__` method, this method will first be called to convert *op* to a "
180+
"Python complex number object. If :meth:`!__complex__` is not defined then "
181+
"it falls back to :meth:`~object.__float__`. If :meth:`!__float__` is not "
182+
"defined then it falls back to :meth:`~object.__index__`. Upon failure, this "
183+
"method returns ``-1.0`` as a real value."
184184
msgstr ""
185-
"*op* が Python の複素数オブジェクトではないが、 :meth:`__complex__` メソッド"
186-
"を持っていた場合、このメソッドが最初に呼ばれ、 *op* が Python の複素数オブ"
187-
"ジェクトに変換されます。\n"
188-
"``__complex__()`` が定義されていない場合は、 :meth:`__float__` にフォールバッ"
189-
"クされます。\n"
190-
"``__float__()`` が定義されていない場合は、 :meth:`__index__` にフォールバック"
191-
"されます。\n"
192-
"処理が失敗した場合は、このメソッドは実数の ``-1.0`` を返します。"
193185

194186
#: ../../c-api/complex.rst:137
195-
msgid "Use :meth:`__index__` if available."
196-
msgstr "可能であれば :meth:`__index__` を使うようになりました。"
187+
msgid "Use :meth:`~object.__index__` if available."
188+
msgstr ""
197189

198190
#: ../../c-api/complex.rst:8
199191
msgid "object"

c-api/float.po

Lines changed: 9 additions & 15 deletions
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-06-30 14:13+0000\n"
16+
"POT-Creation-Date: 2023-07-07 14:14+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/"
@@ -77,22 +77,16 @@ msgstr ""
7777
#: ../../c-api/float.rst:47
7878
msgid ""
7979
"Return a C :c:expr:`double` representation of the contents of *pyfloat*. If "
80-
"*pyfloat* is not a Python floating point object but has a :meth:`__float__` "
81-
"method, this method will first be called to convert *pyfloat* into a float. "
82-
"If ``__float__()`` is not defined then it falls back to :meth:`__index__`. "
83-
"This method returns ``-1.0`` upon failure, so one should call :c:func:"
84-
"`PyErr_Occurred` to check for errors."
85-
msgstr ""
86-
"*pyfloat* の指す値を、 C の :c:expr:`double` 型表現で返します。 *pyfloat* が "
87-
"Python 浮動小数点オブジェクトではなく、かつ :meth:`__float__` メソッドを持っ"
88-
"ていれば、*pyfloat* を浮動小数点に変換するためにこのメソッドが最初に呼ばれま"
89-
"す。 ``__float__()`` が定義されていない場合は、 :meth:`__index__` にフォール"
90-
"バックされます。このメソッドは失敗した場合 ``-1.0`` を返します。そのため呼び"
91-
"出し元は :c:func:`PyErr_Occurred` を呼んでエラーをチェックすべきです。"
80+
"*pyfloat* is not a Python floating point object but has a :meth:`~object."
81+
"__float__` method, this method will first be called to convert *pyfloat* "
82+
"into a float. If :meth:`!__float__` is not defined then it falls back to :"
83+
"meth:`~object.__index__`. This method returns ``-1.0`` upon failure, so one "
84+
"should call :c:func:`PyErr_Occurred` to check for errors."
85+
msgstr ""
9286

9387
#: ../../c-api/float.rst:54
94-
msgid "Use :meth:`__index__` if available."
95-
msgstr "可能であれば :meth:`__index__` を使うようになりました。"
88+
msgid "Use :meth:`~object.__index__` if available."
89+
msgstr ""
9690

9791
#: ../../c-api/float.rst:60
9892
msgid ""

c-api/long.po

Lines changed: 12 additions & 28 deletions
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-06-30 14:13+0000\n"
16+
"POT-Creation-Date: 2023-07-07 14:14+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
1818
"Last-Translator: Osamu NAKAMURA, 2023\n"
1919
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -175,13 +175,9 @@ msgstr ""
175175
#: ../../c-api/long.rst:123 ../../c-api/long.rst:141
176176
msgid ""
177177
"Return a C :c:expr:`long` representation of *obj*. If *obj* is not an "
178-
"instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method "
179-
"(if present) to convert it to a :c:type:`PyLongObject`."
178+
"instance of :c:type:`PyLongObject`, first call its :meth:`~object.__index__` "
179+
"method (if present) to convert it to a :c:type:`PyLongObject`."
180180
msgstr ""
181-
"*obj* が表す、Cの :c:expr:`long` 表現を返します。もし *obj* が :c:type:"
182-
"`PyLongObject` のインスタンスでなければ、まず、その :meth:`__index__` メソッ"
183-
"ドを (もしあれば) 呼び出して、オブジェクトを :c:type:`PyLongObject` に変換し"
184-
"ます。"
185181

186182
#: ../../c-api/long.rst:127
187183
msgid ""
@@ -200,12 +196,12 @@ msgstr ""
200196

201197
#: ../../c-api/long.rst:132 ../../c-api/long.rst:152 ../../c-api/long.rst:173
202198
#: ../../c-api/long.rst:195 ../../c-api/long.rst:279 ../../c-api/long.rst:299
203-
msgid "Use :meth:`__index__` if available."
204-
msgstr "可能であれば :meth:`__index__` を使うようになりました。"
199+
msgid "Use :meth:`~object.__index__` if available."
200+
msgstr ""
205201

206202
#: ../../c-api/long.rst:135 ../../c-api/long.rst:155 ../../c-api/long.rst:176
207203
#: ../../c-api/long.rst:198 ../../c-api/long.rst:282 ../../c-api/long.rst:302
208-
msgid "This function will no longer use :meth:`__int__`."
204+
msgid "This function will no longer use :meth:`~object.__int__`."
209205
msgstr ""
210206

211207
#: ../../c-api/long.rst:145
@@ -223,13 +219,9 @@ msgstr ""
223219
#: ../../c-api/long.rst:164 ../../c-api/long.rst:182
224220
msgid ""
225221
"Return a C :c:expr:`long long` representation of *obj*. If *obj* is not an "
226-
"instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method "
227-
"(if present) to convert it to a :c:type:`PyLongObject`."
222+
"instance of :c:type:`PyLongObject`, first call its :meth:`~object.__index__` "
223+
"method (if present) to convert it to a :c:type:`PyLongObject`."
228224
msgstr ""
229-
"*obj* が表す、Cの :c:expr:`long long` 表現を返します。もし *obj* が :c:type:"
230-
"`PyLongObject` のインスタンスでなければ、まず、その :meth:`__index__` メソッ"
231-
"ドを (もしあれば) 呼び出して、オブジェクトを :c:type:`PyLongObject` に変換し"
232-
"ます。"
233225

234226
#: ../../c-api/long.rst:168
235227
msgid ""
@@ -349,13 +341,9 @@ msgstr ""
349341
#: ../../c-api/long.rst:269
350342
msgid ""
351343
"Return a C :c:expr:`unsigned long` representation of *obj*. If *obj* is not "
352-
"an instance of :c:type:`PyLongObject`, first call its :meth:`__index__` "
353-
"method (if present) to convert it to a :c:type:`PyLongObject`."
344+
"an instance of :c:type:`PyLongObject`, first call its :meth:`~object."
345+
"__index__` method (if present) to convert it to a :c:type:`PyLongObject`."
354346
msgstr ""
355-
"*obj* が表す、C の :c:expr:`unsigned long` 表現を返します。もし *obj* が :c:"
356-
"type:`PyLongObject` のインスタンスでなければ、まず、その :meth:`__index__` メ"
357-
"ソッドを (もしあれば) 呼び出して、オブジェクトを :c:type:`PyLongObject` に変"
358-
"換します。"
359347

360348
#: ../../c-api/long.rst:273
361349
msgid ""
@@ -376,13 +364,9 @@ msgstr ""
376364
#: ../../c-api/long.rst:288
377365
msgid ""
378366
"Return a C :c:expr:`unsigned long long` representation of *obj*. If *obj* "
379-
"is not an instance of :c:type:`PyLongObject`, first call its :meth:"
380-
"`__index__` method (if present) to convert it to a :c:type:`PyLongObject`."
367+
"is not an instance of :c:type:`PyLongObject`, first call its :meth:`~object."
368+
"__index__` method (if present) to convert it to a :c:type:`PyLongObject`."
381369
msgstr ""
382-
"*obj* が表す、C の :c:expr:`unsigned long long` 表現を返します。もし *obj* "
383-
"が :c:type:`PyLongObject` のインスタンスでなければ、まず、その :meth:"
384-
"`__index__` メソッドを (もしあれば) 呼び出して、オブジェクトを :c:type:"
385-
"`PyLongObject` に変換します。"
386370

387371
#: ../../c-api/long.rst:293
388372
msgid ""

library/asyncio-exceptions.po

Lines changed: 4 additions & 3 deletions
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-07 14:14+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
1717
"Last-Translator: Takeshi Nakazato, 2022\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -55,9 +55,10 @@ msgstr ""
5555
"しなければなりません。"
5656

5757
#: ../../library/asyncio-exceptions.rst:34
58-
msgid ":exc:`CancelledError` is now a subclass of :class:`BaseException`."
58+
msgid ""
59+
":exc:`CancelledError` is now a subclass of :class:`BaseException` rather "
60+
"than :class:`Exception`."
5961
msgstr ""
60-
":exc:`CancelledError` は :class:`BaseException` の派生クラスになりました。"
6162

6263
#: ../../library/asyncio-exceptions.rst:39
6364
msgid "Invalid internal state of :class:`Task` or :class:`Future`."

library/cmath.po

Lines changed: 6 additions & 12 deletions
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-06-30 14:13+0000\n"
16+
"POT-Creation-Date: 2023-07-07 14:14+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:56+0000\n"
1818
"Last-Translator: tomo, 2023\n"
1919
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -33,17 +33,11 @@ msgid ""
3333
"This module provides access to mathematical functions for complex numbers. "
3434
"The functions in this module accept integers, floating-point numbers or "
3535
"complex numbers as arguments. They will also accept any Python object that "
36-
"has either a :meth:`__complex__` or a :meth:`__float__` method: these "
37-
"methods are used to convert the object to a complex or floating-point "
38-
"number, respectively, and the function is then applied to the result of the "
39-
"conversion."
40-
msgstr ""
41-
"このモジュールは、複素数を扱う数学関数へのアクセスを提供しています。\n"
42-
"このモジュール中の関数は整数、浮動小数点数または複素数を引数にとります。\n"
43-
"また、 :meth:`__complex__` または :meth:`__float__` どちらかのメソッドを提供"
44-
"している Python オブジェクトも受け付けます。\n"
45-
"これらのメソッドはそのオブジェクトを複素数または浮動小数点数に変換するのにそ"
46-
"れぞれ使われ、呼び出された関数はそうして変換された結果を利用します。"
36+
"has either a :meth:`~object.__complex__` or a :meth:`~object.__float__` "
37+
"method: these methods are used to convert the object to a complex or "
38+
"floating-point number, respectively, and the function is then applied to the "
39+
"result of the conversion."
40+
msgstr ""
4741

4842
#: ../../library/cmath.rst:18
4943
msgid ""

library/exceptions.po

Lines changed: 19 additions & 19 deletions
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-07 14:14+0000\n"
1818
"PO-Revision-Date: 2021-06-28 01:05+0000\n"
1919
"Last-Translator: Masato HASHIMOTO <cabezon.hashimoto@gmail.com>, 2023\n"
2020
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -1268,11 +1268,11 @@ msgstr ":class:`bytes` や :class:`bytearray` に関連した警告の基底ク
12681268
msgid "Base class for warnings related to resource usage."
12691269
msgstr "リソースの使用に関連した警告の基底クラスです。"
12701270

1271-
#: ../../library/exceptions.rst:875
1271+
#: ../../library/exceptions.rst:877
12721272
msgid "Exception groups"
12731273
msgstr ""
12741274

1275-
#: ../../library/exceptions.rst:877
1275+
#: ../../library/exceptions.rst:879
12761276
msgid ""
12771277
"The following are used when it is necessary to raise multiple unrelated "
12781278
"exceptions. They are part of the exception hierarchy so they can be handled "
@@ -1281,7 +1281,7 @@ msgid ""
12811281
"based on the types of the contained exceptions."
12821282
msgstr ""
12831283

1284-
#: ../../library/exceptions.rst:886
1284+
#: ../../library/exceptions.rst:888
12851285
msgid ""
12861286
"Both of these exception types wrap the exceptions in the sequence ``excs``. "
12871287
"The ``msg`` parameter must be a string. The difference between the two "
@@ -1292,7 +1292,7 @@ msgid ""
12921292
"exc:`BaseExceptionGroup`."
12931293
msgstr ""
12941294

1295-
#: ../../library/exceptions.rst:894
1295+
#: ../../library/exceptions.rst:896
12961296
msgid ""
12971297
"The :exc:`BaseExceptionGroup` constructor returns an :exc:`ExceptionGroup` "
12981298
"rather than a :exc:`BaseExceptionGroup` if all contained exceptions are :exc:"
@@ -1301,74 +1301,74 @@ msgid ""
13011301
"`TypeError` if any contained exception is not an :exc:`Exception` subclass."
13021302
msgstr ""
13031303

1304-
#: ../../library/exceptions.rst:903
1304+
#: ../../library/exceptions.rst:905
13051305
msgid "The ``msg`` argument to the constructor. This is a read-only attribute."
13061306
msgstr ""
13071307

1308-
#: ../../library/exceptions.rst:907
1308+
#: ../../library/exceptions.rst:909
13091309
msgid ""
13101310
"A tuple of the exceptions in the ``excs`` sequence given to the constructor. "
13111311
"This is a read-only attribute."
13121312
msgstr ""
13131313

1314-
#: ../../library/exceptions.rst:912
1314+
#: ../../library/exceptions.rst:914
13151315
msgid ""
13161316
"Returns an exception group that contains only the exceptions from the "
13171317
"current group that match *condition*, or ``None`` if the result is empty."
13181318
msgstr ""
13191319

1320-
#: ../../library/exceptions.rst:915
1320+
#: ../../library/exceptions.rst:917
13211321
msgid ""
13221322
"The condition can be either a function that accepts an exception and returns "
13231323
"true for those that should be in the subgroup, or it can be an exception "
13241324
"type or a tuple of exception types, which is used to check for a match using "
13251325
"the same check that is used in an ``except`` clause."
13261326
msgstr ""
13271327

1328-
#: ../../library/exceptions.rst:920
1328+
#: ../../library/exceptions.rst:922
13291329
msgid ""
13301330
"The nesting structure of the current exception is preserved in the result, "
13311331
"as are the values of its :attr:`message`, :attr:`__traceback__`, :attr:"
13321332
"`__cause__`, :attr:`__context__` and :attr:`__notes__` fields. Empty nested "
13331333
"groups are omitted from the result."
13341334
msgstr ""
13351335

1336-
#: ../../library/exceptions.rst:925
1336+
#: ../../library/exceptions.rst:927
13371337
msgid ""
13381338
"The condition is checked for all exceptions in the nested exception group, "
13391339
"including the top-level and any nested exception groups. If the condition is "
13401340
"true for such an exception group, it is included in the result in full."
13411341
msgstr ""
13421342

1343-
#: ../../library/exceptions.rst:931
1343+
#: ../../library/exceptions.rst:933
13441344
msgid ""
13451345
"Like :meth:`subgroup`, but returns the pair ``(match, rest)`` where "
13461346
"``match`` is ``subgroup(condition)`` and ``rest`` is the remaining non-"
13471347
"matching part."
13481348
msgstr ""
13491349

1350-
#: ../../library/exceptions.rst:937 10000
1350+
#: ../../library/exceptions.rst:939
13511351
msgid ""
13521352
"Returns an exception group with the same :attr:`message`, but which wraps "
13531353
"the exceptions in ``excs``."
13541354
msgstr ""
13551355

1356-
#: ../../library/exceptions.rst:940
1356+
#: ../../library/exceptions.rst:942
13571357
msgid ""
13581358
"This method is used by :meth:`subgroup` and :meth:`split`. A subclass needs "
13591359
"to override it in order to make :meth:`subgroup` and :meth:`split` return "
13601360
"instances of the subclass rather than :exc:`ExceptionGroup`."
13611361
msgstr ""
13621362

1363-
#: ../../library/exceptions.rst:945
1363+
#: ../../library/exceptions.rst:947
13641364
msgid ""
13651365
":meth:`subgroup` and :meth:`split` copy the :attr:`__traceback__`, :attr:"
13661366
"`__cause__`, :attr:`__context__` and :attr:`__notes__` fields from the "
13671367
"original exception group to the one returned by :meth:`derive`, so these "
13681368
"fields do not need to be updated by :meth:`derive`. ::"
13691369
msgstr ""
13701370

1371-
#: ../../library/exceptions.rst:974
1371+
#: ../../library/exceptions.rst:976
13721372
msgid ""
13731373
"Note that :exc:`BaseExceptionGroup` defines :meth:`__new__`, so subclasses "
13741374
"that need a different constructor signature need to override that rather "
@@ -1377,18 +1377,18 @@ msgid ""
13771377
"from it. ::"
13781378
msgstr ""
13791379

1380-
#: ../../library/exceptions.rst:989
1380+
#: ../../library/exceptions.rst:991
13811381
msgid ""
13821382
"Like :exc:`ExceptionGroup`, any subclass of :exc:`BaseExceptionGroup` which "
13831383
"is also a subclass of :exc:`Exception` can only wrap instances of :exc:"
13841384
"`Exception`."
13851385
msgstr ""
13861386

1387-
#: ../../library/exceptions.rst:997
1387+
#: ../../library/exceptions.rst:999
13881388
msgid "Exception hierarchy"
13891389
msgstr "例外のクラス階層"
13901390

1391-
#: ../../library/exceptions.rst:999
1391+
#: ../../library/exceptions.rst:1001
13921392
msgid "The class hierarchy for built-in exceptions is:"
13931393
msgstr "組み込み例外のクラス階層は以下のとおりです:"
13941394

0 commit comments

Comments
 (0)
0