Skip to content

Commit 640046d

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 75ccd41 commit 640046d

File tree

8 files changed

+7286
-7117
lines changed

8 files changed

+7286
-7117
lines changed

library/dataclasses.po

+10-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# Osamu NAKAMURA, 2019
88
# tomo, 2020
9+
# Takanori Suzuki <takanori@takanory.net>, 2021
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2021-04-27 06:12+0000\n"
1617
"PO-Revision-Date: 2018-06-29 21:06+0000\n"
17-
"Last-Translator: tomo, 2020\n"
18+
"Last-Translator: Takanori Suzuki <takanori@takanory.net>, 2021\n"
1819
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
@@ -181,8 +182,8 @@ msgid ""
181182
"``unsafe_hash``: If ``False`` (the default), a :meth:`__hash__` method is "
182183
"generated according to how ``eq`` and ``frozen`` are set."
183184
msgstr ""
184-
"``unsafe_hash``: (デフォルトの)``False`` の場合、 ``eq`` と ``frozen`` がどう設定されているかに従って "
185-
":meth:`__hash__` メソッドが生成されます。"
185+
"``unsafe_hash``: (デフォルトの) ``False`` の場合、 ``eq`` と ``frozen`` がどう設定されているかに従って"
186+
" :meth:`__hash__` メソッドが生成されます。"
186187

187188
#: ../../library/dataclasses.rst:126
188189
msgid ""
@@ -218,6 +219,10 @@ msgid ""
218219
" your class is logically immutable but can nonetheless be mutated. This is a"
219220
" specialized use case and should be considered carefully."
220221
msgstr ""
222+
":meth:`__hash__` が明示的に定義されていなかったり、 ``None`` に設定されていた場合は、 :func:`dataclass` は暗黙的に :meth:`__hash__` メソッドを追加する *かもしれません* 。\n"
223+
"推奨はできませんが、 ``unsafe_hash=True`` とすることで :func:`dataclass` に :meth:`__hash__` メソッドを作成させられます。\n"
224+
"こうしてしまうと、クラスが論理的には不変だがそれにもかかわらず変更できてしまう場合、問題になり得ます。\n"
225+
"こうするのは特別なユースケースで、慎重に検討するべきです。"
221226

222227
#: ../../library/dataclasses.rst:146
223228
msgid ""
@@ -818,3 +823,5 @@ msgid ""
818823
" is called on a dataclass which was defined with ``frozen=True``. It is a "
819824
"subclass of :exc:`AttributeError`."
820825
msgstr ""
826+
"``frozen=True`` 付きで定義されたデータクラスで、暗黙的に定義された :meth:`__setattr__` または "
827+
":meth:`__delattr__` が呼び出されたときに送出されます。これは :exc:`AttributeError` のサブクラスです。"

library/functions.po

+21-5
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# Keigo Fushio <fushio.keigo@gmail.com>, 2020
1818
# tomo, 2020
1919
# mollinaca, 2021
20+
# Takanori Suzuki <takanori@takanory.net>, 2021
2021
#
2122
#, fuzzy
2223
msgid ""
@@ -25,7 +26,7 @@ msgstr ""
2526
"Report-Msgid-Bugs-To: \n"
2627
"POT-Creation-Date: 2021-04-29 06:12+0000\n"
2728
"PO-Revision-Date: 2017-02-16 23:11+0000\n"
28-
"Last-Translator: mollinaca, 2021\n"
29+
"Last-Translator: Takanori Suzuki <takanori@takanory.net>, 2021\n"
2930
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
3031
"MIME-Version: 1.0\n"
3132
"Content-Type: text/plain; charset=UTF-8\n"
@@ -325,6 +326,8 @@ msgid ""
325326
"floating point number, or an object implementing :meth:`__abs__`. If the "
326327
"argument is a complex number, its magnitude is returned."
327328
msgstr ""
329+
"数の絶対値を返します。引数は整数、浮動小数点数または :meth:`__abs__` が実装されたオブジェクトです。引数が複素数なら、その絶対値 "
330+
"(magnitude) が返されます。"
328331

329332
#: ../../library/functions.rst:52
330333
msgid ""
@@ -458,6 +461,8 @@ msgid ""
458461
"<bufferobjects>`, a read-only buffer of the object will be used to "
459462
"initialize the bytes array."
460463
msgstr ""
464+
":ref:`バッファインタフェース <bufferobjects>` "
465+
"に適合するオブジェクトの場合、そのオブジェクトの読み出し専用バッファがバイト配列の初期化に使われます。"
461466

