8000 [skip ci] Update .po files · python/python-docs-ja@2358e1c · GitHub
[go: up one dir, main page]

Skip to content

Commit 2358e1c

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 96fe4fc commit 2358e1c

File tree

5 files changed

+108
-19
lines changed

5 files changed

+108
-19
lines changed

extending/newtypes.po

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ msgid ""
4040
" type you want to define, the chances are very good that you will only "
4141
"implement a handful of these."
4242
msgstr ""
43+
"*たくさんの* "
44+
"メソッドがありますね。でもそんなに心配する必要はありません。定義したい型があるなら、実装するのはこのうちのごくわずかですむことがほとんどです。"
4345

4446
#: ../../extending/newtypes.rst:22
4547
msgid ""
@@ -50,13 +52,18 @@ msgid ""
5052
"that includes the fields you need and then change the values to suit your "
5153
"new type. ::"
5254
msgstr ""
55+
"すでに予想されているでしょうが、この構造体について入念に見ていき、様々なハンドラについてより詳しい情報を提供します。\n"
56+
"しかしこれらのメンバが構造体中で定義されている順番は無視します。というのは、これらのメンバの現れる順序は歴史的な遺産によるものだからです。\n"
57+
"多くの場合いちばん簡単なのは、必要とするメンバがすべて含まれている例をとってきて、新しく作る型に合わせて値を変更することです。 ::"
5358

5459
#: ../../extending/newtypes.rst:31
5560
msgid ""
5661
"The name of the type -- as mentioned in the previous chapter, this will "
5762
"appear in various places, almost entirely for diagnostic purposes. Try to "
5863
"choose something that will be helpful in such a situation! ::"
5964
msgstr ""
65+
"これは型の名前です。前の章で説明したように、これは色々な場面で現れ、ほとんどは診断目的で使われるものです。\n"
66+
"それなので、そのような場面で役に立つであろう名前を選んでください! ::"
6067

6168
#: ../../extending/newtypes.rst:37
6269
msgid ""
@@ -66,6 +73,9 @@ msgid ""
6673
":c:member:`~PyTypeObject.tp_itemsize` field comes in. This will be dealt "
6774
"with later. ::"
6875
msgstr ""
76+
"これらのフィールドは、この型のオブジェクトが新しく作成されるときにどれだけのメモリを割り当てればよいのかをランタイムに指示します。Python "
77+
"には可変長の構造体 (文字列やタプルなどを想像してください) に対する組み込みのサポートがある程度あり、ここで "
78+
":c:member:`~PyTypeObject.tp_itemsize` メンバが使われます。これらについてはあとでふれます。 ::"
6979

7080
#: ../../extending/newtypes.rst:44
7181
msgid ""
@@ -79,7 +89,7 @@ msgstr ""
7989
msgid ""
8090
"Now we come to the basic type methods -- the ones most extension types will "
8191
"implement."
82-
msgstr ""
92+
msgstr "では次に、型の基本的なメソッドに進みます。これはほとんどの拡張型が実装します。"
8393

8494
#: ../../extending/newtypes.rst:52
8595
msgid "Finalization and De-allocation"
@@ -552,7 +562,7 @@ msgstr ""
552562
msgid ""
553563
"This function, if you choose to provide it, should return a hash number for "
554564
"an instance of your data type. Here is a simple example::"
555-
msgstr ""
565+
msgstr "この関数は、もし使うことにしたならば、データ型のインスタンスのハッシュ番号を返すようにします。次のは単純な例です::"
556566

557567
#: ../../extending/newtypes.rst:457
558568
msgid ""
@@ -582,12 +592,15 @@ msgid ""
582592
"*self* is the instance of the data type which is the subject of the call. If"
583593
" the call is ``obj1('hello')``, then *self* is ``obj1``."
584594
msgstr ""
595+
"*self* は呼び出しの対象となるデータ型のインスタンスです。\n"
596+
"たとえば呼び出しが ``obj1('hello')`` の場合、*self* は ``obj1`` になります。"
585597

