Skip to content

Commit cd8130f

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 71bcc90 commit cd8130f

File tree

12 files changed

+6908
-6871
lines changed

12 files changed

+6908
-6871
lines changed

library/argparse.po

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,12 +1095,18 @@ msgid ""
10951095
"keyword for :meth:`~ArgumentParser.add_argument` allows any necessary type-"
10961096
"checking and type conversions to be performed."
10971097
msgstr ""
1098+
"デフォルトでは、:class:`ArgumentParser` "
1099+
"オブジェクトはコマンドライン引数を単なる文字列として読み込みます。しかし、それらの文字列を :class:`float`, :class:`int` "
1100+
"など別の型として扱うべき事がよくあります。:meth:`~ArgumentParser.add_argument` の ``type`` "
1101+
"キーワード引数に指定する type converter により、必要な型チェックと型変換を行うことができます。"
10981102

10991103
#: ../../library/argparse.rst:1059
11001104
msgid ""
11011105
"If the type_ keyword is used with the default_ keyword, the type converter "
11021106
"is only applied if the default is a string."
11031107
msgstr ""
1108+
"もし type_ キーワードが default_ キーワードとともに使用された場合、default_ の値が文字列のときのみ、type "
1109+
"converter による変換などが行われます。"
11041110

11051111
#: ../../library/argparse.rst:1062
11061112
msgid ""
@@ -1109,21 +1115,27 @@ msgid ""
11091115
":exc:`ValueError`, the exception is caught and a nicely formatted error "
11101116
"message is displayed. No other exception types are handled."
11111117
msgstr ""
1118+
"``type`` キーワードの引数として、単一の文字列を受け取るような任意の呼び出しオブジェクト (callable) が使用できます。もし呼び出しが "
1119+
":exc:`ArgumentTypeError`, :exc:`TypeError`, または :exc:`ValueError` "
1120+
"型の例外を送出した場合は、parser がそれをキャッチして適切なエラーメッセージが表示されます。それ以外の型の例外は処理されません。"
11121121

11131122
#: ../../library/argparse.rst:1067
11141123
msgid "Common built-in types and functions can be used as type converters:"
1115-
msgstr ""
1124+
msgstr "一般的なビルトインデータ型や関数を ``type`` 引数の値として直接指定できます::"
11161125

11171126
#: ../../library/argparse.rst:1083
11181127
msgid "User defined functions can be used as well:"
1119-
msgstr ""
1128+
msgstr "ユーザが定義した関数も使用できます::"
11201129

11211130
#: ../../library/argparse.rst:1095
11221131
msgid ""
11231132
"The :func:`bool` function is not recommended as a type converter. All it "
11241133
"does is convert empty strings to ``False`` and non-empty strings to "
11251134
"``True``. This is usually not what is desired."
11261135
msgstr ""
1136+
"Type converter として :func:`bool` 関数を使用することは推奨されません。なぜなら、これは空文字列を ``False`` "
1137+
"に、それ以外の全てを ``True`` に変換しますが、これはおそらく望まれる動作ではないからです (訳注: 文字列 ``'false'`` を "
1138+
"``False`` に変換してくれたりはしません)。"
11271139

11281140
#: ../../library/argparse.rst:1099
11291141
msgid ""
@@ -1155,6 +1167,8 @@ msgid ""
11551167
"For type checkers that simply check against a fixed set of values, consider "
11561168
"using the choices_ keyword instead."
11571169
msgstr ""
1170+
"なお、引数が、あらかじめ決められた値の候補のいずれかに一致するかをチェックしたいだけの場合には、代わりに choices_ "
1171+
"キーワードの使用を検討してください。"
11581172

11591173
#: ../../library/argparse.rst:1120
11601174
msgid "choices"

library/bz2.po

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# E. Kawashima, 2017
1414
# Masato HASHIMOTO <cabezon.hashimoto@gmail.com>, 2017
1515
# Osamu NAKAMURA, 2017
16-
# tomo, 2020
16+
# tomo, 2021
1717
#
1818
#, fuzzy
1919
msgid ""
@@ -22,7 +22,7 @@ msgstr ""
2222
"Report-Msgid-Bugs-To: \n"
2323
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
2424
"PO-Revision-Date: 2017-02-16 19:36+0000\n"
25-
"Last-Translator: tomo, 2020\n"
25+
"Last-Translator: tomo, 2021\n"
2626
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2727
"MIME-Version: 1.0\n"
2828
"Content-Type: text/plain; charset=UTF-8\n"
@@ -259,10 +259,12 @@ msgid ""
259259
"since Python 3.0. Pass an open file object to control how the file is "
260260
"opened."
261261
msgstr ""
262+
"*buffering* パラメータは削除されました。 Python 3.0 "
263+
"からは無視され非推奨となっています。開かれたファイルオブジェクトを渡し、ファイルの開きかたを制御します。"
262264

