Skip to content

Commit c6948c8

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 6b608fe commit c6948c8

File tree

7 files changed

+4140
-4093
lines changed

7 files changed

+4140
-4093
lines changed

glossary.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -1464,7 +1464,7 @@ msgstr "詳細は :ref:`metaclasses` を参照してください。"
14641464

14651465
#: ../../glossary.rst:690
14661466
msgid "method"
1467-
msgstr "メソッド"
1467+
msgstr "method"
14681468

14691469
#: ../../glossary.rst:692
14701470
msgid ""

howto/regex.po

+14-5
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
# Ryuichi Takano <[email protected]>, 2017
88
# Arihiro TAKASE, 2017
99
# Nozomu Kaneko <[email protected]>, 2017
10-
# tomo, 2017
11-
# Yuma.M, 2018
1210
# 秘湯 <[email protected]>, 2018
11+
# tomo, 2019
1312
#
1413
#, fuzzy
1514
msgid ""
@@ -18,7 +17,7 @@ msgstr ""
1817
"Report-Msgid-Bugs-To: \n"
1918
"POT-Creation-Date: 2019-02-20 10:40+0900\n"
2019
"PO-Revision-Date: 2017-02-16 17:45+0000\n"
21-
"Last-Translator: 秘湯 <[email protected]>, 2018\n"
20+
"Last-Translator: tomo, 2019\n"
2221
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2322
"MIME-Version: 1.0\n"
2423
"Content-Type: text/plain; charset=UTF-8\n"
@@ -189,6 +188,11 @@ msgid ""
189188
"class, it does not have special meaning. For example: ``[5^]`` will match "
190189
"either a ``'5'`` or a ``'^'``."
191190
msgstr ""
191+
":dfn:`補集合を取る` ことで、文字クラス内のリストにない文字に対してマッチさせられます。\n"
192+
"補集合は、クラスの最初の文字として ``'^'`` を含めることで表せます。\n"
193+
"例えば、 ``[^5]`` は ``'5'`` 以外の文字にマッチします。\n"
194+
"キャレットが文字クラス以外の場所に現れた場合は、特別な意味は持ちません。\n"
195+
"例えば、 ``[5^]`` は ``'5'`` や ``'^'`` にマッチします。"
192196

193197
#: ../../howto/regex.rst:103
194198
msgid ""
@@ -311,6 +315,9 @@ msgid ""
311315
"(:const:`re.DOTALL`) where it will match even a newline. ``.`` is often "
312316
"used where you want to match \"any character\"."
313317
msgstr ""
318+
"この節での最後の特殊文字は ``.`` です。\n"
319+
"これは改行文字を除く任意の文字にマッチし、さらに改行文字に対してもマッチさせる代替モード (:const:`re.DOTALL`) があります。\n"
320+
"``.`` は「任意の文字」にマッチさせたい場合に利用されます。"
314321

315322
#: ../../howto/regex.rst:163
316323
msgid "Repeating Things"
@@ -333,14 +340,16 @@ msgid ""
333340
"that the previous character can be matched zero or more times, instead of "
334341
"exactly once."
335342
msgstr ""
343+
"最初にとりあげる繰り返しのための最初の特殊文字は ``*`` です。\n"
344+
"``*`` は文字リテラル ``'*'`` とはマッチしません; その代わりに、前の文字がぴったり1回ではなく0回以上繰り返されるパターンを指定します。"
336345

337346
#: ../../howto/regex.rst:175
338347
msgid ""
339348
"For example, ``ca*t`` will match ``'ct'`` (0 ``'a'`` characters), ``'cat'`` "
340349
"(1 ``'a'``), ``'caaat'`` (3 ``'a'`` characters), and so forth."
341350
msgstr ""
342-
"例えば、 ``ca*t`` は ``'ct'`` ( ``'a'`` という文字が 0 個の場合)、 ``'cat'`` (``'a'`` "
343-
"が1個の場合)、 ``'caaat'`` (``'a'`` が3個の場合)、などにマッチします。"
351+
"例えば、 ``ca*t`` は ``'ct'`` (文字 ``'a'`` 0 )、 ``'cat'`` (``'a'`` が 1 個)、 "
352+
"``'caaat'`` (``'a'`` が 3 個)、などにマッチします。"
344353

345354
#: ../../howto/regex.rst:178
346355
msgid ""

library/collections.po

+36-9
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,9 @@ msgid ""
482482
":meth:`~Counter.update` and :meth:`~Counter.subtract` which allow negative "
483483
"and zero values for both inputs and outputs."
484484
msgstr ""
485+
"``c[key] += 1`` のようなインプレース演算では、値の型に必要なのは 足し算と引き算ができることだけです。よって分数、浮動小数点数、 "
486+
"小数も使え、負の値がサポートされています。これと同じことが、 負や 0 の値を入力と出力に許す :meth:`~Counter.update` と "
487+
":meth:`~Counter.subtract` メソッド にも言えます。"
485488