586598
#: ../../extending/newtypes.rst:475
587599
msgid ""
588600
"*args* is a tuple containing the arguments to the call. You can use "
589601
":c:func:`PyArg_ParseTuple` to extract the arguments."
590602
msgstr ""
603+
"*args* は呼び出しの引数を格納しているタプルです。ここから引数を取り出すには :c:func:`PyArg_ParseTuple` を使います。"
591604

592605
#: ../../extending/newtypes.rst:478
593606
msgid ""
@@ -598,10 +611,13 @@ msgid ""
598611
":exc:`TypeError` with a message saying that keyword arguments are not "
599612
"supported."
600613
msgstr ""
614+
"*kwds* はキーワード引数のための辞書です。これが *NULL* でなく、キーワード引数をサポートしている場合は、 "
615+
":c:func:`PyArg_ParseTupleAndKeywords` をつかって引数を取り出せます。キーワード引数をサポートしていないのにこれが "
616+
"*NULL* でない場合は、キーワード引数はサポートしていない旨のメッセージとともに :exc:`TypeError` を発生させてください。"
601617

602618
#: ../../extending/newtypes.rst:484
603619
msgid "Here is a toy ``tp_call`` implementation::"
604-
msgstr ""
620+
msgstr "以下は ``tp_call`` の簡易な実装です::"
605621

606622
#: ../../extending/newtypes.rst:510
607623
msgid ""

library/email.policy.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgstr ""
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2018-01-05 15:01+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: yuji take <taketakeyyy@gmail.com>, 2018\n"
13+
"Last-Translator: yuji takesue <taketakeyyy@gmail.com>, 2018\n"
1414
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=UTF-8\n"

library/importlib.po

Lines changed: 37 additions & 9 deletions
< 10000 td data-grid-cell-id="diff-831d56267ff24a4a4bd1640c492575c2e1ec1bcd09e31580b990bfd1fdc090ef-1153-1164-1" data-selected="false" role="gridcell" style="background-color:var(--bgColor-default);text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative diff-line-number-neutral left-side">1164
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ msgstr ":keyword:`import` 文の言語リファレンス。"
6666
msgid ""
6767
"`Packages specification <https://www.python.org/doc/essays/packages/>`__"
6868
msgstr ""
69+
"`Packages specification <https://www.python.org/doc/essays/packages/>`__"
6970

7071
#: ../../library/importlib.rst:36
7172
msgid ""
@@ -442,6 +443,10 @@ msgid ""
442443
"that the finder may use to make a more educated guess about what spec to "
443444
"return."
444445
msgstr ""
446+
"指定されたモジュールに対応する :term:`スペック <module spec>` を検索する抽象メソッド。もしこれがトップレベルのインポートなら、 "
447+
"*path* は ``None`` です。そうでなければ、これはサブパッケージまたはモジュールのための検索で、 *path* は親パッケージの "
448+
":attr:`__path__` の値です。スペックが見つからなければ ``None`` が返されます。 ``target`` "
449+
"は、渡されてきたならモジュールオブジェクトです。これはファインダーがどのようなスペックを返せばよいか推測するために使用します。"
445450

446451
#: ../../library/importlib.rst:276
447452
msgid ""
@@ -509,6 +514,9 @@ msgid ""
509514
"``None`` is returned. When passed in, ``target`` is a module object that "
510515
"the finder may use to make a more educated guess about what spec to return."
511516
msgstr ""
517+
"指定されたモジュールに対応する :term:`スペック <module spec>` を検索する抽象メソッド。ファインダーは、割り当てられている "
518+
":term:`パス・エントリー <path entry>` 内のモジュールだけを検索します。スペックが見つからなければ ``None`` が返されます。"
519+
" ``target`` は、渡されてきたならモジュールオブジェクトです。これはファインダーがどのようなスペックを返せばよいか推測するために使用します。"
512520