263265
#: ../../library/bz2.rst:141
264266
msgid "The *compresslevel* parameter became keyword-only."
265-
msgstr ""
267+
msgstr "*compresslevel* パラメータはキーワード専用になりました。"
266268

267269
#: ../../library/bz2.rst:145
268270
msgid "Incremental (de)compression"

library/dataclasses.po

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Osamu NAKAMURA, 2019
7+
# Osamu NAKAMURA, 2018
88
# tomo, 2020
99
# Takanori Suzuki <takanori@takanory.net>, 2021
1010
#
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.9\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2021-04-27 06:12+0000\n"
16+
"POT-Creation-Date: 2021-05-07 06:17+0000\n"
1717
"PO-Revision-Date: 2018-06-29 21:06+0000\n"
1818
"Last-Translator: Takanori Suzuki <takanori@takanory.net>, 2021\n"
1919
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -44,13 +44,12 @@ msgstr ""
4444
#: ../../library/dataclasses.rst:19
4545
msgid ""
4646
"The member variables to use in these generated methods are defined using "
47-
":pep:`526` type annotations. For example this code::"
47+
":pep:`526` type annotations. For example, this code::"
4848
msgstr ""
49-
"これらの生成されたメソッドで利用されるメンバー変数は :pep:`526` 型アノテーションを用いて定義されます。例えば、このコードでは::"
5049

5150
#: ../../library/dataclasses.rst:34
52-
msgid "Will add, among other things, a :meth:`__init__` that looks like::"
53-
msgstr "とりわけ、以下のような :meth:`__init__` が追加されます::"
51+
msgid "will add, among other things, a :meth:`__init__` that looks like::"
52+
msgstr ""
5453

5554
#: ../../library/dataclasses.rst:41
5655
msgid ""
@@ -73,13 +72,10 @@ msgstr "この関数は、後述する :term:`special method` を生成し、ク
7372
#: ../../library/dataclasses.rst:54
7473
msgid ""
7574
"The :func:`dataclass` decorator examines the class to find ``field``\\s. A "
76-
"``field`` is defined as class variable that has a :term:`type annotation "
75+
"``field`` is defined as a class variable that has a :term:`type annotation "
7776
"<variable annotation>`. With two exceptions described below, nothing in "
7877
":func:`dataclass` examines the type specified in the variable annotation."
7978
msgstr ""
80-
":func:`dataclass` デコレータは、``フィールド`` を探すためにクラスを検査します。\n"
81-
"``フィールド`` は :term:`型アノテーション <variable annotation>` を持つクラス変数として定義されます。\n"
82-
"後述する2つの例外を除き、 :func:`dataclass` は変数アノテーションで指定した型を検査しません。"
8379

8480
#: ../../library/dataclasses.rst:60
8581
msgid ""
@@ -90,13 +86,11 @@ msgstr "生成されるすべてのメソッドの中でのフィールドの順
9086
#: ../../library/dataclasses.rst:63
9187
msgid ""
9288
"The :func:`dataclass` decorator will add various \"dunder\" methods to the "
93-
"class, described below. If any of the added methods already exist on the "
89+
"class, described below. If any of the added methods already exist in the "
9490
"class, the behavior depends on the parameter, as documented below. The "
95-
"decorator returns the same class that is called on; no new class is created."
91+
"decorator returns the same class that it is called on; no new class is "
92+
"created."
9693
msgstr ""
97-
":func:`dataclass` デコレータは、後述する様々な \"ダンダー\" メソッド (訳注:dunderはdouble "
98-
"underscoreの略で、メソッド名の前後にアンダースコアが2つ付いているメソッド) "
99-
"をクラスに追加します。クラスに既にこれらのメソッドが存在する場合の動作は、後述する引数によって異なります。デコレータは呼び出した際に指定したクラスと同じクラスを返します。新しいクラスは生成されません。"
10094

10195
#: ../../library/dataclasses.rst:69
10296
msgid ""
@@ -276,11 +270,9 @@ msgstr ""
276270
#: ../../library/dataclasses.rst:177
277271
msgid ""
278272
":exc:`TypeError` will be raised if a field without a default value follows a"
279-
" field with a default value. This is true either when this occurs in a "
280-
"single class, or as a result of class inheritance."
273+
" field with a default value. This is true whether this occurs in a single "
274+
"class, or as a result of class inheritance."
281275
msgstr ""
282-
"デフォルト値を指定しないフィールドを、デフォルト値を指定したフィールドの後ろに定義すると、 :exc:`TypeError` "
283-
"が送出されます。これは、単一のクラスであっても、クラス継承の結果でも起きえます。"
284276