462467
#: ../../library/functions.rst:156
463468
msgid ""
@@ -572,6 +577,8 @@ msgid ""
572577
"those, see :func:`staticmethod` in this section. For more information on "
573578
"class methods, see :ref:`types`."
574579
msgstr ""
580+
"クラスメソッドは C++ や Java の静的メソッドとは異なります。静的メソッドは、この節の :func:`staticmethod` "
581+
"を参照してください。クラスメソッドについてより詳しいことは :ref:`types` を参照してください。"
575582

576583
#: ../../library/functions.rst:227
577584
msgid ""
@@ -767,6 +774,8 @@ msgid ""
767774
"Falls back to :meth:`__index__` if :meth:`__complex__` and :meth:`__float__`"
768775
" are not defined."
769776
msgstr ""
777+
":meth:`__complex__` と :meth:`__float__` が定義されていない場合、:meth:`__index__` "
778+
"へフォールバックします。"
770779

771780
#: ../../library/functions.rst:346
772781
msgid ""
@@ -1119,6 +1128,8 @@ msgid ""
11191128
"``x.__float__()``. If ``__float__()`` is not defined then it falls back to "
11201129
":meth:`__index__`."
11211130
msgstr ""
1131+
"一般の Python オブジェクト ``x`` に対して、``float(x)`` は ``x.__float__()`` に委譲します。 "
1132+
":meth:`__float__()` が定義されていない場合、:meth:`__index__` へフォールバックします。"
11221133

11231134
#: ../../library/functions.rst:605
11241135
msgid "If no argument is given, ``0.0`` is returned."
@@ -1329,7 +1340,7 @@ msgstr ""
13291340
msgid ""
13301341
"Raises an :ref:`auditing event <auditing>` ``builtins.id`` with argument "
13311342
"``id``."
1332-
msgstr ""
1343+
msgstr "引数 ``id`` を指定して :ref:`監査イベント <auditing>` ``builtins.id`` を送出します。 "
13331344

13341345
#: ../../library/functions.rst:775
13351346
msgid ""
@@ -1352,7 +1363,7 @@ msgstr ""
13521363
msgid ""
13531364
"Raises an :ref:`auditing event <auditing>` ``builtins.input`` with argument "
13541365
"``prompt``."
1355-
msgstr ""
1366+
msgstr "引数 ``prompt`` 付きで :ref:`監査イベント <auditing>` ``builtins.input`` を送出します。"
13561367

13571368
#: ../../library/functions.rst:790
13581369
msgid ""
@@ -1365,6 +1376,7 @@ msgid ""
13651376
"Raises an :ref:`auditing event <auditing>` ``builtins.input/result`` with "
13661377
"argument ``result``."
13671378
msgstr ""
1379+
"引数 ``result`` 付きで :ref:`監査イベント <auditing>` ``builtins.input/result`` を送出します。"
13681380

13691381
#: ../../library/functions.rst:795
13701382
msgid ""
@@ -1425,7 +1437,7 @@ msgstr ""
14251437

14261438
#: ../../library/functions.rst:837
14271439
msgid "Falls back to :meth:`__index__` if :meth:`__int__` is not defined."
1428-
msgstr ""
1440+
msgstr ":meth:`__int__` が定義されていない場合、:meth:`__index__` へフォールバックします。"
14291441

14301442
#: ../../library/functions.rst:843
14311443
msgid ""
@@ -2050,6 +2062,8 @@ msgid ""
20502062
"Raises an :ref:`auditing event <auditing>` ``open`` with arguments ``file``,"
20512063
" ``mode``, ``flags``."
20522064
msgstr ""
2065+
"引数 ``file``, ``mode``, ``flags`` を指定して :ref:`監査イベント <auditing>` ``open`` "
2066+
"を送出します。 "
20532067

20542068
#: ../../library/functions.rst:1239
20552069
msgid ""
@@ -2557,6 +2571,8 @@ msgid ""
25572571
"class of *type*. This is useful for accessing inherited methods that have "
25582572
"been overridden in a class."
25592573
msgstr ""
2574+
"メソッドの呼び出しを *type* "
2575+
"の親または兄弟クラスに委譲するプロキシオブジェクトを返します。これはクラスの中でオーバーライドされた継承メソッドにアクセスするのに便利です。"
25602576

25612577
#: ../../library/functions.rst:1606
25622578
msgid ""
@@ -2712,7 +2728,7 @@ msgstr ""
27122728

27132729
#: ../../library/functions.rst:1712
27142730
msgid "See also :ref:`class-customization`."
2715-
msgstr ""
2731+
msgstr ":ref:`class-customization` も参照してください。"
27162732

27172733
#: ../../library/functions.rst:1714
27182734
msgid ""

0 commit comments

Comments
 (0)