486489
#: ../../library/collections.rst:384
487490
msgid ""
@@ -746,6 +749,9 @@ msgid ""
746749
":meth:`~deque.popleft`; otherwise, it can be cycled back to the end with the"
747750
" :meth:`~deque.rotate` method::"
748751
msgstr ""
752+
"`ラウンドロビンスケジューラ <https://en.wikipedia.org/wiki/Round-robin_scheduling>`_ は、入力されたイテレータを :class:`deque` に格納することで実装できます。\n"
753+
"値は、位置0にある選択中のイテレータから取り出されます。\n"
754+
"そのイテレータが値を出し切った場合は、 :meth:`~deque.popleft` で除去できます; そうでない場合は、 :meth:`~deque.rotate` メソッドで末尾に回せます::"
749755

750756
#: ../../library/collections.rst:659
751757
msgid ""
@@ -997,6 +1003,9 @@ msgid ""
9971003
"``x`` will be a required argument, ``y`` will default to ``1``, and ``z`` "
9981004
"will default to ``2``."
9991005
msgstr ""
1006+
"*defaults* には ``None`` あるいはデフォルト値の :term:`iterable` が指定できます。\n"
1007+
"デフォルト値を持つフィールドはデフォルト値を持たないフィールドより後ろに来なければならないので、 *defaults* は最も右にある変数に適用されます。\n"
1008+
"例えば、 field_names が ``['x', 'y', 'z']`` で defaults が ``(1, 2)`` の場合、 ``x`` は必須の引数、 ``y`` は ``1`` がデフォルト、 ``z`` は ``2`` がデフォルトとなります。"
10001009

10011010
#: ../../library/collections.rst:834
10021011
msgid ""
@@ -1059,7 +1068,7 @@ msgstr "既存の sequence や Iterable から新しいインスタンスを作
10591068
msgid ""
10601069
"Return a new :class:`dict` which maps field names to their corresponding "
10611070
"values:"
1062-
msgstr "フィールド名を対応する値にマッピングする新しい:class:`dict` を返します::"
1071+
msgstr "フィールド名を対応する値にマッピングする新しい :class:`dict` を返します::"
10631072

10641073
#: ../../library/collections.rst:914
10651074
msgid "Returns an :class:`OrderedDict` instead of a regular :class:`dict`."
@@ -1179,23 +1188,29 @@ msgid ""
11791188
"remember insertion order (this new behavior became guaranteed in Python "
11801189
"3.7)."
11811190
msgstr ""
1191+
"順序付き辞書は普通の辞書のようですが、順序操作に関係する追加の機能があります。\n"
1192+
"組み込みの :class:`dict` クラスが挿入順序を記憶しておく機能 (この新しい振る舞いは Python 3.7 で保証されるようになりました) を獲得した今となっては、順序付き辞書の重要性は薄れました。"
11821193

11831194
#: ../../library/collections.rst:1041
11841195
msgid "Some differences from :class:`dict` still remain:"
1185-
msgstr ""
1196+
msgstr "いまだ残っている :class:`dict` との差分:"
11861197

11871198
#: ../../library/collections.rst:1043
11881199
msgid ""
11891200
"The regular :class:`dict` was designed to be very good at mapping "
11901201
"operations. Tracking insertion order was secondary."
11911202
msgstr ""
1203+
"通常の :class:`dict` は対応付けに向いているように設計されました。\n"
1204+
"挿入順序の追跡は二の次です。"
11921205

11931206
#: ../../library/collections.rst:1046
11941207
msgid ""
11951208
"The :class:`OrderedDict` was designed to be good at reordering operations. "
11961209
"Space efficiency, iteration speed, and the performance of update operations "
11971210
"were secondary."
11981211
msgstr ""
1212+
":class:`OrderedDict` は並べ替え操作に向いているように設計されました。\n"
1213+
"空間効率、反復処理の速度、更新操作のパフォーマンスは二の次です。"
11991214

12001215
#: ../../library/collections.rst:1050
12011216
msgid ""
@@ -1205,33 +1220,38 @@ msgid ""
12051220
"<https://medium.com/@krishankantsinghal/my-first-blog-on-"
12061221
"medium-583159139237>`_)."
12071222
msgstr ""
1223+
"アルゴリズム的に、 :class:`OrderedDict` は高頻度の並べ替え操作を :class:`dict` よりも上手く扱えます。\n"
1224+
"この性質により、 :class:`OrderedDict` は直近のアクセスの追跡 (例えば、 `LRU キャッシュ <https://medium.com/@krishankantsinghal/my-first-blog-on-medium-583159139237>`_) に向いています。"
12081225

12091226
#: ../../library/collections.rst:1055
12101227
msgid ""
12111228
"The equality operation for :class:`OrderedDict` checks for matching order."
1212-
msgstr ""
1229+
msgstr ":class:`OrderedDict` に対する等価演算は突き合わせ順序もチェックします。"
12131230