513521
#: ../../library/importlib.rst:326
514522
msgid ""
@@ -586,10 +594,13 @@ msgid ""
586594
"when ``exec_module()`` is called. When this method exists, "
587595
":meth:`~importlib.abc.Loader.create_module` must be defined."
588596
msgstr ""
597+
"モジュールがインポートまたはリロードされる際に、そのモジュールをモジュール自身の名前空間の中で実行する抽象的なメソッド。\n"
598+
"``exec_module()`` が呼ばれる時点で、モジュールはすでに初期設定されている必要があります。\n"
599+
"このメソッドが存在するときは、 :meth:`~importlib.abc.Loader.create_module` の定義が必須です。"
589600

590601
#: ../../library/importlib.rst:387
591602
msgid ":meth:`~importlib.abc.Loader.create_module` must also be defined."
592-
msgstr ""
603+
msgstr ":meth:`~importlib.abc.Loader.create_module` の定義が必須となりました。"
593604

594605
#: ../../library/importlib.rst:392
595606
msgid ""
@@ -1126,7 +1137,7 @@ msgstr ""
11261137
msgid ""
11271138
"Only class methods are defined by this class to alleviate the need for "
11281139
"instantiation."
1129-
msgstr "インスタンス化を容易にするため、クラスメソッドだけがこのクラスによって定義されます。"
1140+
msgstr "インスタンス化の必要性を軽減するため、このクラスにはクラスメソッドだけが定義されています。"
11301141

11311142
#: ../../library/importlib.rst:784
11321143
msgid ""
@@ -1151,12 +1162,16 @@ msgid ""
11511162
":term:`Finder` for modules declared in the Windows registry. This class "
11521163
"implements the :class:`importlib.abc.MetaPathFinder` ABC."
1153
msgstr ""
1165+
"Windows レジストリで宣言されたモジュールの :term:`Finder` です。このクラスは "
1166+
":class:`importlib.abc.MetaPathFinder` 抽象基底クラスを実装します。"
11541167

11551168
#: ../../library/importlib.rst:809
11561169
msgid ""
11571170
"Use :mod:`site` configuration instead. Future versions of Python may not "
11581171
"enable this finder by default."
11591172
msgstr ""
1173+
"代わりに :mod:`site` の設定を使ってください。\n"
1174+
"Python の将来のバージョンでは、デフォルトでこのファインダーが使えなくなるかもしれません。"
11601175

11611176
#: ../../library/importlib.rst:816
11621177
msgid ""
@@ -1327,7 +1342,7 @@ msgstr ""
13271342

13281343
#: ../../library/importlib.rst:949 ../../library/importlib.rst:992
13291344
msgid "Use :meth:`importlib.abc.Loader.exec_module` instead."
1330-
msgstr ""
1345+
msgstr "代わりに :meth:`importlib.abc.Loader.exec_module` を使用してください。"
13311346

13321347
#: ../../library/importlib.rst:954
13331348
msgid ""
@@ -1425,6 +1440,12 @@ msgid ""
14251440
"module's ``__path__`` at runtime, and this will not be automatically "
14261441
"reflected in ``__spec__.submodule_search_locations``."
14271442
msgstr ""
1443+
"モジュールのインポートシステムに関する状態の仕様。\n"
1444+
"これは通常はモジュールの ``__spec__`` 属性として公開されています。\n"
1445+
"この後の解説では、モジュールオブジェクトから直接利用できる属性で、それぞれの仕様に対応しているものの名前が括弧書きで書かれています。\n"
1446+
"例えば、 ``module.__spec__.origin == module.__file__`` です。\n"
1447+
"ただし、属性の *値* はたいていは同一ですが、2つのオブジェクトどうしは同期されないため、異なっている可能性があることに注意してください。\n"
1448+
"例えば、モジュールの ``__path__`` を実行時に更新できますが、 ``__spec__.submodule_search_locations`` に自動的には反映されません。"
14281449