285277
#: ../../library/dataclasses.rst:183
286278
msgid ""
@@ -525,14 +517,11 @@ msgstr "は、次のコードと等しいです::"
525517

526518
#: ../../library/dataclasses.rst:364
527519
msgid ""
528-
"Creates a new object of the same type of ``instance``, replacing fields with"
520+
"Creates a new object of the same type as ``instance``, replacing fields with"
529521
" values from ``changes``. If ``instance`` is not a Data Class, raises "
530522
":exc:`TypeError`. If values in ``changes`` do not specify fields, raises "
531523
":exc:`TypeError`."
532524
msgstr ""
533-
"``instance`` と同じ型のオブジェクトを新しく作成し、フィールドを ``changes`` にある値で置き換えます。\n"
534-
"``instance`` がデータクラスではなかった場合、 :exc:`TypeError` を送出します。\n"
535-
"``changes`` にある値がフィールドを指定していなかった場合も、 :exc:`TypeError` を送出します。"
536525

537526
#: ../../library/dataclasses.rst:369
538527
msgid ""

library/keyword.po

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# Arihiro TAKASE, 2017
88
# Tetsuo Koyama <tkoyama010@gmail.com>, 2020
9+
# tomo, 2021
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
1617
"PO-Revision-Date: 2017-02-16 23:16+0000\n"
17-
"Last-Translator: Tetsuo Koyama <tkoyama010@gmail.com>, 2020\n"
18+
"Last-Translator: tomo, 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"
@@ -35,7 +36,7 @@ msgid ""
3536
"This module allows a Python program to determine if a string is a "
3637
":ref:`keyword <keywords>`."
3738
msgstr ""
38-
"このモジュールでは、Python プログラムで文字列が :ref:`キーワード <keywords>`か否かをチェックする機能を提供します。"
39+
"このモジュールでは、Python プログラムで文字列が :ref:`キーワード <keywords>` か否かをチェックする機能を提供します。"
3940

4041
#: ../../library/keyword.rst:17
4142
msgid "Return ``True`` if *s* is a Python :ref:`keyword <keywords>`."
@@ -52,7 +53,7 @@ msgstr ""
5253

5354
#: ../../library/keyword.rst:29
5455
msgid "Return ``True`` if *s* is a Python soft :ref:`keyword <keywords>`."
55-
msgstr ""
56+
msgstr "*s* が Python のソフト :ref:`キーワード <keywords>` であれば ``True`` を返します。"
5657

5758
#: ../../library/keyword.rst:36
5859
msgid ""
@@ -61,3 +62,5 @@ msgid ""
6162
"particular :mod:`__future__` statements are in effect, these will be "
6263
"included as well."
6364
msgstr ""
65+
"インタープリタで定義している全てのソフト :ref:`キーワード <keywords>` のシーケンス。特定の :mod:`__future__` "
66+
"宣言がなければ有効ではないソフトキーワードでもこのリストには含まれます。"

library/mailbox.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Takeshi Fujiwara <1.800.takeshi@gmail.com>, 2017
1010
# 秘湯 <xwhhsprings@gmail.com>, 2017
1111
# Arihiro TAKASE, 2017
12-
# tomo, 2019
12+
# tomo, 2021
1313
#
1414
#, fuzzy
1515
msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818
"Report-Msgid-Bugs-To: \n"
1919
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
2020
"PO-Revision-Date: 2017-02-16 23:17+0000\n"
21-
"Last-Translator: tomo, 2019\n"
21+
"Last-Translator: tomo, 2021\n"
2222
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2323
"MIME-Version: 1.0\n"
2424
"Content-Type: text/plain; charset=UTF-8\n"
@@ -613,7 +613,7 @@ msgstr ""
613613
msgid ""
614614
"A specification of the format. Describes a common extension for supporting "
615615
"folders."
616-
msgstr ""
616+
msgstr "Maildir 形式の仕様。フォルダをサポートする一般的な拡張について記述されています。"
617617

618618
#: ../../library/mailbox.rst:434
619619
msgid "`Using maildir format <https://cr.yp.to/proto/maildir.html>`_"
@@ -703,7 +703,7 @@ msgstr ""
703703

704704
#: ../../library/mailbox.rst:486
705705
msgid "A specification of the format, with details on locking."
706-
msgstr ""
706+
msgstr "mbox 形式の仕様でロックについての詳細を含む。"
707707

708708
#: ../../library/mailbox.rst:489
709709
msgid ""

0 commit comments

Comments
 (0)