12141231
#: ../../library/collections.rst:1057
12151232
msgid ""
12161233
"The :meth:`popitem` method of :class:`OrderedDict` has a different "
12171234
"signature. It accepts an optional argument to specify which item is popped."
12181235
msgstr ""
1236+
":class:`OrderedDict` の :meth:`popitem` メソッドはシグネチャが異なります。\n"
1237+
"どの要素を取り出すかを指定するオプション引数を受け付けます。"
12191238

12201239
#: ../../library/collections.rst:1060
12211240
msgid ""
12221241
":class:`OrderedDict` has a :meth:`move_to_end` method to efficiently "
12231242
"reposition an element to an endpoint."
12241243
msgstr ""
1244+
":class:`OrderedDict` には、 効率的に要素を末尾に置き直す :meth:`move_to_end` メソッドがあります。"
12251245

12261246
#: ../../library/collections.rst:1063
12271247
msgid "Until Python 3.8, :class:`dict` lacked a :meth:`__reversed__` method."
1228-
msgstr ""
1248+
msgstr "Python 3.8 以前は、 :class:`dict` には :meth:`__reversed__` メソッドが欠けています。"
12291249

12301250
#: ../../library/collections.rst:1068
12311251
msgid ""
12321252
"Return an instance of a :class:`dict` subclass that has methods specialized "
12331253
"for rearranging dictionary order."
1234-
msgstr ""
1254+
msgstr "辞書の順序を並べ直すためのメソッドを持つ :class:`dict` のサブクラスのインスタンスを返します。"
12351255

12361256
#: ../../library/collections.rst:1075
12371257
msgid ""
@@ -1241,8 +1261,8 @@ msgid ""
12411261
" false."
12421262
msgstr ""
12431263
"順序付き辞書の :meth:`popitem` メソッドは、(key, value) 対を返して消去します。この対は *last* が真なら "
1244-
":abbr:`LIFO(last-in, first-out 後入先出)` で、偽なら :abbr:`FIFO` (first-in, first-"
1245-
"out 先入先出)` で返されます。"
1264+
":abbr:`LIFO (last-in, first-out, 後入先出)` で、偽なら :abbr:`FIFO (first-in, first-"
1265+
"out, 先入先出)` で返されます。"
12461266

12471267
#: ../../library/collections.rst:1082
12481268
msgid ""
@@ -1301,12 +1321,15 @@ msgid ""
13011321
"existing entry, the original insertion position is changed and moved to the "
13021322
"end::"
13031323
msgstr ""
1324+
"キーが *最後に* 追加されたときの順序を記憶する、順序付き辞書の変種を作るのは簡単です。\n"
1325+
"新しい値が既存の値を上書きする場合、元々の挿入位置が最後尾へ変更されます::"
13041326

13051327
#: ../../library/collections.rst:1131
13061328
msgid ""
13071329
"An :class:`OrderedDict` would also be useful for implementing variants of "
13081330
":func:`functools.lru_cache`::"
13091331
msgstr ""
1332+
":class:`OrderedDict` は :func:`functools.lru_cache` の変種を実装するのにも役に立ちます::"
13101333

13111334
#: ../../library/collections.rst:1154
13121335
msgid ":class:`UserDict` objects"
@@ -1436,18 +1459,22 @@ msgid ""
14361459
"to a copy of *seq*. The *seq* argument can be any object which can be "
14371460
"converted into a string using the built-in :func:`str` function."
14381461
msgstr ""
1462+
"文字列オブジェクトをシミュレートするクラスです。\n"
1463+
"インスタンスの内容は通常の文字列に保存され、 :class:`UserString` インスタンスの :attr:`data` 属性を通してアクセスできます。\n"
1464+
"インスタンスの内容には最初に *seq* のコピーが設定されます。\n"
1465+
"*seq* 引数は、組み込みの :func:`str` 関数で文字列に変換できる任意のオブジェクトです。"
14391466

14401467
#: ../../library/collections.rst:1238
14411468
msgid ""
14421469
"In addition to supporting the methods and operations of strings, "
14431470
":class:`UserString` instances provide the following attribute:"
1444-
msgstr ""
1471+
msgstr "文字列のメソッドと演算をサポートするのに加え、 :class:`UserString` インスタンスは次の属性を提供します:"
14451472

14461473
#: ../../library/collections.rst:1243
14471474
msgid ""
14481475
"A real :class:`str` object used to store the contents of the "
14491476
":class:`UserString` class."
1450-
msgstr ""
1477+
msgstr ":class:`UserString` クラスの内容を保存するために使われる実際の :class:`str` オブジェクトです。"
14511478

14521479
#: ../../library/collections.rst:1246
14531480
msgid ""

0 commit comments

Comments
 (0)