14291450
#: ../../library/importlib.rst:1062
14301451
msgid "(``__name__``)"
@@ -1663,6 +1684,8 @@ msgid ""
16631684
"Create a new module based on **spec** and :meth:`spec.loader.create_module "
16641685
"<importlib.abc.Loader.create_module>`."
16651686
msgstr ""
1687+
"**spec** と :meth:`spec.loader.create_module "
1688+
"<importlib.abc.Loader.create_module>` に基づいて新しいモジュールを作ります。"
16661689

16671690
#: ../../library/importlib.rst:1228
16681691
msgid ""
@@ -1671,6 +1694,9 @@ msgid ""
16711694
"reset. Also, no :exc:`AttributeError` will be raised if triggered while "
16721695
"accessing **spec** or setting an attribute on the module."
16731696
msgstr ""
1697+
":meth:`spec.loader.create_module <importlib.abc.Loader.create_module>` が "
1698+
"``None`` を返さない場合は、既に存在するどの属性もリセットされません。また、 **spec** "
1699+
"にアクセスしたり属性をモジュールに設定したりする際に :exc:`AttributeError` 例外が起きても例外は送出されません。"
16741700

16751701
#: ../../library/importlib.rst:1233
16761702
msgid ""
@@ -1849,36 +1875,38 @@ msgstr "使用例"
18491875

18501876
#: ../../library/importlib.rst:1369
18511877
msgid "Importing programmatically"
1852-
msgstr ""
1878+
msgstr "プログラムからのインポート"
18531879

18541880
#: ../../library/importlib.rst:1371
18551881
msgid ""
18561882
"To programmatically import a module, use :func:`importlib.import_module`. ::"
1857-
msgstr ""
1883+
msgstr "プログラムからモジュールをインポートするには、 :func:`importlib.import_module` を使ってください。 ::"
18581884

18591885
#: ../../library/importlib.rst:1380
18601886
msgid "Checking if a module can be imported"
1861-
msgstr ""
1887+
msgstr "モジュールがインポートできるか確認する"
18621888

18631889
#: ../../library/importlib.rst:1382
18641890
msgid ""
18651891
"If you need to find out if a module can be imported without actually doing "
18661892
"the import, then you should use :func:`importlib.util.find_spec`. ::"
18671893
msgstr ""
1894+
"インポートを実際に行わずに、あるモジュールがインポートできるかを知る必要がある場合は、 :func:`importlib.util.find_spec`"
1895+
" を使ってください。 ::"
18681896

18691897
#: ../../library/importlib.rst:1404
18701898
msgid "Importing a source file directly"
1871-
msgstr ""
1899+
msgstr "ソースファイルから直接インポートする"
18721900

18731901
#: ../../library/importlib.rst:1406
18741902
msgid ""
18751903
"To import a Python source file directly, use the following recipe (Python "
18761904
"3.4 and newer only)::"
1877-
msgstr ""
1905+
msgstr "Python のソースファイルから直接インポートするには、次のレシピを使ってください (Python 3.4 以降のみ)::"
18781906

18791907
#: ../../library/importlib.rst:1426
18801908
msgid "Setting up an importer"
1881-
msgstr ""
1909+
msgstr "インポーターのセットアップ"
18821910

18831911
#: ../../library/importlib.rst:1428
18841912
msgid ""

library/itertools.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.6\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-03-27 12:53+0900\n"
11+
"POT-Creation-Date: 2018-04-09 12:59+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: Nozomu Kaneko <nozom.kaneko@gmail.com>, 2017\n"
1414
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -859,7 +859,7 @@ msgstr ""
859859
" for ループやジェネレータ(:term:`generator`) を使わずに、 \"ベクトル化された\" "
860860
"ビルディングブロックを使うと、高速な処理を実現できます。"
861861

862-
#: ../../library/itertools.rst:894
862+
#: ../../library/itertools.rst:899
863863
msgid ""
864864
"Note, many of the above recipes can be optimized by replacing global lookups"
865865
" with local variables defined as default values. For example, the "

0 commit comments

Comments
 (0)
0